Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-06 23:59:02.646380
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/08/23/image_13062025_08_24_04_10276.jpg', 2), ('/mnt/data/13062025/08/23/image_13062025_08_23_54_9958.jpg', 2), ('/mnt/data/13062025/08/22/image_13062025_08_22_45_10080.jpg', 2), ('/mnt/data/13062025/08/22/image_13062025_08_22_35_10101.jpg', 2), ('/mnt/data/13062025/08/22/image_13062025_08_22_25_10105.jpg', 2), ('/mnt/data/13062025/08/22/image_13062025_08_22_15_10128.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/08/23/image_13062025_08_24_04_10276.jpg', '/mnt/data/13062025/08/23/image_13062025_08_23_54_9958.jpg', '/mnt/data/13062025/08/22/image_13062025_08_22_45_10080.jpg', '/mnt/data/13062025/08/22/image_13062025_08_22_35_10101.jpg', '/mnt/data/13062025/08/22/image_13062025_08_22_25_10105.jpg', '/mnt/data/13062025/08/22/image_13062025_08_22_15_10128.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/08/23/image_13062025_08_24_04_10276.jpg', '/mnt/data/13062025/08/23/image_13062025_08_23_54_9958.jpg', '/mnt/data/13062025/08/22/image_13062025_08_22_45_10080.jpg', '/mnt/data/13062025/08/22/image_13062025_08_22_35_10101.jpg', '/mnt/data/13062025/08/22/image_13062025_08_22_25_10105.jpg', '/mnt/data/13062025/08/22/image_13062025_08_22_15_10128.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/08/23/image_13062025_08_24_04_10276.jpg
/mnt/data/13062025/08/23/image_13062025_08_23_54_9958.jpg
/mnt/data/13062025/08/22/image_13062025_08_22_45_10080.jpg
/mnt/data/13062025/08/22/image_13062025_08_22_35_10101.jpg
/mnt/data/13062025/08/22/image_13062025_08_22_25_10105.jpg
/mnt/data/13062025/08/22/image_13062025_08_22_15_10128.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375549107","1375549097","1375549109","1375549102","1375549105","1375549104"],"photo_ids_order":["1375549097","1375549102","1375549104","1375549105","1375549107","1375549109"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/0a5497f6b9caa7a273a15d0af4cdba84.jpg","text":"TemporaryFile(/tmp/multipartBody5604145711139431040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754517619931,"filename":"image_13062025_08_22_25_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/7/e7ffd02ccf4eca49270cab03a42dc7cf.jpg","text":"TemporaryFile(/tmp/multipartBody397236066270683735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754517619931,"filename":"image_13062025_08_24_04_10276.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/3067d023c22065dc678bafff8ebed2fa.jpg","text":"TemporaryFile(/tmp/multipartBody7679032045511986644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754517619931,"filename":"image_13062025_08_22_15_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/7/dde91ba9406a937c10081ce17bf65a06.jpg","text":"TemporaryFile(/tmp/multipartBody8177534241496492081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754517619931,"filename":"image_13062025_08_23_54_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/7/cae67ea1426f1627d16b41bac02757f5.jpg","text":"TemporaryFile(/tmp/multipartBody4670732589656705577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754517619931,"filename":"image_13062025_08_22_35_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/7/3d1496901c9574de24b4b5c3f8cfab9c.jpg","text":"TemporaryFile(/tmp/multipartBody3816378802886141577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754517619931,"filename":"image_13062025_08_22_45_10080.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375549104","file1":"1375549102","file0":"1375549097","file4":"1375549107","file5":"1375549109","file3":"1375549105"},"map_files_photo_id_array":[{"photo_id":"1375549109","filename":"file5"},{"photo_id":"1375549104","filename":"file2"},{"photo_id":"1375549107","filename":"file4"},{"photo_id":"1375549102","filename":"file1"},{"photo_id":"1375549097","filename":"file0"},{"photo_id":"1375549105","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375549107":["hashtag1","hashtag2"]},{"1375549097":["hashtag1","hashtag2"]},{"1375549109":["hashtag1","hashtag2"]},{"1375549102":["hashtag1","hashtag2"]},{"1375549105":["hashtag1","hashtag2"]},{"1375549104":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375549107, 1375549097, 1375549109, 1375549102, 1375549105, 1375549104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.20506834983826 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:00:02.533167
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/08/21/image_13062025_08_22_04_10185.jpg', 2), ('/mnt/data/13062025/08/21/image_13062025_08_21_54_10106.jpg', 2), ('/mnt/data/13062025/08/21/image_13062025_08_21_44_10246.jpg', 2), ('/mnt/data/13062025/08/21/image_13062025_08_21_25_10200.jpg', 2), ('/mnt/data/13062025/08/21/image_13062025_08_21_15_10123.jpg', 2), ('/mnt/data/13062025/08/20/image_13062025_08_21_05_10182.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/08/21/image_13062025_08_22_04_10185.jpg', '/mnt/data/13062025/08/21/image_13062025_08_21_54_10106.jpg', '/mnt/data/13062025/08/21/image_13062025_08_21_44_10246.jpg', '/mnt/data/13062025/08/21/image_13062025_08_21_25_10200.jpg', '/mnt/data/13062025/08/21/image_13062025_08_21_15_10123.jpg', '/mnt/data/13062025/08/20/image_13062025_08_21_05_10182.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/08/21/image_13062025_08_22_04_10185.jpg', '/mnt/data/13062025/08/21/image_13062025_08_21_54_10106.jpg', '/mnt/data/13062025/08/21/image_13062025_08_21_44_10246.jpg', '/mnt/data/13062025/08/21/image_13062025_08_21_25_10200.jpg', '/mnt/data/13062025/08/21/image_13062025_08_21_15_10123.jpg', '/mnt/data/13062025/08/20/image_13062025_08_21_05_10182.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/08/21/image_13062025_08_22_04_10185.jpg
/mnt/data/13062025/08/21/image_13062025_08_21_54_10106.jpg
/mnt/data/13062025/08/21/image_13062025_08_21_44_10246.jpg
/mnt/data/13062025/08/21/image_13062025_08_21_25_10200.jpg
/mnt/data/13062025/08/21/image_13062025_08_21_15_10123.jpg
/mnt/data/13062025/08/20/image_13062025_08_21_05_10182.jpg
uploaded 0 photos
time to upload: 34.88789916038513 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:01:03.097544
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_07082025
 fc.token : 85213b338a7900a79945692114f14db2
True
533
3467220
533
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 5 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/01/image_07082025_00_01_17_10086.jpg', 2), ('/mnt/data/07082025/00/00/image_07082025_00_00_45_10028.jpg', 2), ('/mnt/data/07082025/00/00/image_07082025_00_00_35_9917.jpg', 2), ('/mnt/data/07082025/00/00/image_07082025_00_00_25_10024.jpg', 2), ('/mnt/data/07082025/00/00/image_07082025_00_00_15_11123.jpg', 2)]
{'portfolio_id': 25751410, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1754517723000}
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/01/image_07082025_00_01_17_10086.jpg', '/mnt/data/07082025/00/00/image_07082025_00_00_45_10028.jpg', '/mnt/data/07082025/00/00/image_07082025_00_00_35_9917.jpg', '/mnt/data/07082025/00/00/image_07082025_00_00_25_10024.jpg', '/mnt/data/07082025/00/00/image_07082025_00_00_15_11123.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/01/image_07082025_00_01_17_10086.jpg', '/mnt/data/07082025/00/00/image_07082025_00_00_45_10028.jpg', '/mnt/data/07082025/00/00/image_07082025_00_00_35_9917.jpg', '/mnt/data/07082025/00/00/image_07082025_00_00_25_10024.jpg', '/mnt/data/07082025/00/00/image_07082025_00_00_15_11123.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/01/image_07082025_00_01_17_10086.jpg
/mnt/data/07082025/00/00/image_07082025_00_00_45_10028.jpg
/mnt/data/07082025/00/00/image_07082025_00_00_35_9917.jpg
/mnt/data/07082025/00/00/image_07082025_00_00_25_10024.jpg
/mnt/data/07082025/00/00/image_07082025_00_00_15_11123.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 139.7346534729004 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-07 00:04:03.018441
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/03/image_07082025_00_03_44_9998.jpg', 2), ('/mnt/data/07082025/00/03/image_07082025_00_03_34_9949.jpg', 2), ('/mnt/data/07082025/00/03/image_07082025_00_03_24_9971.jpg', 2), ('/mnt/data/07082025/00/03/image_07082025_00_03_14_9991.jpg', 2), ('/mnt/data/07082025/00/02/image_07082025_00_03_05_10073.jpg', 2), ('/mnt/data/07082025/00/02/image_07082025_00_02_54_10145.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/03/image_07082025_00_03_44_9998.jpg', '/mnt/data/07082025/00/03/image_07082025_00_03_34_9949.jpg', '/mnt/data/07082025/00/03/image_07082025_00_03_24_9971.jpg', '/mnt/data/07082025/00/03/image_07082025_00_03_14_9991.jpg', '/mnt/data/07082025/00/02/image_07082025_00_03_05_10073.jpg', '/mnt/data/07082025/00/02/image_07082025_00_02_54_10145.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/03/image_07082025_00_03_44_9998.jpg', '/mnt/data/07082025/00/03/image_07082025_00_03_34_9949.jpg', '/mnt/data/07082025/00/03/image_07082025_00_03_24_9971.jpg', '/mnt/data/07082025/00/03/image_07082025_00_03_14_9991.jpg', '/mnt/data/07082025/00/02/image_07082025_00_03_05_10073.jpg', '/mnt/data/07082025/00/02/image_07082025_00_02_54_10145.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/03/image_07082025_00_03_44_9998.jpg
/mnt/data/07082025/00/03/image_07082025_00_03_34_9949.jpg
/mnt/data/07082025/00/03/image_07082025_00_03_24_9971.jpg
/mnt/data/07082025/00/03/image_07082025_00_03_14_9991.jpg
/mnt/data/07082025/00/02/image_07082025_00_03_05_10073.jpg
/mnt/data/07082025/00/02/image_07082025_00_02_54_10145.jpg
uploaded 0 photos
time to upload: 30.201847553253174 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:05:02.840663
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/04/image_07082025_00_04_45_10191.jpg', 2), ('/mnt/data/07082025/00/04/image_07082025_00_04_35_10036.jpg', 2), ('/mnt/data/07082025/00/04/image_07082025_00_04_25_9997.jpg', 2), ('/mnt/data/07082025/00/04/image_07082025_00_04_15_9979.jpg', 2), ('/mnt/data/07082025/00/03/image_07082025_00_04_05_10090.jpg', 2), ('/mnt/data/07082025/00/03/image_07082025_00_03_54_10021.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/04/image_07082025_00_04_45_10191.jpg', '/mnt/data/07082025/00/04/image_07082025_00_04_35_10036.jpg', '/mnt/data/07082025/00/04/image_07082025_00_04_25_9997.jpg', '/mnt/data/07082025/00/04/image_07082025_00_04_15_9979.jpg', '/mnt/data/07082025/00/03/image_07082025_00_04_05_10090.jpg', '/mnt/data/07082025/00/03/image_07082025_00_03_54_10021.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/04/image_07082025_00_04_45_10191.jpg', '/mnt/data/07082025/00/04/image_07082025_00_04_35_10036.jpg', '/mnt/data/07082025/00/04/image_07082025_00_04_25_9997.jpg', '/mnt/data/07082025/00/04/image_07082025_00_04_15_9979.jpg', '/mnt/data/07082025/00/03/image_07082025_00_04_05_10090.jpg', '/mnt/data/07082025/00/03/image_07082025_00_03_54_10021.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/04/image_07082025_00_04_45_10191.jpg
/mnt/data/07082025/00/04/image_07082025_00_04_35_10036.jpg
/mnt/data/07082025/00/04/image_07082025_00_04_25_9997.jpg
/mnt/data/07082025/00/04/image_07082025_00_04_15_9979.jpg
/mnt/data/07082025/00/03/image_07082025_00_04_05_10090.jpg
/mnt/data/07082025/00/03/image_07082025_00_03_54_10021.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 5.236164569854736 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-07 00:06:02.548123
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/05/image_07082025_00_05_45_9990.jpg', 2), ('/mnt/data/07082025/00/05/image_07082025_00_05_35_9957.jpg', 2), ('/mnt/data/07082025/00/05/image_07082025_00_05_25_10032.jpg', 2), ('/mnt/data/07082025/00/05/image_07082025_00_05_15_9943.jpg', 2), ('/mnt/data/07082025/00/04/image_07082025_00_05_05_10042.jpg', 2), ('/mnt/data/07082025/00/04/image_07082025_00_04_55_10010.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/05/image_07082025_00_05_45_9990.jpg', '/mnt/data/07082025/00/05/image_07082025_00_05_35_9957.jpg', '/mnt/data/07082025/00/05/image_07082025_00_05_25_10032.jpg', '/mnt/data/07082025/00/05/image_07082025_00_05_15_9943.jpg', '/mnt/data/07082025/00/04/image_07082025_00_05_05_10042.jpg', '/mnt/data/07082025/00/04/image_07082025_00_04_55_10010.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/05/image_07082025_00_05_45_9990.jpg', '/mnt/data/07082025/00/05/image_07082025_00_05_35_9957.jpg', '/mnt/data/07082025/00/05/image_07082025_00_05_25_10032.jpg', '/mnt/data/07082025/00/05/image_07082025_00_05_15_9943.jpg', '/mnt/data/07082025/00/04/image_07082025_00_05_05_10042.jpg', '/mnt/data/07082025/00/04/image_07082025_00_04_55_10010.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/05/image_07082025_00_05_45_9990.jpg
/mnt/data/07082025/00/05/image_07082025_00_05_35_9957.jpg
/mnt/data/07082025/00/05/image_07082025_00_05_25_10032.jpg
/mnt/data/07082025/00/05/image_07082025_00_05_15_9943.jpg
/mnt/data/07082025/00/04/image_07082025_00_05_05_10042.jpg
/mnt/data/07082025/00/04/image_07082025_00_04_55_10010.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375550472","1375550505","1375550496","1375550475","1375550484","1375550478"],"photo_ids_order":["1375550472","1375550475","1375550478","1375550484","1375550496","1375550505"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/628e9878b993ce01a5134e06383e1e0a.jpg","text":"TemporaryFile(/tmp/multipartBody3621208165801015627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518035900,"filename":"image_07082025_00_05_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/7/66e5250cbfd12bd2b7374ea60684338a.jpg","text":"TemporaryFile(/tmp/multipartBody6222182933275403067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518035900,"filename":"image_07082025_00_04_55_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/7/3f7c9e1d664d1cd314bddc22680b28de.jpg","text":"TemporaryFile(/tmp/multipartBody4123163998751610467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518035900,"filename":"image_07082025_00_05_05_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/7/189d78dd3bb0d764bad4e058622e8f8e.jpg","text":"TemporaryFile(/tmp/multipartBody607840302934165438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518035900,"filename":"image_07082025_00_05_35_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/7/4390f932255118871ae2eb05bd284a32.jpg","text":"TemporaryFile(/tmp/multipartBody1757016403014490208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518035900,"filename":"image_07082025_00_05_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/7/af16da03b5c833f4a0ced47e23bb7387.jpg","text":"TemporaryFile(/tmp/multipartBody4856923139614269185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518035900,"filename":"image_07082025_00_05_25_10032.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375550478","file1":"1375550475","file0":"1375550472","file4":"1375550496","file5":"1375550505","file3":"1375550484"},"map_files_photo_id_array":[{"photo_id":"1375550505","filename":"file5"},{"photo_id":"1375550478","filename":"file2"},{"photo_id":"1375550496","filename":"file4"},{"photo_id":"1375550475","filename":"file1"},{"photo_id":"1375550472","filename":"file0"},{"photo_id":"1375550484","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375550472":["hashtag1","hashtag2"]},{"1375550505":["hashtag1","hashtag2"]},{"1375550496":["hashtag1","hashtag2"]},{"1375550475":["hashtag1","hashtag2"]},{"1375550484":["hashtag1","hashtag2"]},{"1375550478":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375550472, 1375550505, 1375550496, 1375550475, 1375550484, 1375550478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.80954456329346 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:07:02.837976
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/06/image_07082025_00_06_44_10139.jpg', 2), ('/mnt/data/07082025/00/06/image_07082025_00_06_34_9072.jpg', 2), ('/mnt/data/07082025/00/06/image_07082025_00_06_25_10187.jpg', 2), ('/mnt/data/07082025/00/06/image_07082025_00_06_15_10610.jpg', 2), ('/mnt/data/07082025/00/05/image_07082025_00_06_04_9153.jpg', 2), ('/mnt/data/07082025/00/05/image_07082025_00_05_55_10119.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/06/image_07082025_00_06_44_10139.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_34_9072.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_25_10187.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_15_10610.jpg', '/mnt/data/07082025/00/05/image_07082025_00_06_04_9153.jpg', '/mnt/data/07082025/00/05/image_07082025_00_05_55_10119.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/06/image_07082025_00_06_44_10139.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_34_9072.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_25_10187.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_15_10610.jpg', '/mnt/data/07082025/00/05/image_07082025_00_06_04_9153.jpg', '/mnt/data/07082025/00/05/image_07082025_00_05_55_10119.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/06/image_07082025_00_06_44_10139.jpg
/mnt/data/07082025/00/06/image_07082025_00_06_34_9072.jpg
/mnt/data/07082025/00/06/image_07082025_00_06_25_10187.jpg
/mnt/data/07082025/00/06/image_07082025_00_06_15_10610.jpg
/mnt/data/07082025/00/05/image_07082025_00_06_04_9153.jpg
/mnt/data/07082025/00/05/image_07082025_00_05_55_10119.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 142.79434156417847 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-07 00:10:02.757271
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/09/image_07082025_00_09_44_10034.jpg', 2), ('/mnt/data/07082025/00/09/image_07082025_00_09_34_9962.jpg', 2), ('/mnt/data/07082025/00/09/image_07082025_00_09_24_9991.jpg', 2), ('/mnt/data/07082025/00/09/image_07082025_00_09_14_9987.jpg', 2), ('/mnt/data/07082025/00/08/image_07082025_00_09_04_10177.jpg', 2), ('/mnt/data/07082025/00/08/image_07082025_00_08_54_10080.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/09/image_07082025_00_09_44_10034.jpg', '/mnt/data/07082025/00/09/image_07082025_00_09_34_9962.jpg', '/mnt/data/07082025/00/09/image_07082025_00_09_24_9991.jpg', '/mnt/data/07082025/00/09/image_07082025_00_09_14_9987.jpg', '/mnt/data/07082025/00/08/image_07082025_00_09_04_10177.jpg', '/mnt/data/07082025/00/08/image_07082025_00_08_54_10080.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/09/image_07082025_00_09_44_10034.jpg', '/mnt/data/07082025/00/09/image_07082025_00_09_34_9962.jpg', '/mnt/data/07082025/00/09/image_07082025_00_09_24_9991.jpg', '/mnt/data/07082025/00/09/image_07082025_00_09_14_9987.jpg', '/mnt/data/07082025/00/08/image_07082025_00_09_04_10177.jpg', '/mnt/data/07082025/00/08/image_07082025_00_08_54_10080.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/09/image_07082025_00_09_44_10034.jpg
/mnt/data/07082025/00/09/image_07082025_00_09_34_9962.jpg
/mnt/data/07082025/00/09/image_07082025_00_09_24_9991.jpg
/mnt/data/07082025/00/09/image_07082025_00_09_14_9987.jpg
/mnt/data/07082025/00/08/image_07082025_00_09_04_10177.jpg
/mnt/data/07082025/00/08/image_07082025_00_08_54_10080.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375550777","1375550782","1375550842","1375550818","1375550772","1375550769"],"photo_ids_order":["1375550769","1375550772","1375550777","1375550782","1375550818","1375550842"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/ee1dd6b82a795d068f898a042387621d.jpg","text":"TemporaryFile(/tmp/multipartBody8967874505483381026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518272845,"filename":"image_07082025_00_09_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/7/4e2b2edd1399487abb1c506b904794e7.jpg","text":"TemporaryFile(/tmp/multipartBody921742956407176523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518272845,"filename":"image_07082025_00_09_14_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/7/409db80fcbf22154c811a3de4b89d496.jpg","text":"TemporaryFile(/tmp/multipartBody799801004664157429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518272845,"filename":"image_07082025_00_08_54_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/7/71506a7ca53f13e230fb78815bcfa1a3.jpg","text":"TemporaryFile(/tmp/multipartBody7571833442613290677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518272845,"filename":"image_07082025_00_09_04_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/7/f170237a05c812dda3fc4167d36daf22.jpg","text":"TemporaryFile(/tmp/multipartBody5539216627139150078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518272845,"filename":"image_07082025_00_09_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/7/006cb51f5026d9a297a203216eb6cac1.jpg","text":"TemporaryFile(/tmp/multipartBody8826853474960364332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518272845,"filename":"image_07082025_00_09_44_10034.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375550777","file1":"1375550772","file0":"1375550769","file4":"1375550818","file5":"1375550842","file3":"1375550782"},"map_files_photo_id_array":[{"photo_id":"1375550842","filename":"file5"},{"photo_id":"1375550777","filename":"file2"},{"photo_id":"1375550818","filename":"file4"},{"photo_id":"1375550772","filename":"file1"},{"photo_id":"1375550769","filename":"file0"},{"photo_id":"1375550782","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375550777":["hashtag1","hashtag2"]},{"1375550782":["hashtag1","hashtag2"]},{"1375550842":["hashtag1","hashtag2"]},{"1375550818":["hashtag1","hashtag2"]},{"1375550772":["hashtag1","hashtag2"]},{"1375550769":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375550777, 1375550782, 1375550842, 1375550818, 1375550772, 1375550769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.903745889663696 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:11:02.552960
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/10/image_07082025_00_10_24_10021.jpg', 2), ('/mnt/data/07082025/00/09/image_07082025_00_10_04_10050.jpg', 2), ('/mnt/data/07082025/00/09/image_07082025_00_09_54_10018.jpg', 2), ('/mnt/data/07082025/00/08/image_07082025_00_08_44_10000.jpg', 2), ('/mnt/data/07082025/00/08/image_07082025_00_08_25_10256.jpg', 2), ('/mnt/data/07082025/00/08/image_07082025_00_08_15_10171.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/10/image_07082025_00_10_24_10021.jpg', '/mnt/data/07082025/00/09/image_07082025_00_10_04_10050.jpg', '/mnt/data/07082025/00/09/image_07082025_00_09_54_10018.jpg', '/mnt/data/07082025/00/08/image_07082025_00_08_44_10000.jpg', '/mnt/data/07082025/00/08/image_07082025_00_08_25_10256.jpg', '/mnt/data/07082025/00/08/image_07082025_00_08_15_10171.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/10/image_07082025_00_10_24_10021.jpg', '/mnt/data/07082025/00/09/image_07082025_00_10_04_10050.jpg', '/mnt/data/07082025/00/09/image_07082025_00_09_54_10018.jpg', '/mnt/data/07082025/00/08/image_07082025_00_08_44_10000.jpg', '/mnt/data/07082025/00/08/image_07082025_00_08_25_10256.jpg', '/mnt/data/07082025/00/08/image_07082025_00_08_15_10171.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/10/image_07082025_00_10_24_10021.jpg
/mnt/data/07082025/00/09/image_07082025_00_10_04_10050.jpg
/mnt/data/07082025/00/09/image_07082025_00_09_54_10018.jpg
/mnt/data/07082025/00/08/image_07082025_00_08_44_10000.jpg
/mnt/data/07082025/00/08/image_07082025_00_08_25_10256.jpg
/mnt/data/07082025/00/08/image_07082025_00_08_15_10171.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375550856","1375550869","1375550860","1375550863","1375550866","1375550871"],"photo_ids_order":["1375550856","1375550860","1375550863","1375550866","1375550869","1375550871"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/4b8c56f3d43b6bed77e39eec836de9ab.jpg","text":"TemporaryFile(/tmp/multipartBody3261847713155898383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518342390,"filename":"image_07082025_00_10_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/7/4a5151422369164c686ce3b3ec6fc709.jpg","text":"TemporaryFile(/tmp/multipartBody2877689386123557002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518342390,"filename":"image_07082025_00_08_25_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/7/f3dad3f83a3c81ce4dd80342ccc33cc8.jpg","text":"TemporaryFile(/tmp/multipartBody3961527971143235555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518342390,"filename":"image_07082025_00_10_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/7/22dbef7c13275314f8f9f895f09abbcf.jpg","text":"TemporaryFile(/tmp/multipartBody8004259700999459006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518342390,"filename":"image_07082025_00_09_54_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/7/041906e71d9c15a9a1caa79b36aa8499.jpg","text":"TemporaryFile(/tmp/multipartBody7140448062533052144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518342390,"filename":"image_07082025_00_08_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/7/c750a4142c1cf828a5cde32bcab6bed8.jpg","text":"TemporaryFile(/tmp/multipartBody6104257681416670987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518342390,"filename":"image_07082025_00_08_15_10171.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375550863","file1":"1375550860","file0":"1375550856","file4":"1375550869","file5":"1375550871","file3":"1375550866"},"map_files_photo_id_array":[{"photo_id":"1375550871","filename":"file5"},{"photo_id":"1375550863","filename":"file2"},{"photo_id":"1375550869","filename":"file4"},{"photo_id":"1375550860","filename":"file1"},{"photo_id":"1375550856","filename":"file0"},{"photo_id":"1375550866","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375550856":["hashtag1","hashtag2"]},{"1375550869":["hashtag1","hashtag2"]},{"1375550860":["hashtag1","hashtag2"]},{"1375550863":["hashtag1","hashtag2"]},{"1375550866":["hashtag1","hashtag2"]},{"1375550871":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375550856, 1375550869, 1375550860, 1375550863, 1375550866, 1375550871)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 60.99180245399475 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:13:03.296573
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/12/image_07082025_00_12_45_10096.jpg', 2), ('/mnt/data/07082025/00/12/image_07082025_00_12_35_10172.jpg', 2), ('/mnt/data/07082025/00/12/image_07082025_00_12_24_9970.jpg', 2), ('/mnt/data/07082025/00/12/image_07082025_00_12_14_10220.jpg', 2), ('/mnt/data/07082025/00/11/image_07082025_00_12_04_10429.jpg', 2), ('/mnt/data/07082025/00/11/image_07082025_00_11_54_8951.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/12/image_07082025_00_12_45_10096.jpg', '/mnt/data/07082025/00/12/image_07082025_00_12_35_10172.jpg', '/mnt/data/07082025/00/12/image_07082025_00_12_24_9970.jpg', '/mnt/data/07082025/00/12/image_07082025_00_12_14_10220.jpg', '/mnt/data/07082025/00/11/image_07082025_00_12_04_10429.jpg', '/mnt/data/07082025/00/11/image_07082025_00_11_54_8951.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/12/image_07082025_00_12_45_10096.jpg', '/mnt/data/07082025/00/12/image_07082025_00_12_35_10172.jpg', '/mnt/data/07082025/00/12/image_07082025_00_12_24_9970.jpg', '/mnt/data/07082025/00/12/image_07082025_00_12_14_10220.jpg', '/mnt/data/07082025/00/11/image_07082025_00_12_04_10429.jpg', '/mnt/data/07082025/00/11/image_07082025_00_11_54_8951.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/12/image_07082025_00_12_45_10096.jpg
/mnt/data/07082025/00/12/image_07082025_00_12_35_10172.jpg
/mnt/data/07082025/00/12/image_07082025_00_12_24_9970.jpg
/mnt/data/07082025/00/12/image_07082025_00_12_14_10220.jpg
/mnt/data/07082025/00/11/image_07082025_00_12_04_10429.jpg
/mnt/data/07082025/00/11/image_07082025_00_11_54_8951.jpg
uploaded 0 photos
time to upload: 30.187570810317993 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:14:02.566633
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/13/image_07082025_00_13_34_10085.jpg', 2), ('/mnt/data/07082025/00/13/image_07082025_00_13_24_10159.jpg', 2), ('/mnt/data/07082025/00/13/image_07082025_00_13_14_10115.jpg', 2), ('/mnt/data/07082025/00/12/image_07082025_00_13_04_8984.jpg', 2), ('/mnt/data/07082025/00/12/image_07082025_00_12_55_10125.jpg', 2), ('/mnt/data/07082025/00/12/image_07082025_00_12_45_10096.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/13/image_07082025_00_13_34_10085.jpg', '/mnt/data/07082025/00/13/image_07082025_00_13_24_10159.jpg', '/mnt/data/07082025/00/13/image_07082025_00_13_14_10115.jpg', '/mnt/data/07082025/00/12/image_07082025_00_13_04_8984.jpg', '/mnt/data/07082025/00/12/image_07082025_00_12_55_10125.jpg', '/mnt/data/07082025/00/12/image_07082025_00_12_45_10096.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/13/image_07082025_00_13_34_10085.jpg', '/mnt/data/07082025/00/13/image_07082025_00_13_24_10159.jpg', '/mnt/data/07082025/00/13/image_07082025_00_13_14_10115.jpg', '/mnt/data/07082025/00/12/image_07082025_00_13_04_8984.jpg', '/mnt/data/07082025/00/12/image_07082025_00_12_55_10125.jpg', '/mnt/data/07082025/00/12/image_07082025_00_12_45_10096.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/13/image_07082025_00_13_34_10085.jpg
/mnt/data/07082025/00/13/image_07082025_00_13_24_10159.jpg
/mnt/data/07082025/00/13/image_07082025_00_13_14_10115.jpg
/mnt/data/07082025/00/12/image_07082025_00_13_04_8984.jpg
/mnt/data/07082025/00/12/image_07082025_00_12_55_10125.jpg
/mnt/data/07082025/00/12/image_07082025_00_12_45_10096.jpg
uploaded 0 photos
time to upload: 30.18665337562561 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:15:03.190023
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/14/image_07082025_00_14_45_10170.jpg', 2), ('/mnt/data/07082025/00/14/image_07082025_00_14_34_10167.jpg', 2), ('/mnt/data/07082025/00/14/image_07082025_00_14_24_10261.jpg', 2), ('/mnt/data/07082025/00/14/image_07082025_00_14_14_10229.jpg', 2), ('/mnt/data/07082025/00/13/image_07082025_00_14_04_9182.jpg', 2), ('/mnt/data/07082025/00/13/image_07082025_00_13_55_10210.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/14/image_07082025_00_14_45_10170.jpg', '/mnt/data/07082025/00/14/image_07082025_00_14_34_10167.jpg', '/mnt/data/07082025/00/14/image_07082025_00_14_24_10261.jpg', '/mnt/data/07082025/00/14/image_07082025_00_14_14_10229.jpg', '/mnt/data/07082025/00/13/image_07082025_00_14_04_9182.jpg', '/mnt/data/07082025/00/13/image_07082025_00_13_55_10210.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/14/image_07082025_00_14_45_10170.jpg', '/mnt/data/07082025/00/14/image_07082025_00_14_34_10167.jpg', '/mnt/data/07082025/00/14/image_07082025_00_14_24_10261.jpg', '/mnt/data/07082025/00/14/image_07082025_00_14_14_10229.jpg', '/mnt/data/07082025/00/13/image_07082025_00_14_04_9182.jpg', '/mnt/data/07082025/00/13/image_07082025_00_13_55_10210.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/14/image_07082025_00_14_45_10170.jpg
/mnt/data/07082025/00/14/image_07082025_00_14_34_10167.jpg
/mnt/data/07082025/00/14/image_07082025_00_14_24_10261.jpg
/mnt/data/07082025/00/14/image_07082025_00_14_14_10229.jpg
/mnt/data/07082025/00/13/image_07082025_00_14_04_9182.jpg
/mnt/data/07082025/00/13/image_07082025_00_13_55_10210.jpg
uploaded 0 photos
time to upload: 30.198036670684814 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:16:02.580919
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/15/image_07082025_00_15_45_10202.jpg', 2), ('/mnt/data/07082025/00/15/image_07082025_00_15_35_10245.jpg', 2), ('/mnt/data/07082025/00/15/image_07082025_00_15_14_10139.jpg', 2), ('/mnt/data/07082025/00/14/image_07082025_00_15_04_9179.jpg', 2), ('/mnt/data/07082025/00/14/image_07082025_00_14_55_10251.jpg', 2), ('/mnt/data/07082025/00/14/image_07082025_00_14_45_10170.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/15/image_07082025_00_15_45_10202.jpg', '/mnt/data/07082025/00/15/image_07082025_00_15_35_10245.jpg', '/mnt/data/07082025/00/15/image_07082025_00_15_14_10139.jpg', '/mnt/data/07082025/00/14/image_07082025_00_15_04_9179.jpg', '/mnt/data/07082025/00/14/image_07082025_00_14_55_10251.jpg', '/mnt/data/07082025/00/14/image_07082025_00_14_45_10170.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/15/image_07082025_00_15_45_10202.jpg', '/mnt/data/07082025/00/15/image_07082025_00_15_35_10245.jpg', '/mnt/data/07082025/00/15/image_07082025_00_15_14_10139.jpg', '/mnt/data/07082025/00/14/image_07082025_00_15_04_9179.jpg', '/mnt/data/07082025/00/14/image_07082025_00_14_55_10251.jpg', '/mnt/data/07082025/00/14/image_07082025_00_14_45_10170.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/15/image_07082025_00_15_45_10202.jpg
/mnt/data/07082025/00/15/image_07082025_00_15_35_10245.jpg
/mnt/data/07082025/00/15/image_07082025_00_15_14_10139.jpg
/mnt/data/07082025/00/14/image_07082025_00_15_04_9179.jpg
/mnt/data/07082025/00/14/image_07082025_00_14_55_10251.jpg
/mnt/data/07082025/00/14/image_07082025_00_14_45_10170.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":["1375551596","1375551598","1375551591","1375551585","1375551594","1375551588"],"photo_ids_order":["1375551585","1375551588","1375551591","1375551594","1375551596","1375551598"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/8303c303968d04950a8c269127254f40.jpg","text":"TemporaryFile(/tmp/multipartBody4675441860989308938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518651750,"filename":"image_07082025_00_14_55_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/7/b064f23a6e8268c73d90f69297a24ecd.jpg","text":"TemporaryFile(/tmp/multipartBody5932556659348009992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518651750,"filename":"image_07082025_00_14_45_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/7/5594ee7270d34f22c1aa525aaa6aac1f.jpg","text":"TemporaryFile(/tmp/multipartBody8462738222980769230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518651750,"filename":"image_07082025_00_15_14_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/7/deba8b9f9a331f581f8003709e7a8ecd.jpg","text":"TemporaryFile(/tmp/multipartBody5977900048666562146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518651750,"filename":"image_07082025_00_15_45_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/7/0563455436f3f6d24ab50a5040189aa5.jpg","text":"TemporaryFile(/tmp/multipartBody1735943587445998805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518651750,"filename":"image_07082025_00_15_04_9179.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/56a8b011da40a6953e1c7f70ad0696cc.jpg","text":"TemporaryFile(/tmp/multipartBody313898171183352544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518651750,"filename":"image_07082025_00_15_35_10245.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375551591","file1":"1375551588","file0":"1375551585","file4":"1375551596","file5":"1375551598","file3":"1375551594"},"map_files_photo_id_array":[{"photo_id":"1375551598","filename":"file5"},{"photo_id":"1375551591","filename":"file2"},{"photo_id":"1375551596","filename":"file4"},{"photo_id":"1375551588","filename":"file1"},{"photo_id":"1375551585","filename":"file0"},{"photo_id":"1375551594","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375551596":["hashtag1","hashtag2"]},{"1375551598":["hashtag1","hashtag2"]},{"1375551591":["hashtag1","hashtag2"]},{"1375551585":["hashtag1","hashtag2"]},{"1375551594":["hashtag1","hashtag2"]},{"1375551588":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375551596, 1375551598, 1375551591, 1375551585, 1375551594, 1375551588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.77747011184692 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:18:02.447718
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/17/image_07082025_00_17_45_10044.jpg', 2), ('/mnt/data/07082025/00/17/image_07082025_00_17_35_10028.jpg', 2), ('/mnt/data/07082025/00/17/image_07082025_00_17_24_10065.jpg', 2), ('/mnt/data/07082025/00/17/image_07082025_00_17_14_10038.jpg', 2), ('/mnt/data/07082025/00/16/image_07082025_00_17_04_10146.jpg', 2), ('/mnt/data/07082025/00/16/image_07082025_00_16_44_9100.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/17/image_07082025_00_17_45_10044.jpg', '/mnt/data/07082025/00/17/image_07082025_00_17_35_10028.jpg', '/mnt/data/07082025/00/17/image_07082025_00_17_24_10065.jpg', '/mnt/data/07082025/00/17/image_07082025_00_17_14_10038.jpg', '/mnt/data/07082025/00/16/image_07082025_00_17_04_10146.jpg', '/mnt/data/07082025/00/16/image_07082025_00_16_44_9100.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/17/image_07082025_00_17_45_10044.jpg', '/mnt/data/07082025/00/17/image_07082025_00_17_35_10028.jpg', '/mnt/data/07082025/00/17/image_07082025_00_17_24_10065.jpg', '/mnt/data/07082025/00/17/image_07082025_00_17_14_10038.jpg', '/mnt/data/07082025/00/16/image_07082025_00_17_04_10146.jpg', '/mnt/data/07082025/00/16/image_07082025_00_16_44_9100.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/17/image_07082025_00_17_45_10044.jpg
/mnt/data/07082025/00/17/image_07082025_00_17_35_10028.jpg
/mnt/data/07082025/00/17/image_07082025_00_17_24_10065.jpg
/mnt/data/07082025/00/17/image_07082025_00_17_14_10038.jpg
/mnt/data/07082025/00/16/image_07082025_00_17_04_10146.jpg
/mnt/data/07082025/00/16/image_07082025_00_16_44_9100.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":["1375551626","1375551622","1375551633","1375551636","1375551639","1375551630"],"photo_ids_order":["1375551622","1375551626","1375551630","1375551633","1375551636","1375551639"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/c4c0047051b692d247b9bf2b13ca1a82.jpg","text":"TemporaryFile(/tmp/multipartBody4460265239297315046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518766712,"filename":"image_07082025_00_17_35_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/7/ebfb6c46853352a62d77f0259a576901.jpg","text":"TemporaryFile(/tmp/multipartBody7928847505350870803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518766712,"filename":"image_07082025_00_17_45_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/7/6b173cf4722236912fb1871469e523c0.jpg","text":"TemporaryFile(/tmp/multipartBody1043018552407221020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518766712,"filename":"image_07082025_00_17_14_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/7/380cbad8a0c2ebc1df5166dc6e6491d9.jpg","text":"TemporaryFile(/tmp/multipartBody3382980923033150657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518766712,"filename":"image_07082025_00_17_04_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/7/ec4899c3bd1c0e046c5276bc993ff0b3.jpg","text":"TemporaryFile(/tmp/multipartBody5853547646618504687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518766712,"filename":"image_07082025_00_16_44_9100.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/5a5dec77a1bff02cf44d6b80391cc1ef.jpg","text":"TemporaryFile(/tmp/multipartBody8441509347123988094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754518766712,"filename":"image_07082025_00_17_24_10065.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375551630","file1":"1375551626","file0":"1375551622","file4":"1375551636","file5":"1375551639","file3":"1375551633"},"map_files_photo_id_array":[{"photo_id":"1375551639","filename":"file5"},{"photo_id":"1375551630","filename":"file2"},{"photo_id":"1375551636","filename":"file4"},{"photo_id":"1375551626","filename":"file1"},{"photo_id":"1375551622","filename":"file0"},{"photo_id":"1375551633","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375551626":["hashtag1","hashtag2"]},{"1375551622":["hashtag1","hashtag2"]},{"1375551633":["hashtag1","hashtag2"]},{"1375551636":["hashtag1","hashtag2"]},{"1375551639":["hashtag1","hashtag2"]},{"1375551630":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375551626, 1375551622, 1375551633, 1375551636, 1375551639, 1375551630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.08959984779358 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:20:02.751205
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/19/image_07082025_00_19_45_9988.jpg', 2), ('/mnt/data/07082025/00/19/image_07082025_00_19_35_10115.jpg', 2), ('/mnt/data/07082025/00/19/image_07082025_00_19_25_10068.jpg', 2), ('/mnt/data/07082025/00/19/image_07082025_00_19_15_10050.jpg', 2), ('/mnt/data/07082025/00/18/image_07082025_00_19_05_10015.jpg', 2), ('/mnt/data/07082025/00/18/image_07082025_00_18_55_9989.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/19/image_07082025_00_19_45_9988.jpg', '/mnt/data/07082025/00/19/image_07082025_00_19_35_10115.jpg', '/mnt/data/07082025/00/19/image_07082025_00_19_25_10068.jpg', '/mnt/data/07082025/00/19/image_07082025_00_19_15_10050.jpg', '/mnt/data/07082025/00/18/image_07082025_00_19_05_10015.jpg', '/mnt/data/07082025/00/18/image_07082025_00_18_55_9989.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/19/image_07082025_00_19_45_9988.jpg', '/mnt/data/07082025/00/19/image_07082025_00_19_35_10115.jpg', '/mnt/data/07082025/00/19/image_07082025_00_19_25_10068.jpg', '/mnt/data/07082025/00/19/image_07082025_00_19_15_10050.jpg', '/mnt/data/07082025/00/18/image_07082025_00_19_05_10015.jpg', '/mnt/data/07082025/00/18/image_07082025_00_18_55_9989.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/19/image_07082025_00_19_45_9988.jpg
/mnt/data/07082025/00/19/image_07082025_00_19_35_10115.jpg
/mnt/data/07082025/00/19/image_07082025_00_19_25_10068.jpg
/mnt/data/07082025/00/19/image_07082025_00_19_15_10050.jpg
/mnt/data/07082025/00/18/image_07082025_00_19_05_10015.jpg
/mnt/data/07082025/00/18/image_07082025_00_18_55_9989.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 128.01689624786377 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-07 00:23:02.870965
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/22/image_07082025_00_22_44_10151.jpg', 2), ('/mnt/data/07082025/00/22/image_07082025_00_22_24_10156.jpg', 2), ('/mnt/data/07082025/00/21/image_07082025_00_21_55_10073.jpg', 2), ('/mnt/data/07082025/00/21/image_07082025_00_21_45_10035.jpg', 2), ('/mnt/data/07082025/00/21/image_07082025_00_21_35_9957.jpg', 2), ('/mnt/data/07082025/00/21/image_07082025_00_21_25_10051.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/22/image_07082025_00_22_44_10151.jpg', '/mnt/data/07082025/00/22/image_07082025_00_22_24_10156.jpg', '/mnt/data/07082025/00/21/image_07082025_00_21_55_10073.jpg', '/mnt/data/07082025/00/21/image_07082025_00_21_45_10035.jpg', '/mnt/data/07082025/00/21/image_07082025_00_21_35_9957.jpg', '/mnt/data/07082025/00/21/image_07082025_00_21_25_10051.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/22/image_07082025_00_22_44_10151.jpg', '/mnt/data/07082025/00/22/image_07082025_00_22_24_10156.jpg', '/mnt/data/07082025/00/21/image_07082025_00_21_55_10073.jpg', '/mnt/data/07082025/00/21/image_07082025_00_21_45_10035.jpg', '/mnt/data/07082025/00/21/image_07082025_00_21_35_9957.jpg', '/mnt/data/07082025/00/21/image_07082025_00_21_25_10051.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/22/image_07082025_00_22_44_10151.jpg
/mnt/data/07082025/00/22/image_07082025_00_22_24_10156.jpg
/mnt/data/07082025/00/21/image_07082025_00_21_55_10073.jpg
/mnt/data/07082025/00/21/image_07082025_00_21_45_10035.jpg
/mnt/data/07082025/00/21/image_07082025_00_21_35_9957.jpg
/mnt/data/07082025/00/21/image_07082025_00_21_25_10051.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 143.38165068626404 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-07 00:26:03.156972
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/25/image_07082025_00_25_44_10182.jpg', 2), ('/mnt/data/07082025/00/25/image_07082025_00_25_34_9996.jpg', 2), ('/mnt/data/07082025/00/25/image_07082025_00_25_24_8879.jpg', 2), ('/mnt/data/07082025/00/25/image_07082025_00_25_15_10062.jpg', 2), ('/mnt/data/07082025/00/24/image_07082025_00_25_05_10079.jpg', 2), ('/mnt/data/07082025/00/24/image_07082025_00_24_55_9974.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/25/image_07082025_00_25_44_10182.jpg', '/mnt/data/07082025/00/25/image_07082025_00_25_34_9996.jpg', '/mnt/data/07082025/00/25/image_07082025_00_25_24_8879.jpg', '/mnt/data/07082025/00/25/image_07082025_00_25_15_10062.jpg', '/mnt/data/07082025/00/24/image_07082025_00_25_05_10079.jpg', '/mnt/data/07082025/00/24/image_07082025_00_24_55_9974.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/25/image_07082025_00_25_44_10182.jpg', '/mnt/data/07082025/00/25/image_07082025_00_25_34_9996.jpg', '/mnt/data/07082025/00/25/image_07082025_00_25_24_8879.jpg', '/mnt/data/07082025/00/25/image_07082025_00_25_15_10062.jpg', '/mnt/data/07082025/00/24/image_07082025_00_25_05_10079.jpg', '/mnt/data/07082025/00/24/image_07082025_00_24_55_9974.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/25/image_07082025_00_25_44_10182.jpg
/mnt/data/07082025/00/25/image_07082025_00_25_34_9996.jpg
/mnt/data/07082025/00/25/image_07082025_00_25_24_8879.jpg
/mnt/data/07082025/00/25/image_07082025_00_25_15_10062.jpg
/mnt/data/07082025/00/24/image_07082025_00_25_05_10079.jpg
/mnt/data/07082025/00/24/image_07082025_00_24_55_9974.jpg
uploaded 0 photos
time to upload: 31.935511112213135 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:27:03.099559
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/26/image_07082025_00_26_44_9010.jpg', 2), ('/mnt/data/07082025/00/26/image_07082025_00_26_35_10169.jpg', 2), ('/mnt/data/07082025/00/26/image_07082025_00_26_25_9994.jpg', 2), ('/mnt/data/07082025/00/26/image_07082025_00_26_15_10236.jpg', 2), ('/mnt/data/07082025/00/25/image_07082025_00_26_04_10284.jpg', 2), ('/mnt/data/07082025/00/25/image_07082025_00_25_54_10189.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/26/image_07082025_00_26_44_9010.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_35_10169.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_25_9994.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_15_10236.jpg', '/mnt/data/07082025/00/25/image_07082025_00_26_04_10284.jpg', '/mnt/data/07082025/00/25/image_07082025_00_25_54_10189.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/26/image_07082025_00_26_44_9010.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_35_10169.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_25_9994.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_15_10236.jpg', '/mnt/data/07082025/00/25/image_07082025_00_26_04_10284.jpg', '/mnt/data/07082025/00/25/image_07082025_00_25_54_10189.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/26/image_07082025_00_26_44_9010.jpg
/mnt/data/07082025/00/26/image_07082025_00_26_35_10169.jpg
/mnt/data/07082025/00/26/image_07082025_00_26_25_9994.jpg
/mnt/data/07082025/00/26/image_07082025_00_26_15_10236.jpg
/mnt/data/07082025/00/25/image_07082025_00_26_04_10284.jpg
/mnt/data/07082025/00/25/image_07082025_00_25_54_10189.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-07 00:29:03.275140
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/28/image_07082025_00_28_45_9972.jpg', 2), ('/mnt/data/07082025/00/28/image_07082025_00_28_35_9994.jpg', 2), ('/mnt/data/07082025/00/28/image_07082025_00_28_25_10042.jpg', 2), ('/mnt/data/07082025/00/28/image_07082025_00_28_15_9992.jpg', 2), ('/mnt/data/07082025/00/27/image_07082025_00_28_05_10224.jpg', 2), ('/mnt/data/07082025/00/27/image_07082025_00_27_55_9973.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/28/image_07082025_00_28_45_9972.jpg', '/mnt/data/07082025/00/28/image_07082025_00_28_35_9994.jpg', '/mnt/data/07082025/00/28/image_07082025_00_28_25_10042.jpg', '/mnt/data/07082025/00/28/image_07082025_00_28_15_9992.jpg', '/mnt/data/07082025/00/27/image_07082025_00_28_05_10224.jpg', '/mnt/data/07082025/00/27/image_07082025_00_27_55_9973.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/28/image_07082025_00_28_45_9972.jpg', '/mnt/data/07082025/00/28/image_07082025_00_28_35_9994.jpg', '/mnt/data/07082025/00/28/image_07082025_00_28_25_10042.jpg', '/mnt/data/07082025/00/28/image_07082025_00_28_15_9992.jpg', '/mnt/data/07082025/00/27/image_07082025_00_28_05_10224.jpg', '/mnt/data/07082025/00/27/image_07082025_00_27_55_9973.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/28/image_07082025_00_28_45_9972.jpg
/mnt/data/07082025/00/28/image_07082025_00_28_35_9994.jpg
/mnt/data/07082025/00/28/image_07082025_00_28_25_10042.jpg
/mnt/data/07082025/00/28/image_07082025_00_28_15_9992.jpg
/mnt/data/07082025/00/27/image_07082025_00_28_05_10224.jpg
/mnt/data/07082025/00/27/image_07082025_00_27_55_9973.jpg
uploaded 0 photos
time to upload: 30.25333070755005 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:30:10.929656
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/29/image_07082025_00_29_44_10127.jpg', 2), ('/mnt/data/07082025/00/29/image_07082025_00_29_34_10040.jpg', 2), ('/mnt/data/07082025/00/29/image_07082025_00_29_24_9963.jpg', 2), ('/mnt/data/07082025/00/29/image_07082025_00_29_14_10104.jpg', 2), ('/mnt/data/07082025/00/28/image_07082025_00_29_04_9013.jpg', 2), ('/mnt/data/07082025/00/28/image_07082025_00_28_55_9969.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/29/image_07082025_00_29_44_10127.jpg', '/mnt/data/07082025/00/29/image_07082025_00_29_34_10040.jpg', '/mnt/data/07082025/00/29/image_07082025_00_29_24_9963.jpg', '/mnt/data/07082025/00/29/image_07082025_00_29_14_10104.jpg', '/mnt/data/07082025/00/28/image_07082025_00_29_04_9013.jpg', '/mnt/data/07082025/00/28/image_07082025_00_28_55_9969.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/29/image_07082025_00_29_44_10127.jpg', '/mnt/data/07082025/00/29/image_07082025_00_29_34_10040.jpg', '/mnt/data/07082025/00/29/image_07082025_00_29_24_9963.jpg', '/mnt/data/07082025/00/29/image_07082025_00_29_14_10104.jpg', '/mnt/data/07082025/00/28/image_07082025_00_29_04_9013.jpg', '/mnt/data/07082025/00/28/image_07082025_00_28_55_9969.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/29/image_07082025_00_29_44_10127.jpg
/mnt/data/07082025/00/29/image_07082025_00_29_34_10040.jpg
/mnt/data/07082025/00/29/image_07082025_00_29_24_9963.jpg
/mnt/data/07082025/00/29/image_07082025_00_29_14_10104.jpg
/mnt/data/07082025/00/28/image_07082025_00_29_04_9013.jpg
/mnt/data/07082025/00/28/image_07082025_00_28_55_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":["1375552631","1375552634","1375552628","1375552633","1375552630","1375552632"],"photo_ids_order":["1375552628","1375552630","1375552631","1375552632","1375552633","1375552634"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/454262e3b705c484f3a9a6dd65a09dcc.jpg","text":"TemporaryFile(/tmp/multipartBody6858624180347243101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754519499573,"filename":"image_07082025_00_29_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/7/3e0b7bc8ca837ba30e84b4305636b01a.jpg","text":"TemporaryFile(/tmp/multipartBody137598730561167539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754519499573,"filename":"image_07082025_00_28_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/7/8ef0f83115069c2769dc1c56e3f41a09.jpg","text":"TemporaryFile(/tmp/multipartBody7523178294237523888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754519499573,"filename":"image_07082025_00_29_44_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/7/9cdb8da00baefe6ce71b0721f0b7101b.jpg","text":"TemporaryFile(/tmp/multipartBody5652022486398266072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754519499573,"filename":"image_07082025_00_29_04_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/7/1b9073a5bbbfa6c834d5c98cce62bc85.jpg","text":"TemporaryFile(/tmp/multipartBody1814827277740521255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754519499573,"filename":"image_07082025_00_29_34_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/7/32b199937e095342c1d60b1c3b33c187.jpg","text":"TemporaryFile(/tmp/multipartBody5779637344562716064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754519499573,"filename":"image_07082025_00_29_14_10104.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375552631","file1":"1375552630","file0":"1375552628","file4":"1375552633","file5":"1375552634","file3":"1375552632"},"map_files_photo_id_array":[{"photo_id":"1375552634","filename":"file5"},{"photo_id":"1375552631","filename":"file2"},{"photo_id":"1375552633","filename":"file4"},{"photo_id":"1375552630","filename":"file1"},{"photo_id":"1375552628","filename":"file0"},{"photo_id":"1375552632","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375552631":["hashtag1","hashtag2"]},{"1375552634":["hashtag1","hashtag2"]},{"1375552628":["hashtag1","hashtag2"]},{"1375552633":["hashtag1","hashtag2"]},{"1375552630":["hashtag1","hashtag2"]},{"1375552632":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375552631, 1375552634, 1375552628, 1375552633, 1375552630, 1375552632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.8775634765625 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:32:02.633420
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/31/image_07082025_00_31_45_10166.jpg', 2), ('/mnt/data/07082025/00/31/image_07082025_00_31_35_10223.jpg', 2), ('/mnt/data/07082025/00/31/image_07082025_00_31_24_10318.jpg', 2), ('/mnt/data/07082025/00/31/image_07082025_00_31_14_10305.jpg', 2), ('/mnt/data/07082025/00/30/image_07082025_00_31_04_8976.jpg', 2), ('/mnt/data/07082025/00/30/image_07082025_00_30_55_10192.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/31/image_07082025_00_31_45_10166.jpg', '/mnt/data/07082025/00/31/image_07082025_00_31_35_10223.jpg', '/mnt/data/07082025/00/31/image_07082025_00_31_24_10318.jpg', '/mnt/data/07082025/00/31/image_07082025_00_31_14_10305.jpg', '/mnt/data/07082025/00/30/image_07082025_00_31_04_8976.jpg', '/mnt/data/07082025/00/30/image_07082025_00_30_55_10192.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/31/image_07082025_00_31_45_10166.jpg', '/mnt/data/07082025/00/31/image_07082025_00_31_35_10223.jpg', '/mnt/data/07082025/00/31/image_07082025_00_31_24_10318.jpg', '/mnt/data/07082025/00/31/image_07082025_00_31_14_10305.jpg', '/mnt/data/07082025/00/30/image_07082025_00_31_04_8976.jpg', '/mnt/data/07082025/00/30/image_07082025_00_30_55_10192.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/31/image_07082025_00_31_45_10166.jpg
/mnt/data/07082025/00/31/image_07082025_00_31_35_10223.jpg
/mnt/data/07082025/00/31/image_07082025_00_31_24_10318.jpg
/mnt/data/07082025/00/31/image_07082025_00_31_14_10305.jpg
/mnt/data/07082025/00/30/image_07082025_00_31_04_8976.jpg
/mnt/data/07082025/00/30/image_07082025_00_30_55_10192.jpg
uploaded 0 photos
time to upload: 30.1856791973114 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:33:03.374250
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/32/image_07082025_00_32_45_9958.jpg', 2), ('/mnt/data/07082025/00/32/image_07082025_00_32_35_10154.jpg', 2), ('/mnt/data/07082025/00/32/image_07082025_00_32_25_10240.jpg', 2), ('/mnt/data/07082025/00/32/image_07082025_00_32_14_10283.jpg', 2), ('/mnt/data/07082025/00/31/image_07082025_00_32_04_10241.jpg', 2), ('/mnt/data/07082025/00/31/image_07082025_00_31_54_8969.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/32/image_07082025_00_32_45_9958.jpg', '/mnt/data/07082025/00/32/image_07082025_00_32_35_10154.jpg', '/mnt/data/07082025/00/32/image_07082025_00_32_25_10240.jpg', '/mnt/data/07082025/00/32/image_07082025_00_32_14_10283.jpg', '/mnt/data/07082025/00/31/image_07082025_00_32_04_10241.jpg', '/mnt/data/07082025/00/31/image_07082025_00_31_54_8969.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/32/image_07082025_00_32_45_9958.jpg', '/mnt/data/07082025/00/32/image_07082025_00_32_35_10154.jpg', '/mnt/data/07082025/00/32/image_07082025_00_32_25_10240.jpg', '/mnt/data/07082025/00/32/image_07082025_00_32_14_10283.jpg', '/mnt/data/07082025/00/31/image_07082025_00_32_04_10241.jpg', '/mnt/data/07082025/00/31/image_07082025_00_31_54_8969.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/32/image_07082025_00_32_45_9958.jpg
/mnt/data/07082025/00/32/image_07082025_00_32_35_10154.jpg
/mnt/data/07082025/00/32/image_07082025_00_32_25_10240.jpg
/mnt/data/07082025/00/32/image_07082025_00_32_14_10283.jpg
/mnt/data/07082025/00/31/image_07082025_00_32_04_10241.jpg
/mnt/data/07082025/00/31/image_07082025_00_31_54_8969.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 137.7225365638733 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-07 00:36:02.437297
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/35/image_07082025_00_35_45_9979.jpg', 2), ('/mnt/data/07082025/00/35/image_07082025_00_35_35_10082.jpg', 2), ('/mnt/data/07082025/00/35/image_07082025_00_35_14_10158.jpg', 2), ('/mnt/data/07082025/00/34/image_07082025_00_34_54_9891.jpg', 2), ('/mnt/data/07082025/00/34/image_07082025_00_34_45_9963.jpg', 2), ('/mnt/data/07082025/00/34/image_07082025_00_34_35_10015.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/35/image_07082025_00_35_45_9979.jpg', '/mnt/data/07082025/00/35/image_07082025_00_35_35_10082.jpg', '/mnt/data/07082025/00/35/image_07082025_00_35_14_10158.jpg', '/mnt/data/07082025/00/34/image_07082025_00_34_54_9891.jpg', '/mnt/data/07082025/00/34/image_07082025_00_34_45_9963.jpg', '/mnt/data/07082025/00/34/image_07082025_00_34_35_10015.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/35/image_07082025_00_35_45_9979.jpg', '/mnt/data/07082025/00/35/image_07082025_00_35_35_10082.jpg', '/mnt/data/07082025/00/35/image_07082025_00_35_14_10158.jpg', '/mnt/data/07082025/00/34/image_07082025_00_34_54_9891.jpg', '/mnt/data/07082025/00/34/image_07082025_00_34_45_9963.jpg', '/mnt/data/07082025/00/34/image_07082025_00_34_35_10015.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/35/image_07082025_00_35_45_9979.jpg
/mnt/data/07082025/00/35/image_07082025_00_35_35_10082.jpg
/mnt/data/07082025/00/35/image_07082025_00_35_14_10158.jpg
/mnt/data/07082025/00/34/image_07082025_00_34_54_9891.jpg
/mnt/data/07082025/00/34/image_07082025_00_34_45_9963.jpg
/mnt/data/07082025/00/34/image_07082025_00_34_35_10015.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375552820","1375552823","1375552834","1375552828","1375552837","1375552818"],"photo_ids_order":["1375552818","1375552820","1375552823","1375552828","1375552834","1375552837"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/3833c38972c0ba9f7bb5fbc031581ad1.jpg","text":"TemporaryFile(/tmp/multipartBody8408280875853844653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754519832630,"filename":"image_07082025_00_35_35_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/7/153449b04c3b8d88dac30482cdf954e3.jpg","text":"TemporaryFile(/tmp/multipartBody4876622012909057398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754519832630,"filename":"image_07082025_00_35_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/7/6a10067bb5f67b08da4a0cde424f1ec8.jpg","text":"TemporaryFile(/tmp/multipartBody284604339536781683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754519832630,"filename":"image_07082025_00_34_45_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/7/8d1e57c8d895b40891ef1f71bc24c74b.jpg","text":"TemporaryFile(/tmp/multipartBody4967289985668938747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754519832630,"filename":"image_07082025_00_34_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/7/6df803878155d6a0dac8df265352d678.jpg","text":"TemporaryFile(/tmp/multipartBody8594016456913113676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754519832630,"filename":"image_07082025_00_34_35_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/7/92900a18ac82d75d29f96d62955dc57a.jpg","text":"TemporaryFile(/tmp/multipartBody6202009850935118346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754519832630,"filename":"image_07082025_00_35_45_9979.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375552823","file1":"1375552820","file0":"1375552818","file4":"1375552834","file5":"1375552837","file3":"1375552828"},"map_files_photo_id_array":[{"photo_id":"1375552837","filename":"file5"},{"photo_id":"1375552823","filename":"file2"},{"photo_id":"1375552834","filename":"file4"},{"photo_id":"1375552820","filename":"file1"},{"photo_id":"1375552818","filename":"file0"},{"photo_id":"1375552828","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375552820":["hashtag1","hashtag2"]},{"1375552823":["hashtag1","hashtag2"]},{"1375552834":["hashtag1","hashtag2"]},{"1375552828":["hashtag1","hashtag2"]},{"1375552837":["hashtag1","hashtag2"]},{"1375552818":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375552820, 1375552823, 1375552834, 1375552828, 1375552837, 1375552818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.017740964889526 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:37:03.097882
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/36/image_07082025_00_36_44_10115.jpg', 2), ('/mnt/data/07082025/00/36/image_07082025_00_36_34_10147.jpg', 2), ('/mnt/data/07082025/00/36/image_07082025_00_36_24_10098.jpg', 2), ('/mnt/data/07082025/00/36/image_07082025_00_36_14_10133.jpg', 2), ('/mnt/data/07082025/00/35/image_07082025_00_36_04_9044.jpg', 2), ('/mnt/data/07082025/00/35/image_07082025_00_35_55_10075.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/36/image_07082025_00_36_44_10115.jpg', '/mnt/data/07082025/00/36/image_07082025_00_36_34_10147.jpg', '/mnt/data/07082025/00/36/image_07082025_00_36_24_10098.jpg', '/mnt/data/07082025/00/36/image_07082025_00_36_14_10133.jpg', '/mnt/data/07082025/00/35/image_07082025_00_36_04_9044.jpg', '/mnt/data/07082025/00/35/image_07082025_00_35_55_10075.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/36/image_07082025_00_36_44_10115.jpg', '/mnt/data/07082025/00/36/image_07082025_00_36_34_10147.jpg', '/mnt/data/07082025/00/36/image_07082025_00_36_24_10098.jpg', '/mnt/data/07082025/00/36/image_07082025_00_36_14_10133.jpg', '/mnt/data/07082025/00/35/image_07082025_00_36_04_9044.jpg', '/mnt/data/07082025/00/35/image_07082025_00_35_55_10075.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/36/image_07082025_00_36_44_10115.jpg
/mnt/data/07082025/00/36/image_07082025_00_36_34_10147.jpg
/mnt/data/07082025/00/36/image_07082025_00_36_24_10098.jpg
/mnt/data/07082025/00/36/image_07082025_00_36_14_10133.jpg
/mnt/data/07082025/00/35/image_07082025_00_36_04_9044.jpg
/mnt/data/07082025/00/35/image_07082025_00_35_55_10075.jpg
uploaded 0 photos
time to upload: 32.21683430671692 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:38:02.489952
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/37/image_07082025_00_37_44_8902.jpg', 2), ('/mnt/data/07082025/00/37/image_07082025_00_37_25_10099.jpg', 2), ('/mnt/data/07082025/00/37/image_07082025_00_37_15_10121.jpg', 2), ('/mnt/data/07082025/00/36/image_07082025_00_37_04_10107.jpg', 2), ('/mnt/data/07082025/00/36/image_07082025_00_36_54_10091.jpg', 2), ('/mnt/data/07082025/00/36/image_07082025_00_36_44_10115.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/37/image_07082025_00_37_44_8902.jpg', '/mnt/data/07082025/00/37/image_07082025_00_37_25_10099.jpg', '/mnt/data/07082025/00/37/image_07082025_00_37_15_10121.jpg', '/mnt/data/07082025/00/36/image_07082025_00_37_04_10107.jpg', '/mnt/data/07082025/00/36/image_07082025_00_36_54_10091.jpg', '/mnt/data/07082025/00/36/image_07082025_00_36_44_10115.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/37/image_07082025_00_37_44_8902.jpg', '/mnt/data/07082025/00/37/image_07082025_00_37_25_10099.jpg', '/mnt/data/07082025/00/37/image_07082025_00_37_15_10121.jpg', '/mnt/data/07082025/00/36/image_07082025_00_37_04_10107.jpg', '/mnt/data/07082025/00/36/image_07082025_00_36_54_10091.jpg', '/mnt/data/07082025/00/36/image_07082025_00_36_44_10115.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/37/image_07082025_00_37_44_8902.jpg
/mnt/data/07082025/00/37/image_07082025_00_37_25_10099.jpg
/mnt/data/07082025/00/37/image_07082025_00_37_15_10121.jpg
/mnt/data/07082025/00/36/image_07082025_00_37_04_10107.jpg
/mnt/data/07082025/00/36/image_07082025_00_36_54_10091.jpg
/mnt/data/07082025/00/36/image_07082025_00_36_44_10115.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":["1375552882","1375552879","1375552870","1375552881","1375552875","1375552880"],"photo_ids_order":["1375552870","1375552875","1375552879","1375552880","1375552881","1375552882"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/609eb801345ee4bb15aba73f52bed398.jpg","text":"TemporaryFile(/tmp/multipartBody4478683200920429385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754519965677,"filename":"image_07082025_00_36_44_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/7/500fa08b3b880e42707e15f05c24d557.jpg","text":"TemporaryFile(/tmp/multipartBody6667659496758296326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754519965677,"filename":"image_07082025_00_37_15_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/7/38ac4417368a8682a3f7c6c6f8dd2a64.jpg","text":"TemporaryFile(/tmp/multipartBody230211783952932810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754519965677,"filename":"image_07082025_00_37_44_8902.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/747c857b8c0a49bec27c2f5401f98432.jpg","text":"TemporaryFile(/tmp/multipartBody9082010667366966518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754519965677,"filename":"image_07082025_00_36_54_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/7/961b72131634f0e8aa3307291ad4f0c1.jpg","text":"TemporaryFile(/tmp/multipartBody8813523413079760776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754519965677,"filename":"image_07082025_00_37_25_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/7/cd7f02326c3f9f5b014921d4b7e9940b.jpg","text":"TemporaryFile(/tmp/multipartBody9043398822436963500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754519965677,"filename":"image_07082025_00_37_04_10107.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375552879","file1":"1375552875","file0":"1375552870","file4":"1375552881","file5":"1375552882","file3":"1375552880"},"map_files_photo_id_array":[{"photo_id":"1375552882","filename":"file5"},{"photo_id":"1375552879","filename":"file2"},{"photo_id":"1375552881","filename":"file4"},{"photo_id":"1375552875","filename":"file1"},{"photo_id":"1375552870","filename":"file0"},{"photo_id":"1375552880","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375552882":["hashtag1","hashtag2"]},{"1375552879":["hashtag1","hashtag2"]},{"1375552870":["hashtag1","hashtag2"]},{"1375552881":["hashtag1","hashtag2"]},{"1375552875":["hashtag1","hashtag2"]},{"1375552880":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375552882, 1375552879, 1375552870, 1375552881, 1375552875, 1375552880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.62135457992554 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:40:02.199290
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/39/image_07082025_00_39_44_9799.jpg', 2), ('/mnt/data/07082025/00/39/image_07082025_00_39_24_10057.jpg', 2), ('/mnt/data/07082025/00/39/image_07082025_00_39_14_10108.jpg', 2), ('/mnt/data/07082025/00/38/image_07082025_00_39_04_10130.jpg', 2), ('/mnt/data/07082025/00/38/image_07082025_00_38_44_10108.jpg', 2), ('/mnt/data/07082025/00/38/image_07082025_00_38_34_10057.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/39/image_07082025_00_39_44_9799.jpg', '/mnt/data/07082025/00/39/image_07082025_00_39_24_10057.jpg', '/mnt/data/07082025/00/39/image_07082025_00_39_14_10108.jpg', '/mnt/data/07082025/00/38/image_07082025_00_39_04_10130.jpg', '/mnt/data/07082025/00/38/image_07082025_00_38_44_10108.jpg', '/mnt/data/07082025/00/38/image_07082025_00_38_34_10057.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/39/image_07082025_00_39_44_9799.jpg', '/mnt/data/07082025/00/39/image_07082025_00_39_24_10057.jpg', '/mnt/data/07082025/00/39/image_07082025_00_39_14_10108.jpg', '/mnt/data/07082025/00/38/image_07082025_00_39_04_10130.jpg', '/mnt/data/07082025/00/38/image_07082025_00_38_44_10108.jpg', '/mnt/data/07082025/00/38/image_07082025_00_38_34_10057.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/39/image_07082025_00_39_44_9799.jpg
/mnt/data/07082025/00/39/image_07082025_00_39_24_10057.jpg
/mnt/data/07082025/00/39/image_07082025_00_39_14_10108.jpg
/mnt/data/07082025/00/38/image_07082025_00_39_04_10130.jpg
/mnt/data/07082025/00/38/image_07082025_00_38_44_10108.jpg
/mnt/data/07082025/00/38/image_07082025_00_38_34_10057.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375552940","1375552925","1375552939","1375552930","1375552933","1375552936"],"photo_ids_order":["1375552925","1375552930","1375552933","1375552936","1375552939","1375552940"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/815799b08d9c1d17bec05e5d4da39ca9.jpg","text":"TemporaryFile(/tmp/multipartBody7672178424194311609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520079467,"filename":"image_07082025_00_38_34_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/7/969214a0e9270596a7625b0efdc4388d.jpg","text":"TemporaryFile(/tmp/multipartBody7064493545854182823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520079467,"filename":"image_07082025_00_39_44_9799.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/75990663daea461ed88373c44f09de6b.jpg","text":"TemporaryFile(/tmp/multipartBody6002542226390690891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520079467,"filename":"image_07082025_00_38_44_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/7/edcbf56f6161485e4d4be6793a2df53d.jpg","text":"TemporaryFile(/tmp/multipartBody2963992393774021969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520079467,"filename":"image_07082025_00_39_24_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/7/be62ff31b1808087e5d4fe830d756f9a.jpg","text":"TemporaryFile(/tmp/multipartBody2593945497837828823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520079467,"filename":"image_07082025_00_39_14_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/7/e02d20335ad8575cf606474339b6c511.jpg","text":"TemporaryFile(/tmp/multipartBody2073616147265535711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520079467,"filename":"image_07082025_00_39_04_10130.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375552933","file1":"1375552930","file0":"1375552925","file4":"1375552939","file5":"1375552940","file3":"1375552936"},"map_files_photo_id_array":[{"photo_id":"1375552940","filename":"file5"},{"photo_id":"1375552933","filename":"file2"},{"photo_id":"1375552939","filename":"file4"},{"photo_id":"1375552930","filename":"file1"},{"photo_id":"1375552925","filename":"file0"},{"photo_id":"1375552936","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375552940":["hashtag1","hashtag2"]},{"1375552925":["hashtag1","hashtag2"]},{"1375552939":["hashtag1","hashtag2"]},{"1375552930":["hashtag1","hashtag2"]},{"1375552933":["hashtag1","hashtag2"]},{"1375552936":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375552940, 1375552925, 1375552939, 1375552930, 1375552933, 1375552936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.92372512817383 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:41:02.870667
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/39/image_07082025_00_40_04_10101.jpg', 2), ('/mnt/data/07082025/00/39/image_07082025_00_39_54_9942.jpg', 2), ('/mnt/data/07082025/00/38/image_07082025_00_38_24_8863.jpg', 2), ('/mnt/data/07082025/00/38/image_07082025_00_38_15_10932.jpg', 2), ('/mnt/data/07082025/00/37/image_07082025_00_38_04_10096.jpg', 2), ('/mnt/data/07082025/00/37/image_07082025_00_37_54_10034.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/39/image_07082025_00_40_04_10101.jpg', '/mnt/data/07082025/00/39/image_07082025_00_39_54_9942.jpg', '/mnt/data/07082025/00/38/image_07082025_00_38_24_8863.jpg', '/mnt/data/07082025/00/38/image_07082025_00_38_15_10932.jpg', '/mnt/data/07082025/00/37/image_07082025_00_38_04_10096.jpg', '/mnt/data/07082025/00/37/image_07082025_00_37_54_10034.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/39/image_07082025_00_40_04_10101.jpg', '/mnt/data/07082025/00/39/image_07082025_00_39_54_9942.jpg', '/mnt/data/07082025/00/38/image_07082025_00_38_24_8863.jpg', '/mnt/data/07082025/00/38/image_07082025_00_38_15_10932.jpg', '/mnt/data/07082025/00/37/image_07082025_00_38_04_10096.jpg', '/mnt/data/07082025/00/37/image_07082025_00_37_54_10034.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/39/image_07082025_00_40_04_10101.jpg
/mnt/data/07082025/00/39/image_07082025_00_39_54_9942.jpg
/mnt/data/07082025/00/38/image_07082025_00_38_24_8863.jpg
/mnt/data/07082025/00/38/image_07082025_00_38_15_10932.jpg
/mnt/data/07082025/00/37/image_07082025_00_38_04_10096.jpg
/mnt/data/07082025/00/37/image_07082025_00_37_54_10034.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":["1375552961","1375552960","1375552957","1375552951","1375552954","1375552959"],"photo_ids_order":["1375552951","1375552954","1375552957","1375552959","1375552960","1375552961"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/7534bd66f115ec19b23eec8c60c40b46.jpg","text":"TemporaryFile(/tmp/multipartBody3253579020349177898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520147044,"filename":"image_07082025_00_37_54_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/7/7809c7b5be31aae4da178e7752d73f2d.jpg","text":"TemporaryFile(/tmp/multipartBody2398567089088218077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520147044,"filename":"image_07082025_00_38_04_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/7/ed3adc811cc992de6c2b49d90464abe3.jpg","text":"TemporaryFile(/tmp/multipartBody2991530128392350735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520147044,"filename":"image_07082025_00_38_24_8863.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/7b898882bbb2476d94958d753649156b.jpg","text":"TemporaryFile(/tmp/multipartBody2265251321753219391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520147044,"filename":"image_07082025_00_40_04_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/7/aad8ea9aaf7cfedc6eb82a9dd0dae429.jpg","text":"TemporaryFile(/tmp/multipartBody6277003270077476661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520147044,"filename":"image_07082025_00_39_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/7/577080885ce9db8c119885075ac21bba.jpg","text":"TemporaryFile(/tmp/multipartBody4674776150712729072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520147044,"filename":"image_07082025_00_38_15_10932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375552957","file1":"1375552954","file0":"1375552951","file4":"1375552960","file5":"1375552961","file3":"1375552959"},"map_files_photo_id_array":[{"photo_id":"1375552961","filename":"file5"},{"photo_id":"1375552957","filename":"file2"},{"photo_id":"1375552960","filename":"file4"},{"photo_id":"1375552954","filename":"file1"},{"photo_id":"1375552951","filename":"file0"},{"photo_id":"1375552959","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375552961":["hashtag1","hashtag2"]},{"1375552960":["hashtag1","hashtag2"]},{"1375552957":["hashtag1","hashtag2"]},{"1375552951":["hashtag1","hashtag2"]},{"1375552954":["hashtag1","hashtag2"]},{"1375552959":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375552961, 1375552960, 1375552957, 1375552951, 1375552954, 1375552959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.66396617889404 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:43:02.927975
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/42/image_07082025_00_42_44_9949.jpg', 2), ('/mnt/data/07082025/00/42/image_07082025_00_42_34_9956.jpg', 2), ('/mnt/data/07082025/00/42/image_07082025_00_42_24_10013.jpg', 2), ('/mnt/data/07082025/00/42/image_07082025_00_42_14_9993.jpg', 2), ('/mnt/data/07082025/00/41/image_07082025_00_42_04_10174.jpg', 2), ('/mnt/data/07082025/00/41/image_07082025_00_41_54_9983.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/42/image_07082025_00_42_44_9949.jpg', '/mnt/data/07082025/00/42/image_07082025_00_42_34_9956.jpg', '/mnt/data/07082025/00/42/image_07082025_00_42_24_10013.jpg', '/mnt/data/07082025/00/42/image_07082025_00_42_14_9993.jpg', '/mnt/data/07082025/00/41/image_07082025_00_42_04_10174.jpg', '/mnt/data/07082025/00/41/image_07082025_00_41_54_9983.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/42/image_07082025_00_42_44_9949.jpg', '/mnt/data/07082025/00/42/image_07082025_00_42_34_9956.jpg', '/mnt/data/07082025/00/42/image_07082025_00_42_24_10013.jpg', '/mnt/data/07082025/00/42/image_07082025_00_42_14_9993.jpg', '/mnt/data/07082025/00/41/image_07082025_00_42_04_10174.jpg', '/mnt/data/07082025/00/41/image_07082025_00_41_54_9983.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/42/image_07082025_00_42_44_9949.jpg
/mnt/data/07082025/00/42/image_07082025_00_42_34_9956.jpg
/mnt/data/07082025/00/42/image_07082025_00_42_24_10013.jpg
/mnt/data/07082025/00/42/image_07082025_00_42_14_9993.jpg
/mnt/data/07082025/00/41/image_07082025_00_42_04_10174.jpg
/mnt/data/07082025/00/41/image_07082025_00_41_54_9983.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 139.09261989593506 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-07 00:46:02.635192
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/45/image_07082025_00_45_45_9961.jpg', 2), ('/mnt/data/07082025/00/45/image_07082025_00_45_35_9939.jpg', 2), ('/mnt/data/07082025/00/45/image_07082025_00_45_25_10005.jpg', 2), ('/mnt/data/07082025/00/45/image_07082025_00_45_15_9956.jpg', 2), ('/mnt/data/07082025/00/44/image_07082025_00_45_05_10080.jpg', 2), ('/mnt/data/07082025/00/44/image_07082025_00_44_55_10017.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/45/image_07082025_00_45_45_9961.jpg', '/mnt/data/07082025/00/45/image_07082025_00_45_35_9939.jpg', '/mnt/data/07082025/00/45/image_07082025_00_45_25_10005.jpg', '/mnt/data/07082025/00/45/image_07082025_00_45_15_9956.jpg', '/mnt/data/07082025/00/44/image_07082025_00_45_05_10080.jpg', '/mnt/data/07082025/00/44/image_07082025_00_44_55_10017.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/45/image_07082025_00_45_45_9961.jpg', '/mnt/data/07082025/00/45/image_07082025_00_45_35_9939.jpg', '/mnt/data/07082025/00/45/image_07082025_00_45_25_10005.jpg', '/mnt/data/07082025/00/45/image_07082025_00_45_15_9956.jpg', '/mnt/data/07082025/00/44/image_07082025_00_45_05_10080.jpg', '/mnt/data/07082025/00/44/image_07082025_00_44_55_10017.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/45/image_07082025_00_45_45_9961.jpg
/mnt/data/07082025/00/45/image_07082025_00_45_35_9939.jpg
/mnt/data/07082025/00/45/image_07082025_00_45_25_10005.jpg
/mnt/data/07082025/00/45/image_07082025_00_45_15_9956.jpg
/mnt/data/07082025/00/44/image_07082025_00_45_05_10080.jpg
/mnt/data/07082025/00/44/image_07082025_00_44_55_10017.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375553089","1375553125","1375553128","1375553067","1375553099","1375553120"],"photo_ids_order":["1375553067","1375553089","1375553099","1375553120","1375553125","1375553128"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/311a27bc9e7e7e6a2aa5440d267c238f.jpg","text":"TemporaryFile(/tmp/multipartBody1892443513108105509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520437185,"filename":"image_07082025_00_45_35_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/7/11636b884f640fb5d4934ae921095332.jpg","text":"TemporaryFile(/tmp/multipartBody3326182532483700155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520437185,"filename":"image_07082025_00_45_05_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/7/6ce0b114aab55121abeaa1fc767f0dd0.jpg","text":"TemporaryFile(/tmp/multipartBody7334959424567839590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520437185,"filename":"image_07082025_00_44_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/7/8592bb7539f6062f431954cbe54aa284.jpg","text":"TemporaryFile(/tmp/multipartBody3571910043473861066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520437185,"filename":"image_07082025_00_45_45_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/7/ca48decad62a7b59f8c05961d096c7e5.jpg","text":"TemporaryFile(/tmp/multipartBody3138337317718877929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520437185,"filename":"image_07082025_00_45_25_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/7/e27ef3fd0a43875dd88222af5d63bddd.jpg","text":"TemporaryFile(/tmp/multipartBody7173017464282606569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520437185,"filename":"image_07082025_00_45_15_9956.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375553099","file1":"1375553089","file0":"1375553067","file4":"1375553125","file5":"1375553128","file3":"1375553120"},"map_files_photo_id_array":[{"photo_id":"1375553128","filename":"file5"},{"photo_id":"1375553099","filename":"file2"},{"photo_id":"1375553125","filename":"file4"},{"photo_id":"1375553089","filename":"file1"},{"photo_id":"1375553067","filename":"file0"},{"photo_id":"1375553120","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375553089":["hashtag1","hashtag2"]},{"1375553125":["hashtag1","hashtag2"]},{"1375553128":["hashtag1","hashtag2"]},{"1375553067":["hashtag1","hashtag2"]},{"1375553099":["hashtag1","hashtag2"]},{"1375553120":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375553089, 1375553125, 1375553128, 1375553067, 1375553099, 1375553120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.21499705314636 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:47:03.298071
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/46/image_07082025_00_46_45_10063.jpg', 2), ('/mnt/data/07082025/00/46/image_07082025_00_46_34_9936.jpg', 2), ('/mnt/data/07082025/00/46/image_07082025_00_46_25_9967.jpg', 2), ('/mnt/data/07082025/00/46/image_07082025_00_46_15_9984.jpg', 2), ('/mnt/data/07082025/00/45/image_07082025_00_46_05_9988.jpg', 2), ('/mnt/data/07082025/00/45/image_07082025_00_45_55_9950.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/46/image_07082025_00_46_45_10063.jpg', '/mnt/data/07082025/00/46/image_07082025_00_46_34_9936.jpg', '/mnt/data/07082025/00/46/image_07082025_00_46_25_9967.jpg', '/mnt/data/07082025/00/46/image_07082025_00_46_15_9984.jpg', '/mnt/data/07082025/00/45/image_07082025_00_46_05_9988.jpg', '/mnt/data/07082025/00/45/image_07082025_00_45_55_9950.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/46/image_07082025_00_46_45_10063.jpg', '/mnt/data/07082025/00/46/image_07082025_00_46_34_9936.jpg', '/mnt/data/07082025/00/46/image_07082025_00_46_25_9967.jpg', '/mnt/data/07082025/00/46/image_07082025_00_46_15_9984.jpg', '/mnt/data/07082025/00/45/image_07082025_00_46_05_9988.jpg', '/mnt/data/07082025/00/45/image_07082025_00_45_55_9950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/46/image_07082025_00_46_45_10063.jpg
/mnt/data/07082025/00/46/image_07082025_00_46_34_9936.jpg
/mnt/data/07082025/00/46/image_07082025_00_46_25_9967.jpg
/mnt/data/07082025/00/46/image_07082025_00_46_15_9984.jpg
/mnt/data/07082025/00/45/image_07082025_00_46_05_9988.jpg
/mnt/data/07082025/00/45/image_07082025_00_45_55_9950.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375553155","1375553142","1375553150","1375553138","1375553153","1375553147"],"photo_ids_order":["1375553138","1375553142","1375553147","1375553150","1375553153","1375553155"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/96ee899464893be5f89a0e30ef0c0825.jpg","text":"TemporaryFile(/tmp/multipartBody4463910120783004417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520500938,"filename":"image_07082025_00_45_55_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/7/f03cee19b3f8ebafd44001a6bcec6e81.jpg","text":"TemporaryFile(/tmp/multipartBody6114599583251121917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520500938,"filename":"image_07082025_00_46_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/7/a44b3ff6b4f05531e4cef7cdf14474b6.jpg","text":"TemporaryFile(/tmp/multipartBody5537622626385392265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520500938,"filename":"image_07082025_00_46_15_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/7/8187dc4effe395ae365edf5ca46d1d67.jpg","text":"TemporaryFile(/tmp/multipartBody8959323139636815680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520500938,"filename":"image_07082025_00_46_45_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/7/307aa8993723e452757ad5d4d81d2854.jpg","text":"TemporaryFile(/tmp/multipartBody5228150165412364080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520500938,"filename":"image_07082025_00_46_05_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/7/6708ce532f52a754d73049d7194df946.jpg","text":"TemporaryFile(/tmp/multipartBody2959785511747797347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520500938,"filename":"image_07082025_00_46_25_9967.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375553147","file1":"1375553142","file0":"1375553138","file4":"1375553153","file5":"1375553155","file3":"1375553150"},"map_files_photo_id_array":[{"photo_id":"1375553155","filename":"file5"},{"photo_id":"1375553147","filename":"file2"},{"photo_id":"1375553153","filename":"file4"},{"photo_id":"1375553142","filename":"file1"},{"photo_id":"1375553138","filename":"file0"},{"photo_id":"1375553150","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375553155":["hashtag1","hashtag2"]},{"1375553142":["hashtag1","hashtag2"]},{"1375553150":["hashtag1","hashtag2"]},{"1375553138":["hashtag1","hashtag2"]},{"1375553153":["hashtag1","hashtag2"]},{"1375553147":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375553155, 1375553142, 1375553150, 1375553138, 1375553153, 1375553147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.764261960983276 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:48:02.423241
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/47/image_07082025_00_47_44_9954.jpg', 2), ('/mnt/data/07082025/00/47/image_07082025_00_47_34_9976.jpg', 2), ('/mnt/data/07082025/00/47/image_07082025_00_47_24_9997.jpg', 2), ('/mnt/data/07082025/00/47/image_07082025_00_47_14_9966.jpg', 2), ('/mnt/data/07082025/00/46/image_07082025_00_47_04_9970.jpg', 2), ('/mnt/data/07082025/00/46/image_07082025_00_46_55_9985.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/47/image_07082025_00_47_44_9954.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_34_9976.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_24_9997.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_14_9966.jpg', '/mnt/data/07082025/00/46/image_07082025_00_47_04_9970.jpg', '/mnt/data/07082025/00/46/image_07082025_00_46_55_9985.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/47/image_07082025_00_47_44_9954.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_34_9976.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_24_9997.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_14_9966.jpg', '/mnt/data/07082025/00/46/image_07082025_00_47_04_9970.jpg', '/mnt/data/07082025/00/46/image_07082025_00_46_55_9985.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/47/image_07082025_00_47_44_9954.jpg
/mnt/data/07082025/00/47/image_07082025_00_47_34_9976.jpg
/mnt/data/07082025/00/47/image_07082025_00_47_24_9997.jpg
/mnt/data/07082025/00/47/image_07082025_00_47_14_9966.jpg
/mnt/data/07082025/00/46/image_07082025_00_47_04_9970.jpg
/mnt/data/07082025/00/46/image_07082025_00_46_55_9985.jpg
uploaded 0 photos
time to upload: 30.19342303276062 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:49:03.182541
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/48/image_07082025_00_48_45_10073.jpg', 2), ('/mnt/data/07082025/00/48/image_07082025_00_48_35_10000.jpg', 2), ('/mnt/data/07082025/00/48/image_07082025_00_48_25_9981.jpg', 2), ('/mnt/data/07082025/00/48/image_07082025_00_48_15_10008.jpg', 2), ('/mnt/data/07082025/00/47/image_07082025_00_48_05_10252.jpg', 2), ('/mnt/data/07082025/00/47/image_07082025_00_47_54_9970.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/48/image_07082025_00_48_45_10073.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_35_10000.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_25_9981.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_15_10008.jpg', '/mnt/data/07082025/00/47/image_07082025_00_48_05_10252.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_54_9970.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/48/image_07082025_00_48_45_10073.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_35_10000.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_25_9981.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_15_10008.jpg', '/mnt/data/07082025/00/47/image_07082025_00_48_05_10252.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_54_9970.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/48/image_07082025_00_48_45_10073.jpg
/mnt/data/07082025/00/48/image_07082025_00_48_35_10000.jpg
/mnt/data/07082025/00/48/image_07082025_00_48_25_9981.jpg
/mnt/data/07082025/00/48/image_07082025_00_48_15_10008.jpg
/mnt/data/07082025/00/47/image_07082025_00_48_05_10252.jpg
/mnt/data/07082025/00/47/image_07082025_00_47_54_9970.jpg
uploaded 0 photos
time to upload: 30.20011019706726 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:50:02.599683
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/49/image_07082025_00_49_44_10043.jpg', 2), ('/mnt/data/07082025/00/49/image_07082025_00_49_34_10073.jpg', 2), ('/mnt/data/07082025/00/49/image_07082025_00_49_14_10123.jpg', 2), ('/mnt/data/07082025/00/48/image_07082025_00_49_04_9048.jpg', 2), ('/mnt/data/07082025/00/48/image_07082025_00_48_55_10032.jpg', 2), ('/mnt/data/07082025/00/48/image_07082025_00_48_45_10073.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/49/image_07082025_00_49_44_10043.jpg', '/mnt/data/07082025/00/49/image_07082025_00_49_34_10073.jpg', '/mnt/data/07082025/00/49/image_07082025_00_49_14_10123.jpg', '/mnt/data/07082025/00/48/image_07082025_00_49_04_9048.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_55_10032.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_45_10073.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/49/image_07082025_00_49_44_10043.jpg', '/mnt/data/07082025/00/49/image_07082025_00_49_34_10073.jpg', '/mnt/data/07082025/00/49/image_07082025_00_49_14_10123.jpg', '/mnt/data/07082025/00/48/image_07082025_00_49_04_9048.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_55_10032.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_45_10073.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/49/image_07082025_00_49_44_10043.jpg
/mnt/data/07082025/00/49/image_07082025_00_49_34_10073.jpg
/mnt/data/07082025/00/49/image_07082025_00_49_14_10123.jpg
/mnt/data/07082025/00/48/image_07082025_00_49_04_9048.jpg
/mnt/data/07082025/00/48/image_07082025_00_48_55_10032.jpg
/mnt/data/07082025/00/48/image_07082025_00_48_45_10073.jpg
uploaded 0 photos
time to upload: 30.1937837600708 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:51:03.252530
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/50/image_07082025_00_50_45_10038.jpg', 2), ('/mnt/data/07082025/00/50/image_07082025_00_50_35_10087.jpg', 2), ('/mnt/data/07082025/00/50/image_07082025_00_50_25_10079.jpg', 2), ('/mnt/data/07082025/00/50/image_07082025_00_50_14_9995.jpg', 2), ('/mnt/data/07082025/00/49/image_07082025_00_50_04_10314.jpg', 2), ('/mnt/data/07082025/00/49/image_07082025_00_49_54_10007.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/50/image_07082025_00_50_45_10038.jpg', '/mnt/data/07082025/00/50/image_07082025_00_50_35_10087.jpg', '/mnt/data/07082025/00/50/image_07082025_00_50_25_10079.jpg', '/mnt/data/07082025/00/50/image_07082025_00_50_14_9995.jpg', '/mnt/data/07082025/00/49/image_07082025_00_50_04_10314.jpg', '/mnt/data/07082025/00/49/image_07082025_00_49_54_10007.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/50/image_07082025_00_50_45_10038.jpg', '/mnt/data/07082025/00/50/image_07082025_00_50_35_10087.jpg', '/mnt/data/07082025/00/50/image_07082025_00_50_25_10079.jpg', '/mnt/data/07082025/00/50/image_07082025_00_50_14_9995.jpg', '/mnt/data/07082025/00/49/image_07082025_00_50_04_10314.jpg', '/mnt/data/07082025/00/49/image_07082025_00_49_54_10007.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/50/image_07082025_00_50_45_10038.jpg
/mnt/data/07082025/00/50/image_07082025_00_50_35_10087.jpg
/mnt/data/07082025/00/50/image_07082025_00_50_25_10079.jpg
/mnt/data/07082025/00/50/image_07082025_00_50_14_9995.jpg
/mnt/data/07082025/00/49/image_07082025_00_50_04_10314.jpg
/mnt/data/07082025/00/49/image_07082025_00_49_54_10007.jpg
uploaded 0 photos
time to upload: 30.201993942260742 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:52:02.446624
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/51/image_07082025_00_51_45_9939.jpg', 2), ('/mnt/data/07082025/00/51/image_07082025_00_51_35_9957.jpg', 2), ('/mnt/data/07082025/00/51/image_07082025_00_51_25_10090.jpg', 2), ('/mnt/data/07082025/00/51/image_07082025_00_51_15_9974.jpg', 2), ('/mnt/data/07082025/00/50/image_07082025_00_51_05_10136.jpg', 2), ('/mnt/data/07082025/00/50/image_07082025_00_50_55_10072.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/51/image_07082025_00_51_45_9939.jpg', '/mnt/data/07082025/00/51/image_07082025_00_51_35_9957.jpg', '/mnt/data/07082025/00/51/image_07082025_00_51_25_10090.jpg', '/mnt/data/07082025/00/51/image_07082025_00_51_15_9974.jpg', '/mnt/data/07082025/00/50/image_07082025_00_51_05_10136.jpg', '/mnt/data/07082025/00/50/image_07082025_00_50_55_10072.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/51/image_07082025_00_51_45_9939.jpg', '/mnt/data/07082025/00/51/image_07082025_00_51_35_9957.jpg', '/mnt/data/07082025/00/51/image_07082025_00_51_25_10090.jpg', '/mnt/data/07082025/00/51/image_07082025_00_51_15_9974.jpg', '/mnt/data/07082025/00/50/image_07082025_00_51_05_10136.jpg', '/mnt/data/07082025/00/50/image_07082025_00_50_55_10072.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/51/image_07082025_00_51_45_9939.jpg
/mnt/data/07082025/00/51/image_07082025_00_51_35_9957.jpg
/mnt/data/07082025/00/51/image_07082025_00_51_25_10090.jpg
/mnt/data/07082025/00/51/image_07082025_00_51_15_9974.jpg
/mnt/data/07082025/00/50/image_07082025_00_51_05_10136.jpg
/mnt/data/07082025/00/50/image_07082025_00_50_55_10072.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375553278","1375553293","1375553281","1375553289","1375553297","1375553285"],"photo_ids_order":["1375553278","1375553281","1375553285","1375553289","1375553293","1375553297"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/1f0522a27c9b81e4a8e7bac53c9aa995.jpg","text":"TemporaryFile(/tmp/multipartBody3226991348730629473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520795185,"filename":"image_07082025_00_51_45_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/7/c06cd9749a56586c8793a85ca62262bb.jpg","text":"TemporaryFile(/tmp/multipartBody4208268823549521057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520795185,"filename":"image_07082025_00_51_05_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/7/e52078b6d3134d48071b08f7108e782e.jpg","text":"TemporaryFile(/tmp/multipartBody7444948111751813162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520795185,"filename":"image_07082025_00_51_35_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/7/0b3d69270641162492b9cef1015d1724.jpg","text":"TemporaryFile(/tmp/multipartBody9026587078490286252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520795185,"filename":"image_07082025_00_51_15_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/7/c9ab835520e57a418aca9adbdc6fc8aa.jpg","text":"TemporaryFile(/tmp/multipartBody162481429933456962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520795185,"filename":"image_07082025_00_50_55_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/7/b16228538716f626de7e995886e6e31d.jpg","text":"TemporaryFile(/tmp/multipartBody8517481726781907724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754520795185,"filename":"image_07082025_00_51_25_10090.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375553285","file1":"1375553281","file0":"1375553278","file4":"1375553293","file5":"1375553297","file3":"1375553289"},"map_files_photo_id_array":[{"photo_id":"1375553297","filename":"file5"},{"photo_id":"1375553285","filename":"file2"},{"photo_id":"1375553293","filename":"file4"},{"photo_id":"1375553281","filename":"file1"},{"photo_id":"1375553278","filename":"file0"},{"photo_id":"1375553289","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375553278":["hashtag1","hashtag2"]},{"1375553293":["hashtag1","hashtag2"]},{"1375553281":["hashtag1","hashtag2"]},{"1375553289":["hashtag1","hashtag2"]},{"1375553297":["hashtag1","hashtag2"]},{"1375553285":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375553278, 1375553293, 1375553281, 1375553289, 1375553297, 1375553285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.38447618484497 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:53:02.490454
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/52/image_07082025_00_52_45_9930.jpg', 2), ('/mnt/data/07082025/00/52/image_07082025_00_52_35_10002.jpg', 2), ('/mnt/data/07082025/00/52/image_07082025_00_52_25_9984.jpg', 2), ('/mnt/data/07082025/00/52/image_07082025_00_52_15_9971.jpg', 2), ('/mnt/data/07082025/00/51/image_07082025_00_52_05_10133.jpg', 2), ('/mnt/data/07082025/00/51/image_07082025_00_51_55_9959.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/52/image_07082025_00_52_45_9930.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_35_10002.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_25_9984.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_15_9971.jpg', '/mnt/data/07082025/00/51/image_07082025_00_52_05_10133.jpg', '/mnt/data/07082025/00/51/image_07082025_00_51_55_9959.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/52/image_07082025_00_52_45_9930.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_35_10002.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_25_9984.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_15_9971.jpg', '/mnt/data/07082025/00/51/image_07082025_00_52_05_10133.jpg', '/mnt/data/07082025/00/51/image_07082025_00_51_55_9959.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/52/image_07082025_00_52_45_9930.jpg
/mnt/data/07082025/00/52/image_07082025_00_52_35_10002.jpg
/mnt/data/07082025/00/52/image_07082025_00_52_25_9984.jpg
/mnt/data/07082025/00/52/image_07082025_00_52_15_9971.jpg
/mnt/data/07082025/00/51/image_07082025_00_52_05_10133.jpg
/mnt/data/07082025/00/51/image_07082025_00_51_55_9959.jpg
uploaded 0 photos
time to upload: 30.19362497329712 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 00:54:02.863900
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/53/image_07082025_00_53_44_9980.jpg', 2), ('/mnt/data/07082025/00/53/image_07082025_00_53_34_9990.jpg', 2), ('/mnt/data/07082025/00/53/image_07082025_00_53_24_10027.jpg', 2), ('/mnt/data/07082025/00/53/image_07082025_00_53_14_10072.jpg', 2), ('/mnt/data/07082025/00/52/image_07082025_00_53_04_9027.jpg', 2), ('/mnt/data/07082025/00/52/image_07082025_00_52_55_9995.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/53/image_07082025_00_53_44_9980.jpg', '/mnt/data/07082025/00/53/image_07082025_00_53_34_9990.jpg', '/mnt/data/07082025/00/53/image_07082025_00_53_24_10027.jpg', '/mnt/data/07082025/00/53/image_07082025_00_53_14_10072.jpg', '/mnt/data/07082025/00/52/image_07082025_00_53_04_9027.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_55_9995.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/53/image_07082025_00_53_44_9980.jpg', '/mnt/data/07082025/00/53/image_07082025_00_53_34_9990.jpg', '/mnt/data/07082025/00/53/image_07082025_00_53_24_10027.jpg', '/mnt/data/07082025/00/53/image_07082025_00_53_14_10072.jpg', '/mnt/data/07082025/00/52/image_07082025_00_53_04_9027.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_55_9995.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/53/image_07082025_00_53_44_9980.jpg
/mnt/data/07082025/00/53/image_07082025_00_53_34_9990.jpg
/mnt/data/07082025/00/53/image_07082025_00_53_24_10027.jpg
/mnt/data/07082025/00/53/image_07082025_00_53_14_10072.jpg
/mnt/data/07082025/00/52/image_07082025_00_53_04_9027.jpg
/mnt/data/07082025/00/52/image_07082025_00_52_55_9995.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 124.9967143535614 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-07 00:57:02.653129
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/56/image_07082025_00_56_44_9991.jpg', 2), ('/mnt/data/07082025/00/56/image_07082025_00_56_34_9956.jpg', 2), ('/mnt/data/07082025/00/56/image_07082025_00_56_24_9990.jpg', 2), ('/mnt/data/07082025/00/56/image_07082025_00_56_14_9996.jpg', 2), ('/mnt/data/07082025/00/55/image_07082025_00_56_04_10057.jpg', 2), ('/mnt/data/07082025/00/55/image_07082025_00_55_54_10095.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/56/image_07082025_00_56_44_9991.jpg', '/mnt/data/07082025/00/56/image_07082025_00_56_34_9956.jpg', '/mnt/data/07082025/00/56/image_07082025_00_56_24_9990.jpg', '/mnt/data/07082025/00/56/image_07082025_00_56_14_9996.jpg', '/mnt/data/07082025/00/55/image_07082025_00_56_04_10057.jpg', '/mnt/data/07082025/00/55/image_07082025_00_55_54_10095.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/56/image_07082025_00_56_44_9991.jpg', '/mnt/data/07082025/00/56/image_07082025_00_56_34_9956.jpg', '/mnt/data/07082025/00/56/image_07082025_00_56_24_9990.jpg', '/mnt/data/07082025/00/56/image_07082025_00_56_14_9996.jpg', '/mnt/data/07082025/00/55/image_07082025_00_56_04_10057.jpg', '/mnt/data/07082025/00/55/image_07082025_00_55_54_10095.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/56/image_07082025_00_56_44_9991.jpg
/mnt/data/07082025/00/56/image_07082025_00_56_34_9956.jpg
/mnt/data/07082025/00/56/image_07082025_00_56_24_9990.jpg
/mnt/data/07082025/00/56/image_07082025_00_56_14_9996.jpg
/mnt/data/07082025/00/55/image_07082025_00_56_04_10057.jpg
/mnt/data/07082025/00/55/image_07082025_00_55_54_10095.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-07 00:59:03.555960
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/57/image_07082025_00_57_44_10055.jpg', 2), ('/mnt/data/07082025/00/57/image_07082025_00_57_34_10038.jpg', 2), ('/mnt/data/07082025/00/57/image_07082025_00_57_24_9983.jpg', 2), ('/mnt/data/07082025/00/57/image_07082025_00_57_14_9963.jpg', 2), ('/mnt/data/07082025/00/56/image_07082025_00_57_04_9988.jpg', 2), ('/mnt/data/07082025/00/56/image_07082025_00_56_54_9968.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/57/image_07082025_00_57_44_10055.jpg', '/mnt/data/07082025/00/57/image_07082025_00_57_34_10038.jpg', '/mnt/data/07082025/00/57/image_07082025_00_57_24_9983.jpg', '/mnt/data/07082025/00/57/image_07082025_00_57_14_9963.jpg', '/mnt/data/07082025/00/56/image_07082025_00_57_04_9988.jpg', '/mnt/data/07082025/00/56/image_07082025_00_56_54_9968.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/57/image_07082025_00_57_44_10055.jpg', '/mnt/data/07082025/00/57/image_07082025_00_57_34_10038.jpg', '/mnt/data/07082025/00/57/image_07082025_00_57_24_9983.jpg', '/mnt/data/07082025/00/57/image_07082025_00_57_14_9963.jpg', '/mnt/data/07082025/00/56/image_07082025_00_57_04_9988.jpg', '/mnt/data/07082025/00/56/image_07082025_00_56_54_9968.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/57/image_07082025_00_57_44_10055.jpg
/mnt/data/07082025/00/57/image_07082025_00_57_34_10038.jpg
/mnt/data/07082025/00/57/image_07082025_00_57_24_9983.jpg
/mnt/data/07082025/00/57/image_07082025_00_57_14_9963.jpg
/mnt/data/07082025/00/56/image_07082025_00_57_04_9988.jpg
/mnt/data/07082025/00/56/image_07082025_00_56_54_9968.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375553986","1375553920","1375553889","1375554018","1375553856","1375553951"],"photo_ids_order":["1375553856","1375553889","1375553920","1375553951","1375553986","1375554018"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/784d97c596b7bdd3932461563333d461.jpg","text":"TemporaryFile(/tmp/multipartBody5204101346044693916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754521215564,"filename":"image_07082025_00_57_04_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/7/a5c46530f5dd7b8212f20a97fc9f67cd.jpg","text":"TemporaryFile(/tmp/multipartBody571364985529102457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754521215564,"filename":"image_07082025_00_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/7/d656bd6315ba346dc348dc3228e6b772.jpg","text":"TemporaryFile(/tmp/multipartBody816089496239831367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754521215564,"filename":"image_07082025_00_57_34_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/7/5391c906bb8fb7b611b4fb61f5db0b9c.jpg","text":"TemporaryFile(/tmp/multipartBody1945010849809343671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754521215564,"filename":"image_07082025_00_56_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/7/b522a3b3bc39d8ff90dff278f3af8ab0.jpg","text":"TemporaryFile(/tmp/multipartBody4842716074901138521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754521215564,"filename":"image_07082025_00_57_44_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/7/39c23fc3c9b12e5ee0f84a50b70d5798.jpg","text":"TemporaryFile(/tmp/multipartBody5646552340765149689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754521215564,"filename":"image_07082025_00_57_14_9963.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375553920","file1":"1375553889","file0":"1375553856","file4":"1375553986","file5":"1375554018","file3":"1375553951"},"map_files_photo_id_array":[{"photo_id":"1375554018","filename":"file5"},{"photo_id":"1375553920","filename":"file2"},{"photo_id":"1375553986","filename":"file4"},{"photo_id":"1375553889","filename":"file1"},{"photo_id":"1375553856","filename":"file0"},{"photo_id":"1375553951","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375553986":["hashtag1","hashtag2"]},{"1375553920":["hashtag1","hashtag2"]},{"1375553889":["hashtag1","hashtag2"]},{"1375554018":["hashtag1","hashtag2"]},{"1375553856":["hashtag1","hashtag2"]},{"1375553951":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375553986, 1375553920, 1375553889, 1375554018, 1375553856, 1375553951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.52955484390259 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:00:02.588899
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/59/image_07082025_00_59_44_10165.jpg', 2), ('/mnt/data/07082025/00/59/image_07082025_00_59_34_10248.jpg', 2), ('/mnt/data/07082025/00/59/image_07082025_00_59_15_10185.jpg', 2), ('/mnt/data/07082025/00/58/image_07082025_00_59_05_10011.jpg', 2), ('/mnt/data/07082025/00/58/image_07082025_00_58_55_10257.jpg', 2), ('/mnt/data/07082025/00/58/image_07082025_00_58_45_10078.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/59/image_07082025_00_59_44_10165.jpg', '/mnt/data/07082025/00/59/image_07082025_00_59_34_10248.jpg', '/mnt/data/07082025/00/59/image_07082025_00_59_15_10185.jpg', '/mnt/data/07082025/00/58/image_07082025_00_59_05_10011.jpg', '/mnt/data/07082025/00/58/image_07082025_00_58_55_10257.jpg', '/mnt/data/07082025/00/58/image_07082025_00_58_45_10078.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/59/image_07082025_00_59_44_10165.jpg', '/mnt/data/07082025/00/59/image_07082025_00_59_34_10248.jpg', '/mnt/data/07082025/00/59/image_07082025_00_59_15_10185.jpg', '/mnt/data/07082025/00/58/image_07082025_00_59_05_10011.jpg', '/mnt/data/07082025/00/58/image_07082025_00_58_55_10257.jpg', '/mnt/data/07082025/00/58/image_07082025_00_58_45_10078.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/59/image_07082025_00_59_44_10165.jpg
/mnt/data/07082025/00/59/image_07082025_00_59_34_10248.jpg
/mnt/data/07082025/00/59/image_07082025_00_59_15_10185.jpg
/mnt/data/07082025/00/58/image_07082025_00_59_05_10011.jpg
/mnt/data/07082025/00/58/image_07082025_00_58_55_10257.jpg
/mnt/data/07082025/00/58/image_07082025_00_58_45_10078.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375554274","1375554232","1375554264","1375554272","1375554283","1375554199"],"photo_ids_order":["1375554199","1375554232","1375554264","1375554272","1375554274","1375554283"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/43ef71f81b3548a00e93fa263007851d.jpg","text":"TemporaryFile(/tmp/multipartBody7790942646488852345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754521280982,"filename":"image_07082025_00_58_55_10257.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/873ecfb3df975b45f25c6ce4e9bfe46a.jpg","text":"TemporaryFile(/tmp/multipartBody7309021786429696570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754521280982,"filename":"image_07082025_00_59_34_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/7/3380f25c64775f07e3b0e7a802b87d79.jpg","text":"TemporaryFile(/tmp/multipartBody2052795190004702864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754521280982,"filename":"image_07082025_00_59_15_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/7/a718a307646fc493108eb7618cab035a.jpg","text":"TemporaryFile(/tmp/multipartBody8644376177049024126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754521280982,"filename":"image_07082025_00_59_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/7/faa98325ba683734d6e622f3596b7669.jpg","text":"TemporaryFile(/tmp/multipartBody3810369680604382887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754521280982,"filename":"image_07082025_00_58_45_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/7/f16c5fc1e12e3e2064f32c0df0657af7.jpg","text":"TemporaryFile(/tmp/multipartBody2517564582478767317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754521280982,"filename":"image_07082025_00_59_44_10165.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375554264","file1":"1375554232","file0":"1375554199","file4":"1375554274","file5":"1375554283","file3":"1375554272"},"map_files_photo_id_array":[{"photo_id":"1375554283","filename":"file5"},{"photo_id":"1375554264","filename":"file2"},{"photo_id":"1375554274","filename":"file4"},{"photo_id":"1375554232","filename":"file1"},{"photo_id":"1375554199","filename":"file0"},{"photo_id":"1375554272","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375554274":["hashtag1","hashtag2"]},{"1375554232":["hashtag1","hashtag2"]},{"1375554264":["hashtag1","hashtag2"]},{"1375554272":["hashtag1","hashtag2"]},{"1375554283":["hashtag1","hashtag2"]},{"1375554199":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375554274, 1375554232, 1375554264, 1375554272, 1375554283, 1375554199)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 59.89549136161804 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:02:02.720689
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/01/image_07082025_01_01_45_10091.jpg', 2), ('/mnt/data/07082025/01/01/image_07082025_01_01_35_10229.jpg', 2), ('/mnt/data/07082025/01/01/image_07082025_01_01_26_10349.jpg', 2), ('/mnt/data/07082025/01/01/image_07082025_01_01_14_10173.jpg', 2), ('/mnt/data/07082025/01/00/image_07082025_01_01_04_10328.jpg', 2), ('/mnt/data/07082025/01/00/image_07082025_01_00_54_9078.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/01/image_07082025_01_01_45_10091.jpg', '/mnt/data/07082025/01/01/image_07082025_01_01_35_10229.jpg', '/mnt/data/07082025/01/01/image_07082025_01_01_26_10349.jpg', '/mnt/data/07082025/01/01/image_07082025_01_01_14_10173.jpg', '/mnt/data/07082025/01/00/image_07082025_01_01_04_10328.jpg', '/mnt/data/07082025/01/00/image_07082025_01_00_54_9078.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/01/image_07082025_01_01_45_10091.jpg', '/mnt/data/07082025/01/01/image_07082025_01_01_35_10229.jpg', '/mnt/data/07082025/01/01/image_07082025_01_01_26_10349.jpg', '/mnt/data/07082025/01/01/image_07082025_01_01_14_10173.jpg', '/mnt/data/07082025/01/00/image_07082025_01_01_04_10328.jpg', '/mnt/data/07082025/01/00/image_07082025_01_00_54_9078.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/01/image_07082025_01_01_45_10091.jpg
/mnt/data/07082025/01/01/image_07082025_01_01_35_10229.jpg
/mnt/data/07082025/01/01/image_07082025_01_01_26_10349.jpg
/mnt/data/07082025/01/01/image_07082025_01_01_14_10173.jpg
/mnt/data/07082025/01/00/image_07082025_01_01_04_10328.jpg
/mnt/data/07082025/01/00/image_07082025_01_00_54_9078.jpg
uploaded 0 photos
time to upload: 30.21205973625183 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:03:02.637265
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/02/image_07082025_01_02_45_10231.jpg', 2), ('/mnt/data/07082025/01/02/image_07082025_01_02_34_10054.jpg', 2), ('/mnt/data/07082025/01/02/image_07082025_01_02_24_10049.jpg', 2), ('/mnt/data/07082025/01/02/image_07082025_01_02_14_10114.jpg', 2), ('/mnt/data/07082025/01/01/image_07082025_01_01_55_10040.jpg', 2), ('/mnt/data/07082025/01/01/image_07082025_01_01_45_10091.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/02/image_07082025_01_02_45_10231.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_34_10054.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_24_10049.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_14_10114.jpg', '/mnt/data/07082025/01/01/image_07082025_01_01_55_10040.jpg', '/mnt/data/07082025/01/01/image_07082025_01_01_45_10091.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/02/image_07082025_01_02_45_10231.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_34_10054.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_24_10049.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_14_10114.jpg', '/mnt/data/07082025/01/01/image_07082025_01_01_55_10040.jpg', '/mnt/data/07082025/01/01/image_07082025_01_01_45_10091.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/02/image_07082025_01_02_45_10231.jpg
/mnt/data/07082025/01/02/image_07082025_01_02_34_10054.jpg
/mnt/data/07082025/01/02/image_07082025_01_02_24_10049.jpg
/mnt/data/07082025/01/02/image_07082025_01_02_14_10114.jpg
/mnt/data/07082025/01/01/image_07082025_01_01_55_10040.jpg
/mnt/data/07082025/01/01/image_07082025_01_01_45_10091.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 139.89536905288696 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-07 01:06:02.972315
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', 2), ('/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg', 2), ('/mnt/data/07082025/01/03/image_07082025_01_04_04_10478.jpg', 2), ('/mnt/data/07082025/01/03/image_07082025_01_03_54_9011.jpg', 2), ('/mnt/data/07082025/01/02/image_07082025_01_02_55_10239.jpg', 2), ('/mnt/data/07082025/01/02/image_07082025_01_02_45_10231.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', '/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg', '/mnt/data/07082025/01/03/image_07082025_01_04_04_10478.jpg', '/mnt/data/07082025/01/03/image_07082025_01_03_54_9011.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_55_10239.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_45_10231.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', '/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg', '/mnt/data/07082025/01/03/image_07082025_01_04_04_10478.jpg', '/mnt/data/07082025/01/03/image_07082025_01_03_54_9011.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_55_10239.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_45_10231.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg
/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg
/mnt/data/07082025/01/03/image_07082025_01_04_04_10478.jpg
/mnt/data/07082025/01/03/image_07082025_01_03_54_9011.jpg
/mnt/data/07082025/01/02/image_07082025_01_02_55_10239.jpg
/mnt/data/07082025/01/02/image_07082025_01_02_45_10231.jpg
uploaded 0 photos
time to upload: 30.188814640045166 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:07:02.552703
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', 2), ('/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg', 2), ('/mnt/data/07082025/01/03/image_07082025_01_04_04_10478.jpg', 2), ('/mnt/data/07082025/01/03/image_07082025_01_03_54_9011.jpg', 2), ('/mnt/data/07082025/01/02/image_07082025_01_02_55_10239.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', '/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg', '/mnt/data/07082025/01/03/image_07082025_01_04_04_10478.jpg', '/mnt/data/07082025/01/03/image_07082025_01_03_54_9011.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_55_10239.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', '/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg', '/mnt/data/07082025/01/03/image_07082025_01_04_04_10478.jpg', '/mnt/data/07082025/01/03/image_07082025_01_03_54_9011.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_55_10239.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg
/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg
/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg
/mnt/data/07082025/01/03/image_07082025_01_04_04_10478.jpg
/mnt/data/07082025/01/03/image_07082025_01_03_54_9011.jpg
/mnt/data/07082025/01/02/image_07082025_01_02_55_10239.jpg
uploaded 0 photos
time to upload: 30.211369276046753 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:08:02.821659
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', 2), ('/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', 2), ('/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', '/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', '/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', '/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', '/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', '/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', '/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg
/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg
/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg
/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg
/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg
/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg
uploaded 0 photos
time to upload: 32.42157769203186 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:09:02.382786
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', 2), ('/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', 2), ('/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', '/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', '/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', '/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', '/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg
/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg
/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg
/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg
/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg
/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg
uploaded 0 photos
time to upload: 34.06306600570679 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:10:02.460414
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', 2), ('/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', 2), ('/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', 2), ('/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', 2), ('/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', '/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', '/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg
/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg
/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg
/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg
/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg
uploaded 0 photos
time to upload: 30.190164804458618 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:11:03.030117
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', 2), ('/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', 2), ('/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', 2), ('/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg
/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg
/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg
/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg
uploaded 0 photos
time to upload: 31.923680543899536 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:12:02.659243
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', 2), ('/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', 2), ('/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', 2), ('/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg
/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg
/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg
/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg
uploaded 0 photos
time to upload: 31.92871928215027 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:13:02.768827
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', 2), ('/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', 2), ('/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', 2), ('/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg
/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg
/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg
/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg
uploaded 0 photos
time to upload: 30.21119976043701 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:14:02.624852
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', 2), ('/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', 2), ('/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', 2), ('/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg
/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg
/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg
/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg
uploaded 0 photos
time to upload: 30.18770742416382 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:15:02.299985
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', 2), ('/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', 2), ('/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg
/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg
/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg
uploaded 0 photos
time to upload: 31.926320552825928 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:16:02.920691
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', 2), ('/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', 2), ('/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg
/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg
/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg
uploaded 0 photos
time to upload: 30.19120740890503 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:17:02.922030
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', 2), ('/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', 2), ('/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg
/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg
/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg
uploaded 0 photos
time to upload: 30.213990688323975 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:18:02.890969
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', 2), ('/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', 2), ('/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg
/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg
/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg
uploaded 0 photos
time to upload: 30.188077211380005 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:19:02.697998
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', 2), ('/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', 2), ('/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg
/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg
/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg
uploaded 0 photos
time to upload: 30.206018447875977 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:20:02.966393
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', 2), ('/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', 2), ('/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg
/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg
/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg
uploaded 0 photos
time to upload: 30.221309900283813 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:21:02.778486
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', 2), ('/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', 2), ('/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg
/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg
/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg
uploaded 0 photos
time to upload: 32.12711691856384 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:22:02.581680
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', 2), ('/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', 2), ('/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg
/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg
/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg
uploaded 0 photos
time to upload: 30.208481073379517 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:23:03.265704
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', 2), ('/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', 2), ('/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg
/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg
/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg
uploaded 0 photos
time to upload: 30.21429753303528 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:24:02.503630
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/23/image_07082025_01_23_44_9987.jpg', 2), ('/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', 2), ('/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/23/image_07082025_01_23_44_9987.jpg', '/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/23/image_07082025_01_23_44_9987.jpg', '/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/23/image_07082025_01_23_44_9987.jpg
/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg
/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg
uploaded 0 photos
time to upload: 30.639269590377808 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:25:03.373844
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/24/image_07082025_01_24_45_11116.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_24_34_9926.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_24_24_9927.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_24_14_9985.jpg', 2), ('/mnt/data/07082025/01/23/image_07082025_01_23_44_9987.jpg', 2), ('/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/24/image_07082025_01_24_45_11116.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_34_9926.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_24_9927.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_14_9985.jpg', '/mnt/data/07082025/01/23/image_07082025_01_23_44_9987.jpg', '/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/24/image_07082025_01_24_45_11116.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_34_9926.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_24_9927.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_14_9985.jpg', '/mnt/data/07082025/01/23/image_07082025_01_23_44_9987.jpg', '/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/24/image_07082025_01_24_45_11116.jpg
/mnt/data/07082025/01/24/image_07082025_01_24_34_9926.jpg
/mnt/data/07082025/01/24/image_07082025_01_24_24_9927.jpg
/mnt/data/07082025/01/24/image_07082025_01_24_14_9985.jpg
/mnt/data/07082025/01/23/image_07082025_01_23_44_9987.jpg
/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg
uploaded 0 photos
time to upload: 30.20883345603943 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:26:02.367529
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/25/image_07082025_01_25_45_10247.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_25_34_10299.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_25_24_10326.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_25_14_8882.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_25_05_10109.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_24_55_9971.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/25/image_07082025_01_25_45_10247.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_34_10299.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_24_10326.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_14_8882.jpg', '/mnt/data/07082025/01/24/image_07082025_01_25_05_10109.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_55_9971.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/25/image_07082025_01_25_45_10247.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_34_10299.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_24_10326.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_14_8882.jpg', '/mnt/data/07082025/01/24/image_07082025_01_25_05_10109.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_55_9971.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/25/image_07082025_01_25_45_10247.jpg
/mnt/data/07082025/01/25/image_07082025_01_25_34_10299.jpg
/mnt/data/07082025/01/25/image_07082025_01_25_24_10326.jpg
/mnt/data/07082025/01/25/image_07082025_01_25_14_8882.jpg
/mnt/data/07082025/01/24/image_07082025_01_25_05_10109.jpg
/mnt/data/07082025/01/24/image_07082025_01_24_55_9971.jpg
uploaded 0 photos
time to upload: 30.18699336051941 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:27:03.046990
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/26/image_07082025_01_26_25_9982.jpg', 2), ('/mnt/data/07082025/01/26/image_07082025_01_26_15_10043.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_26_05_10076.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_25_55_10100.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_25_45_10247.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_25_34_10299.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/26/image_07082025_01_26_25_9982.jpg', '/mnt/data/07082025/01/26/image_07082025_01_26_15_10043.jpg', '/mnt/data/07082025/01/25/image_07082025_01_26_05_10076.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_55_10100.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_45_10247.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_34_10299.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/26/image_07082025_01_26_25_9982.jpg', '/mnt/data/07082025/01/26/image_07082025_01_26_15_10043.jpg', '/mnt/data/07082025/01/25/image_07082025_01_26_05_10076.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_55_10100.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_45_10247.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_34_10299.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/26/image_07082025_01_26_25_9982.jpg
/mnt/data/07082025/01/26/image_07082025_01_26_15_10043.jpg
/mnt/data/07082025/01/25/image_07082025_01_26_05_10076.jpg
/mnt/data/07082025/01/25/image_07082025_01_25_55_10100.jpg
/mnt/data/07082025/01/25/image_07082025_01_25_45_10247.jpg
/mnt/data/07082025/01/25/image_07082025_01_25_34_10299.jpg
uploaded 0 photos
time to upload: 30.20449447631836 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:29:03.497590
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/26/image_07082025_01_26_25_9982.jpg', 2), ('/mnt/data/07082025/01/26/image_07082025_01_26_15_10043.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_26_05_10076.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_25_55_10100.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_25_45_10247.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_25_34_10299.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/26/image_07082025_01_26_25_9982.jpg', '/mnt/data/07082025/01/26/image_07082025_01_26_15_10043.jpg', '/mnt/data/07082025/01/25/image_07082025_01_26_05_10076.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_55_10100.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_45_10247.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_34_10299.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/26/image_07082025_01_26_25_9982.jpg', '/mnt/data/07082025/01/26/image_07082025_01_26_15_10043.jpg', '/mnt/data/07082025/01/25/image_07082025_01_26_05_10076.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_55_10100.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_45_10247.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_34_10299.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/26/image_07082025_01_26_25_9982.jpg
/mnt/data/07082025/01/26/image_07082025_01_26_15_10043.jpg
/mnt/data/07082025/01/25/image_07082025_01_26_05_10076.jpg
/mnt/data/07082025/01/25/image_07082025_01_25_55_10100.jpg
/mnt/data/07082025/01/25/image_07082025_01_25_45_10247.jpg
/mnt/data/07082025/01/25/image_07082025_01_25_34_10299.jpg
uploaded 0 photos
time to upload: 32.837961196899414 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:30:02.403235
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/26/image_07082025_01_26_25_9982.jpg', 2), ('/mnt/data/07082025/01/26/image_07082025_01_26_15_10043.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_26_05_10076.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_25_55_10100.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_25_45_10247.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_25_34_10299.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/26/image_07082025_01_26_25_9982.jpg', '/mnt/data/07082025/01/26/image_07082025_01_26_15_10043.jpg', '/mnt/data/07082025/01/25/image_07082025_01_26_05_10076.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_55_10100.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_45_10247.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_34_10299.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/26/image_07082025_01_26_25_9982.jpg', '/mnt/data/07082025/01/26/image_07082025_01_26_15_10043.jpg', '/mnt/data/07082025/01/25/image_07082025_01_26_05_10076.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_55_10100.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_45_10247.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_34_10299.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/26/image_07082025_01_26_25_9982.jpg
/mnt/data/07082025/01/26/image_07082025_01_26_15_10043.jpg
/mnt/data/07082025/01/25/image_07082025_01_26_05_10076.jpg
/mnt/data/07082025/01/25/image_07082025_01_25_55_10100.jpg
/mnt/data/07082025/01/25/image_07082025_01_25_45_10247.jpg
/mnt/data/07082025/01/25/image_07082025_01_25_34_10299.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":["1375555836","1375555845","1375555827","1375555847","1375555831","1375555828"],"photo_ids_order":["1375555827","1375555828","1375555831","1375555836","1375555845","1375555847"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/c46c88c55ce5749d9f71e44b93f813bb.jpg","text":"TemporaryFile(/tmp/multipartBody5211861833486207792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523083226,"filename":"image_07082025_01_25_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/7/d1fbe26d65a9301e457818a83f2511b3.jpg","text":"TemporaryFile(/tmp/multipartBody2639335280636035837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523083226,"filename":"image_07082025_01_25_45_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/7/1fc4c9e9fac898e1ecfca7be8665978a.jpg","text":"TemporaryFile(/tmp/multipartBody199612185384007277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523083226,"filename":"image_07082025_01_26_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/7/2bab1e71a788c3e2933ff6af7a7625a6.jpg","text":"TemporaryFile(/tmp/multipartBody9061655402182419094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523083226,"filename":"image_07082025_01_25_34_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/7/a13704605b64d003724e03e0e28cb244.jpg","text":"TemporaryFile(/tmp/multipartBody7812033745594233287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523083226,"filename":"image_07082025_01_26_05_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/7/5acf9d477f4fdde2845062d67c32c025.jpg","text":"TemporaryFile(/tmp/multipartBody3735921571678741443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523083226,"filename":"image_07082025_01_26_15_10043.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375555831","file1":"1375555828","file0":"1375555827","file4":"1375555845","file5":"1375555847","file3":"1375555836"},"map_files_photo_id_array":[{"photo_id":"1375555847","filename":"file5"},{"photo_id":"1375555831","filename":"file2"},{"photo_id":"1375555845","filename":"file4"},{"photo_id":"1375555828","filename":"file1"},{"photo_id":"1375555827","filename":"file0"},{"photo_id":"1375555836","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375555836":["hashtag1","hashtag2"]},{"1375555845":["hashtag1","hashtag2"]},{"1375555827":["hashtag1","hashtag2"]},{"1375555847":["hashtag1","hashtag2"]},{"1375555831":["hashtag1","hashtag2"]},{"1375555828":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375555836, 1375555845, 1375555827, 1375555847, 1375555831, 1375555828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.676164388656616 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:32:02.420034
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/32/image_07082025_01_32_55_10052.jpg', 2), ('/mnt/data/07082025/01/30/image_07082025_01_30_15_10195.jpg', 2), ('/mnt/data/07082025/01/26/image_07082025_01_26_35_10066.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_25_24_10326.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_25_14_8882.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_25_05_10109.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/32/image_07082025_01_32_55_10052.jpg', '/mnt/data/07082025/01/30/image_07082025_01_30_15_10195.jpg', '/mnt/data/07082025/01/26/image_07082025_01_26_35_10066.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_24_10326.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_14_8882.jpg', '/mnt/data/07082025/01/24/image_07082025_01_25_05_10109.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/32/image_07082025_01_32_55_10052.jpg', '/mnt/data/07082025/01/30/image_07082025_01_30_15_10195.jpg', '/mnt/data/07082025/01/26/image_07082025_01_26_35_10066.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_24_10326.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_14_8882.jpg', '/mnt/data/07082025/01/24/image_07082025_01_25_05_10109.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/32/image_07082025_01_32_55_10052.jpg
/mnt/data/07082025/01/30/image_07082025_01_30_15_10195.jpg
/mnt/data/07082025/01/26/image_07082025_01_26_35_10066.jpg
/mnt/data/07082025/01/25/image_07082025_01_25_24_10326.jpg
/mnt/data/07082025/01/25/image_07082025_01_25_14_8882.jpg
/mnt/data/07082025/01/24/image_07082025_01_25_05_10109.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 148.1205780506134 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-07 01:35:02.556728
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/34/image_07082025_01_34_45_10296.jpg', 2), ('/mnt/data/07082025/01/34/image_07082025_01_34_34_10086.jpg', 2), ('/mnt/data/07082025/01/34/image_07082025_01_34_24_10088.jpg', 2), ('/mnt/data/07082025/01/34/image_07082025_01_34_14_10119.jpg', 2), ('/mnt/data/07082025/01/33/image_07082025_01_34_04_9059.jpg', 2), ('/mnt/data/07082025/01/33/image_07082025_01_33_55_10029.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/34/image_07082025_01_34_45_10296.jpg', '/mnt/data/07082025/01/34/image_07082025_01_34_34_10086.jpg', '/mnt/data/07082025/01/34/image_07082025_01_34_24_10088.jpg', '/mnt/data/07082025/01/34/image_07082025_01_34_14_10119.jpg', '/mnt/data/07082025/01/33/image_07082025_01_34_04_9059.jpg', '/mnt/data/07082025/01/33/image_07082025_01_33_55_10029.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/34/image_07082025_01_34_45_10296.jpg', '/mnt/data/07082025/01/34/image_07082025_01_34_34_10086.jpg', '/mnt/data/07082025/01/34/image_07082025_01_34_24_10088.jpg', '/mnt/data/07082025/01/34/image_07082025_01_34_14_10119.jpg', '/mnt/data/07082025/01/33/image_07082025_01_34_04_9059.jpg', '/mnt/data/07082025/01/33/image_07082025_01_33_55_10029.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/34/image_07082025_01_34_45_10296.jpg
/mnt/data/07082025/01/34/image_07082025_01_34_34_10086.jpg
/mnt/data/07082025/01/34/image_07082025_01_34_24_10088.jpg
/mnt/data/07082025/01/34/image_07082025_01_34_14_10119.jpg
/mnt/data/07082025/01/33/image_07082025_01_34_04_9059.jpg
/mnt/data/07082025/01/33/image_07082025_01_33_55_10029.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375555929","1375555926","1375555943","1375555940","1375555922","1375555924"],"photo_ids_order":["1375555922","1375555924","1375555926","1375555929","1375555940","1375555943"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/37b99016b433d868904309bb95394396.jpg","text":"TemporaryFile(/tmp/multipartBody6452808111452954182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523374354,"filename":"image_07082025_01_34_14_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/7/6c47291eaaa67e1ae61ec00024fabfac.jpg","text":"TemporaryFile(/tmp/multipartBody1626627078530144773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523374354,"filename":"image_07082025_01_34_24_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/7/a46aca22dd6afc0c3a91b83a89b3cba9.jpg","text":"TemporaryFile(/tmp/multipartBody6505393514379990938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523374354,"filename":"image_07082025_01_33_55_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/7/c8ed471302cf4967ce384764df343ae4.jpg","text":"TemporaryFile(/tmp/multipartBody5428753412842142220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523374354,"filename":"image_07082025_01_34_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/7/9e4c9256b674d6931930d956652a75da.jpg","text":"TemporaryFile(/tmp/multipartBody6020439033687738269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523374354,"filename":"image_07082025_01_34_45_10296.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d66589882ec3b97ee21db0a5497c5f6c.jpg","text":"TemporaryFile(/tmp/multipartBody6187768638882661468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523374354,"filename":"image_07082025_01_34_34_10086.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375555926","file1":"1375555924","file0":"1375555922","file4":"1375555940","file5":"1375555943","file3":"1375555929"},"map_files_photo_id_array":[{"photo_id":"1375555943","filename":"file5"},{"photo_id":"1375555926","filename":"file2"},{"photo_id":"1375555940","filename":"file4"},{"photo_id":"1375555924","filename":"file1"},{"photo_id":"1375555922","filename":"file0"},{"photo_id":"1375555929","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375555929":["hashtag1","hashtag2"]},{"1375555926":["hashtag1","hashtag2"]},{"1375555943":["hashtag1","hashtag2"]},{"1375555940":["hashtag1","hashtag2"]},{"1375555922":["hashtag1","hashtag2"]},{"1375555924":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375555929, 1375555926, 1375555943, 1375555940, 1375555922, 1375555924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.44090938568115 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:36:02.859595
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/35/image_07082025_01_35_44_10144.jpg', 2), ('/mnt/data/07082025/01/35/image_07082025_01_35_34_10243.jpg', 2), ('/mnt/data/07082025/01/35/image_07082025_01_35_24_10250.jpg', 2), ('/mnt/data/07082025/01/35/image_07082025_01_35_14_8902.jpg', 2), ('/mnt/data/07082025/01/34/image_07082025_01_35_05_10139.jpg', 2), ('/mnt/data/07082025/01/34/image_07082025_01_34_55_10282.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/35/image_07082025_01_35_44_10144.jpg', '/mnt/data/07082025/01/35/image_07082025_01_35_34_10243.jpg', '/mnt/data/07082025/01/35/image_07082025_01_35_24_10250.jpg', '/mnt/data/07082025/01/35/image_07082025_01_35_14_8902.jpg', '/mnt/data/07082025/01/34/image_07082025_01_35_05_10139.jpg', '/mnt/data/07082025/01/34/image_07082025_01_34_55_10282.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/35/image_07082025_01_35_44_10144.jpg', '/mnt/data/07082025/01/35/image_07082025_01_35_34_10243.jpg', '/mnt/data/07082025/01/35/image_07082025_01_35_24_10250.jpg', '/mnt/data/07082025/01/35/image_07082025_01_35_14_8902.jpg', '/mnt/data/07082025/01/34/image_07082025_01_35_05_10139.jpg', '/mnt/data/07082025/01/34/image_07082025_01_34_55_10282.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/35/image_07082025_01_35_44_10144.jpg
/mnt/data/07082025/01/35/image_07082025_01_35_34_10243.jpg
/mnt/data/07082025/01/35/image_07082025_01_35_24_10250.jpg
/mnt/data/07082025/01/35/image_07082025_01_35_14_8902.jpg
/mnt/data/07082025/01/34/image_07082025_01_35_05_10139.jpg
/mnt/data/07082025/01/34/image_07082025_01_34_55_10282.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":["1375555965","1375555961","1375555970","1375555967","1375555955","1375555972"],"photo_ids_order":["1375555955","1375555961","1375555965","1375555967","1375555970","1375555972"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/75c704e7a95a22ec1fd1f002288f10b6.jpg","text":"TemporaryFile(/tmp/multipartBody4354783398518582603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523443058,"filename":"image_07082025_01_35_24_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/7/d3f8ea9c1e2bc6ed1547c0442efb5975.jpg","text":"TemporaryFile(/tmp/multipartBody5744057651849509641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523443058,"filename":"image_07082025_01_35_34_10243.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/c471cc8e06c40bd4725a13f044119594.jpg","text":"TemporaryFile(/tmp/multipartBody6086017158045622257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523443058,"filename":"image_07082025_01_35_05_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/7/9f60e44e4e477f50cec25142e3432122.jpg","text":"TemporaryFile(/tmp/multipartBody3274550057415259357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523443058,"filename":"image_07082025_01_35_14_8902.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/3cc93585e31d791f73bd5d6ffa9bfae1.jpg","text":"TemporaryFile(/tmp/multipartBody8893259208890016363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523443058,"filename":"image_07082025_01_35_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/7/cfc7f70313b0cfbda0aca925647e9b4f.jpg","text":"TemporaryFile(/tmp/multipartBody3588226086467340516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523443058,"filename":"image_07082025_01_34_55_10282.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375555965","file1":"1375555961","file0":"1375555955","file4":"1375555970","file5":"1375555972","file3":"1375555967"},"map_files_photo_id_array":[{"photo_id":"1375555972","filename":"file5"},{"photo_id":"1375555965","filename":"file2"},{"photo_id":"1375555970","filename":"file4"},{"photo_id":"1375555961","filename":"file1"},{"photo_id":"1375555955","filename":"file0"},{"photo_id":"1375555967","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375555965":["hashtag1","hashtag2"]},{"1375555961":["hashtag1","hashtag2"]},{"1375555970":["hashtag1","hashtag2"]},{"1375555967":["hashtag1","hashtag2"]},{"1375555955":["hashtag1","hashtag2"]},{"1375555972":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375555965, 1375555961, 1375555970, 1375555967, 1375555955, 1375555972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.33461833000183 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:38:02.737102
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/37/image_07082025_01_37_34_10123.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_37_24_10111.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_37_14_9029.jpg', 2), ('/mnt/data/07082025/01/36/image_07082025_01_37_05_10127.jpg', 2), ('/mnt/data/07082025/01/36/image_07082025_01_36_55_10154.jpg', 2), ('/mnt/data/07082025/01/36/image_07082025_01_36_45_10235.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/37/image_07082025_01_37_34_10123.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_24_10111.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_14_9029.jpg', '/mnt/data/07082025/01/36/image_07082025_01_37_05_10127.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_55_10154.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_45_10235.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/37/image_07082025_01_37_34_10123.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_24_10111.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_14_9029.jpg', '/mnt/data/07082025/01/36/image_07082025_01_37_05_10127.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_55_10154.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_45_10235.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/37/image_07082025_01_37_34_10123.jpg
/mnt/data/07082025/01/37/image_07082025_01_37_24_10111.jpg
/mnt/data/07082025/01/37/image_07082025_01_37_14_9029.jpg
/mnt/data/07082025/01/36/image_07082025_01_37_05_10127.jpg
/mnt/data/07082025/01/36/image_07082025_01_36_55_10154.jpg
/mnt/data/07082025/01/36/image_07082025_01_36_45_10235.jpg
uploaded 0 photos
time to upload: 30.18761658668518 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:39:02.553860
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_37_44_10103.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_44_10103.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_44_10103.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg
/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg
/mnt/data/07082025/01/37/image_07082025_01_37_44_10103.jpg
uploaded 0 photos
time to upload: 30.182195901870728 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:40:02.831692
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/39/image_07082025_01_39_44_9983.jpg', 2), ('/mnt/data/07082025/01/39/image_07082025_01_39_34_10003.jpg', 2), ('/mnt/data/07082025/01/39/image_07082025_01_39_14_10047.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_39_04_9274.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/39/image_07082025_01_39_44_9983.jpg', '/mnt/data/07082025/01/39/image_07082025_01_39_34_10003.jpg', '/mnt/data/07082025/01/39/image_07082025_01_39_14_10047.jpg', '/mnt/data/07082025/01/38/image_07082025_01_39_04_9274.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/39/image_07082025_01_39_44_9983.jpg', '/mnt/data/07082025/01/39/image_07082025_01_39_34_10003.jpg', '/mnt/data/07082025/01/39/image_07082025_01_39_14_10047.jpg', '/mnt/data/07082025/01/38/image_07082025_01_39_04_9274.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/39/image_07082025_01_39_44_9983.jpg
/mnt/data/07082025/01/39/image_07082025_01_39_34_10003.jpg
/mnt/data/07082025/01/39/image_07082025_01_39_14_10047.jpg
/mnt/data/07082025/01/38/image_07082025_01_39_04_9274.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg
uploaded 0 photos
time to upload: 30.202850818634033 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:41:02.432442
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/40/image_07082025_01_40_44_9960.jpg', 2), ('/mnt/data/07082025/01/40/image_07082025_01_40_34_10048.jpg', 2), ('/mnt/data/07082025/01/40/image_07082025_01_40_24_10027.jpg', 2), ('/mnt/data/07082025/01/40/image_07082025_01_40_14_10004.jpg', 2), ('/mnt/data/07082025/01/39/image_07082025_01_40_04_10070.jpg', 2), ('/mnt/data/07082025/01/39/image_07082025_01_39_54_9963.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/40/image_07082025_01_40_44_9960.jpg', '/mnt/data/07082025/01/40/image_07082025_01_40_34_10048.jpg', '/mnt/data/07082025/01/40/image_07082025_01_40_24_10027.jpg', '/mnt/data/07082025/01/40/image_07082025_01_40_14_10004.jpg', '/mnt/data/07082025/01/39/image_07082025_01_40_04_10070.jpg', '/mnt/data/07082025/01/39/image_07082025_01_39_54_9963.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/40/image_07082025_01_40_44_9960.jpg', '/mnt/data/07082025/01/40/image_07082025_01_40_34_10048.jpg', '/mnt/data/07082025/01/40/image_07082025_01_40_24_10027.jpg', '/mnt/data/07082025/01/40/image_07082025_01_40_14_10004.jpg', '/mnt/data/07082025/01/39/image_07082025_01_40_04_10070.jpg', '/mnt/data/07082025/01/39/image_07082025_01_39_54_9963.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/40/image_07082025_01_40_44_9960.jpg
/mnt/data/07082025/01/40/image_07082025_01_40_34_10048.jpg
/mnt/data/07082025/01/40/image_07082025_01_40_24_10027.jpg
/mnt/data/07082025/01/40/image_07082025_01_40_14_10004.jpg
/mnt/data/07082025/01/39/image_07082025_01_40_04_10070.jpg
/mnt/data/07082025/01/39/image_07082025_01_39_54_9963.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375556099","1375556084","1375556095","1375556097","1375556091","1375556088"],"photo_ids_order":["1375556084","1375556088","1375556091","1375556095","1375556097","1375556099"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/c58a85e1368ae7a8dcdac47d3b449859.jpg","text":"TemporaryFile(/tmp/multipartBody4477243801284029691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523736512,"filename":"image_07082025_01_39_54_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/7/b9a2c7513639e7bd1807477773c22442.jpg","text":"TemporaryFile(/tmp/multipartBody4131688151950477444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523736512,"filename":"image_07082025_01_40_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/7/b40288d0344cabd313de77d66cd1ef12.jpg","text":"TemporaryFile(/tmp/multipartBody2382873709807709085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523736512,"filename":"image_07082025_01_40_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/7/e3ee4604d6793d7827bb6bc0a7109173.jpg","text":"TemporaryFile(/tmp/multipartBody6346257566030774506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523736512,"filename":"image_07082025_01_40_04_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/7/f71f99a72b543aed583761f1d95f6a2b.jpg","text":"TemporaryFile(/tmp/multipartBody7362700166422446481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523736512,"filename":"image_07082025_01_40_24_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/7/4535188f1a206c14be1663ec28ad438a.jpg","text":"TemporaryFile(/tmp/multipartBody2254183402238070645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523736512,"filename":"image_07082025_01_40_34_10048.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375556091","file1":"1375556088","file0":"1375556084","file4":"1375556097","file5":"1375556099","file3":"1375556095"},"map_files_photo_id_array":[{"photo_id":"1375556099","filename":"file5"},{"photo_id":"1375556091","filename":"file2"},{"photo_id":"1375556097","filename":"file4"},{"photo_id":"1375556088","filename":"file1"},{"photo_id":"1375556084","filename":"file0"},{"photo_id":"1375556095","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375556099":["hashtag1","hashtag2"]},{"1375556084":["hashtag1","hashtag2"]},{"1375556095":["hashtag1","hashtag2"]},{"1375556097":["hashtag1","hashtag2"]},{"1375556091":["hashtag1","hashtag2"]},{"1375556088":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375556099, 1375556084, 1375556095, 1375556097, 1375556091, 1375556088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.515458822250366 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:42:02.715807
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/41/image_07082025_01_41_45_9996.jpg', 2), ('/mnt/data/07082025/01/41/image_07082025_01_41_35_10109.jpg', 2), ('/mnt/data/07082025/01/40/image_07082025_01_41_04_9909.jpg', 2), ('/mnt/data/07082025/01/40/image_07082025_01_40_54_9978.jpg', 2), ('/mnt/data/07082025/01/39/image_07082025_01_39_44_9983.jpg', 2), ('/mnt/data/07082025/01/39/image_07082025_01_39_34_10003.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/41/image_07082025_01_41_45_9996.jpg', '/mnt/data/07082025/01/41/image_07082025_01_41_35_10109.jpg', '/mnt/data/07082025/01/40/image_07082025_01_41_04_9909.jpg', '/mnt/data/07082025/01/40/image_07082025_01_40_54_9978.jpg', '/mnt/data/07082025/01/39/image_07082025_01_39_44_9983.jpg', '/mnt/data/07082025/01/39/image_07082025_01_39_34_10003.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/41/image_07082025_01_41_45_9996.jpg', '/mnt/data/07082025/01/41/image_07082025_01_41_35_10109.jpg', '/mnt/data/07082025/01/40/image_07082025_01_41_04_9909.jpg', '/mnt/data/07082025/01/40/image_07082025_01_40_54_9978.jpg', '/mnt/data/07082025/01/39/image_07082025_01_39_44_9983.jpg', '/mnt/data/07082025/01/39/image_07082025_01_39_34_10003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/41/image_07082025_01_41_45_9996.jpg
/mnt/data/07082025/01/41/image_07082025_01_41_35_10109.jpg
/mnt/data/07082025/01/40/image_07082025_01_41_04_9909.jpg
/mnt/data/07082025/01/40/image_07082025_01_40_54_9978.jpg
/mnt/data/07082025/01/39/image_07082025_01_39_44_9983.jpg
/mnt/data/07082025/01/39/image_07082025_01_39_34_10003.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375556121","1375556124","1375556118","1375556126","1375556114","1375556110"],"photo_ids_order":["1375556110","1375556114","1375556118","1375556121","1375556124","1375556126"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/f6649fe43ba67339384068a3e6569746.jpg","text":"TemporaryFile(/tmp/multipartBody7831000967342657273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523799963,"filename":"image_07082025_01_40_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/7/2dfc37b682c248e692892c3edcde74fc.jpg","text":"TemporaryFile(/tmp/multipartBody9182636575279291307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523799963,"filename":"image_07082025_01_39_44_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/7/e222147528a3bf1afdb99b340bc1852e.jpg","text":"TemporaryFile(/tmp/multipartBody6925072961493890287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523799963,"filename":"image_07082025_01_41_04_9909.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/279587ec9f407b1ebb14fa7860169c55.jpg","text":"TemporaryFile(/tmp/multipartBody6546763271800086172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523799963,"filename":"image_07082025_01_39_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/7/46ae05cfa48344511f225a39e549f09c.jpg","text":"TemporaryFile(/tmp/multipartBody6489536158317543519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523799963,"filename":"image_07082025_01_41_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/7/439aed7bd54d6da2f661816ac2e3c9df.jpg","text":"TemporaryFile(/tmp/multipartBody3691159779857816908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754523799963,"filename":"image_07082025_01_41_45_9996.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375556118","file1":"1375556114","file0":"1375556110","file4":"1375556124","file5":"1375556126","file3":"1375556121"},"map_files_photo_id_array":[{"photo_id":"1375556126","filename":"file5"},{"photo_id":"1375556118","filename":"file2"},{"photo_id":"1375556124","filename":"file4"},{"photo_id":"1375556114","filename":"file1"},{"photo_id":"1375556110","filename":"file0"},{"photo_id":"1375556121","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375556121":["hashtag1","hashtag2"]},{"1375556124":["hashtag1","hashtag2"]},{"1375556118":["hashtag1","hashtag2"]},{"1375556126":["hashtag1","hashtag2"]},{"1375556114":["hashtag1","hashtag2"]},{"1375556110":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375556121, 1375556124, 1375556118, 1375556126, 1375556114, 1375556110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.26900792121887 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:43:02.447360
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/42/image_07082025_01_42_44_9927.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_42_34_10175.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_42_24_9988.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_42_14_10334.jpg', 2), ('/mnt/data/07082025/01/41/image_07082025_01_42_04_9179.jpg', 2), ('/mnt/data/07082025/01/41/image_07082025_01_41_55_10102.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/42/image_07082025_01_42_44_9927.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_34_10175.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_24_9988.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_14_10334.jpg', '/mnt/data/07082025/01/41/image_07082025_01_42_04_9179.jpg', '/mnt/data/07082025/01/41/image_07082025_01_41_55_10102.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/42/image_07082025_01_42_44_9927.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_34_10175.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_24_9988.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_14_10334.jpg', '/mnt/data/07082025/01/41/image_07082025_01_42_04_9179.jpg', '/mnt/data/07082025/01/41/image_07082025_01_41_55_10102.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/42/image_07082025_01_42_44_9927.jpg
/mnt/data/07082025/01/42/image_07082025_01_42_34_10175.jpg
/mnt/data/07082025/01/42/image_07082025_01_42_24_9988.jpg
/mnt/data/07082025/01/42/image_07082025_01_42_14_10334.jpg
/mnt/data/07082025/01/41/image_07082025_01_42_04_9179.jpg
/mnt/data/07082025/01/41/image_07082025_01_41_55_10102.jpg
uploaded 0 photos
time to upload: 3.05444073677063 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-07 01:44:02.748933
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_24_8948.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_15_10206.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_43_05_10285.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_42_54_9964.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_24_8948.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_15_10206.jpg', '/mnt/data/07082025/01/42/image_07082025_01_43_05_10285.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_54_9964.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_24_8948.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_15_10206.jpg', '/mnt/data/07082025/01/42/image_07082025_01_43_05_10285.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_54_9964.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_24_8948.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_15_10206.jpg
/mnt/data/07082025/01/42/image_07082025_01_43_05_10285.jpg
/mnt/data/07082025/01/42/image_07082025_01_42_54_9964.jpg
uploaded 0 photos
time to upload: 32.82852602005005 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:45:02.753580
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', '/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', '/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg
/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg
uploaded 0 photos
time to upload: 30.214073657989502 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:46:02.915084
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', '/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', '/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg
/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg
/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg
/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg
uploaded 0 photos
time to upload: 30.190261602401733 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:47:02.456566
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/46/image_07082025_01_46_45_9979.jpg', 2), ('/mnt/data/07082025/01/46/image_07082025_01_46_35_10056.jpg', 2), ('/mnt/data/07082025/01/46/image_07082025_01_46_25_9982.jpg', 2), ('/mnt/data/07082025/01/46/image_07082025_01_46_15_10017.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_46_05_10079.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_45_55_10087.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/46/image_07082025_01_46_45_9979.jpg', '/mnt/data/07082025/01/46/image_07082025_01_46_35_10056.jpg', '/mnt/data/07082025/01/46/image_07082025_01_46_25_9982.jpg', '/mnt/data/07082025/01/46/image_07082025_01_46_15_10017.jpg', '/mnt/data/07082025/01/45/image_07082025_01_46_05_10079.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_55_10087.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/46/image_07082025_01_46_45_9979.jpg', '/mnt/data/07082025/01/46/image_07082025_01_46_35_10056.jpg', '/mnt/data/07082025/01/46/image_07082025_01_46_25_9982.jpg', '/mnt/data/07082025/01/46/image_07082025_01_46_15_10017.jpg', '/mnt/data/07082025/01/45/image_07082025_01_46_05_10079.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_55_10087.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/46/image_07082025_01_46_45_9979.jpg
/mnt/data/07082025/01/46/image_07082025_01_46_35_10056.jpg
/mnt/data/07082025/01/46/image_07082025_01_46_25_9982.jpg
/mnt/data/07082025/01/46/image_07082025_01_46_15_10017.jpg
/mnt/data/07082025/01/45/image_07082025_01_46_05_10079.jpg
/mnt/data/07082025/01/45/image_07082025_01_45_55_10087.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375556232","1375556231","1375556219","1375556228","1375556216","1375556224"],"photo_ids_order":["1375556216","1375556219","1375556224","1375556228","1375556231","1375556232"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/0efa35a92af313582cc63a03e2305089.jpg","text":"TemporaryFile(/tmp/multipartBody7537767456336888413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524096401,"filename":"image_07082025_01_45_55_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/7/4300387f7300721887426f9f632feb81.jpg","text":"TemporaryFile(/tmp/multipartBody4370215174934424581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524096401,"filename":"image_07082025_01_46_05_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/7/338a2677a21e89ba46952769a27027d7.jpg","text":"TemporaryFile(/tmp/multipartBody5872482272959953277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524096401,"filename":"image_07082025_01_46_35_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/7/4994fda53d872b18a6c007a3a312e9ca.jpg","text":"TemporaryFile(/tmp/multipartBody8072711325757849120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524096401,"filename":"image_07082025_01_46_15_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/7/ae14cf24c8372da58fa7410a540fd60b.jpg","text":"TemporaryFile(/tmp/multipartBody2459162317779602193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524096401,"filename":"image_07082025_01_46_45_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/7/9dad79cc17cf3f0bf96998d266a32253.jpg","text":"TemporaryFile(/tmp/multipartBody4763971694080470841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524096401,"filename":"image_07082025_01_46_25_9982.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375556224","file1":"1375556219","file0":"1375556216","file4":"1375556231","file5":"1375556232","file3":"1375556228"},"map_files_photo_id_array":[{"photo_id":"1375556232","filename":"file5"},{"photo_id":"1375556224","filename":"file2"},{"photo_id":"1375556231","filename":"file4"},{"photo_id":"1375556219","filename":"file1"},{"photo_id":"1375556216","filename":"file0"},{"photo_id":"1375556228","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375556232":["hashtag1","hashtag2"]},{"1375556231":["hashtag1","hashtag2"]},{"1375556219":["hashtag1","hashtag2"]},{"1375556228":["hashtag1","hashtag2"]},{"1375556216":["hashtag1","hashtag2"]},{"1375556224":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375556232, 1375556231, 1375556219, 1375556228, 1375556216, 1375556224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.437708377838135 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:48:02.855333
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', '/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', '/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg
/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg
/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg
/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg
/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg
uploaded 0 photos
time to upload: 30.207186460494995 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:49:02.581567
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 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-07 01:50:02.821020
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/49/image_07082025_01_49_45_9983.jpg', 2), ('/mnt/data/07082025/01/49/image_07082025_01_49_35_9969.jpg', 2), ('/mnt/data/07082025/01/49/image_07082025_01_49_25_9977.jpg', 2), ('/mnt/data/07082025/01/49/image_07082025_01_49_15_9964.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_49_05_10007.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_48_55_9986.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/49/image_07082025_01_49_45_9983.jpg', '/mnt/data/07082025/01/49/image_07082025_01_49_35_9969.jpg', '/mnt/data/07082025/01/49/image_07082025_01_49_25_9977.jpg', '/mnt/data/07082025/01/49/image_07082025_01_49_15_9964.jpg', '/mnt/data/07082025/01/48/image_07082025_01_49_05_10007.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_55_9986.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/49/image_07082025_01_49_45_9983.jpg', '/mnt/data/07082025/01/49/image_07082025_01_49_35_9969.jpg', '/mnt/data/07082025/01/49/image_07082025_01_49_25_9977.jpg', '/mnt/data/07082025/01/49/image_07082025_01_49_15_9964.jpg', '/mnt/data/07082025/01/48/image_07082025_01_49_05_10007.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_55_9986.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/49/image_07082025_01_49_45_9983.jpg
/mnt/data/07082025/01/49/image_07082025_01_49_35_9969.jpg
/mnt/data/07082025/01/49/image_07082025_01_49_25_9977.jpg
/mnt/data/07082025/01/49/image_07082025_01_49_15_9964.jpg
/mnt/data/07082025/01/48/image_07082025_01_49_05_10007.jpg
/mnt/data/07082025/01/48/image_07082025_01_48_55_9986.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375556313","1375556294","1375556306","1375556309","1375556302","1375556298"],"photo_ids_order":["1375556294","1375556298","1375556302","1375556306","1375556309","1375556313"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/72a978888083f1eb6c2073e33e65244b.jpg","text":"TemporaryFile(/tmp/multipartBody8616539997654699992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524280524,"filename":"image_07082025_01_48_55_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/7/da63e070e5ca2ae99a006ed04a828b47.jpg","text":"TemporaryFile(/tmp/multipartBody7693998756894683979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524280524,"filename":"image_07082025_01_49_45_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/7/695fad16c22d71c0f34aba8bb41ab844.jpg","text":"TemporaryFile(/tmp/multipartBody5346230922397786522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524280524,"filename":"image_07082025_01_49_15_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/7/6248124a805e98c4bbaf494c26ca45c3.jpg","text":"TemporaryFile(/tmp/multipartBody2285650384181216223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524280524,"filename":"image_07082025_01_49_05_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/7/361126869d447582f8dda27bd3c07bb3.jpg","text":"TemporaryFile(/tmp/multipartBody2985886342880389981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524280524,"filename":"image_07082025_01_49_25_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/7/9e663eecfa3dcb277ca3be51ea208f1c.jpg","text":"TemporaryFile(/tmp/multipartBody2202334624328311404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524280524,"filename":"image_07082025_01_49_35_9969.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375556302","file1":"1375556298","file0":"1375556294","file4":"1375556309","file5":"1375556313","file3":"1375556306"},"map_files_photo_id_array":[{"photo_id":"1375556313","filename":"file5"},{"photo_id":"1375556302","filename":"file2"},{"photo_id":"1375556309","filename":"file4"},{"photo_id":"1375556298","filename":"file1"},{"photo_id":"1375556294","filename":"file0"},{"photo_id":"1375556306","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375556313":["hashtag1","hashtag2"]},{"1375556294":["hashtag1","hashtag2"]},{"1375556306":["hashtag1","hashtag2"]},{"1375556309":["hashtag1","hashtag2"]},{"1375556302":["hashtag1","hashtag2"]},{"1375556298":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375556313, 1375556294, 1375556306, 1375556309, 1375556302, 1375556298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.497493267059326 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:51:02.546271
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/50/image_07082025_01_50_45_10091.jpg', 2), ('/mnt/data/07082025/01/50/image_07082025_01_50_35_10108.jpg', 2), ('/mnt/data/07082025/01/50/image_07082025_01_50_25_10058.jpg', 2), ('/mnt/data/07082025/01/50/image_07082025_01_50_15_9905.jpg', 2), ('/mnt/data/07082025/01/49/image_07082025_01_50_06_10237.jpg', 2), ('/mnt/data/07082025/01/49/image_07082025_01_49_55_9984.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/50/image_07082025_01_50_45_10091.jpg', '/mnt/data/07082025/01/50/image_07082025_01_50_35_10108.jpg', '/mnt/data/07082025/01/50/image_07082025_01_50_25_10058.jpg', '/mnt/data/07082025/01/50/image_07082025_01_50_15_9905.jpg', '/mnt/data/07082025/01/49/image_07082025_01_50_06_10237.jpg', '/mnt/data/07082025/01/49/image_07082025_01_49_55_9984.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/50/image_07082025_01_50_45_10091.jpg', '/mnt/data/07082025/01/50/image_07082025_01_50_35_10108.jpg', '/mnt/data/07082025/01/50/image_07082025_01_50_25_10058.jpg', '/mnt/data/07082025/01/50/image_07082025_01_50_15_9905.jpg', '/mnt/data/07082025/01/49/image_07082025_01_50_06_10237.jpg', '/mnt/data/07082025/01/49/image_07082025_01_49_55_9984.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/50/image_07082025_01_50_45_10091.jpg
/mnt/data/07082025/01/50/image_07082025_01_50_35_10108.jpg
/mnt/data/07082025/01/50/image_07082025_01_50_25_10058.jpg
/mnt/data/07082025/01/50/image_07082025_01_50_15_9905.jpg
/mnt/data/07082025/01/49/image_07082025_01_50_06_10237.jpg
/mnt/data/07082025/01/49/image_07082025_01_49_55_9984.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":["1375556354","1375556351","1375556347","1375556341","1375556344","1375556337"],"photo_ids_order":["1375556337","1375556341","1375556344","1375556347","1375556351","1375556354"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/24c09cc2d947631d189371d3dd14c6a5.jpg","text":"TemporaryFile(/tmp/multipartBody5772456963042828385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524346349,"filename":"image_07082025_01_49_55_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/7/6972faef879de5a4e33d750679709062.jpg","text":"TemporaryFile(/tmp/multipartBody7159393235782579851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524346349,"filename":"image_07082025_01_50_06_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/7/0cddefa68f34c2cf254417364cc28948.jpg","text":"TemporaryFile(/tmp/multipartBody4010757420749588408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524346349,"filename":"image_07082025_01_50_15_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/7/7c70028496704f97c35c426e9587bfbb.jpg","text":"TemporaryFile(/tmp/multipartBody5139927062214427452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524346349,"filename":"image_07082025_01_50_35_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/7/6408d700e5356d5039ea51860371956a.jpg","text":"TemporaryFile(/tmp/multipartBody4252925033032897718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524346349,"filename":"image_07082025_01_50_25_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/7/9e9eb69ee92b372751c843942504aff9.jpg","text":"TemporaryFile(/tmp/multipartBody5555782031428590114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524346349,"filename":"image_07082025_01_50_45_10091.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375556344","file1":"1375556341","file0":"1375556337","file4":"1375556351","file5":"1375556354","file3":"1375556347"},"map_files_photo_id_array":[{"photo_id":"1375556354","filename":"file5"},{"photo_id":"1375556344","filename":"file2"},{"photo_id":"1375556351","filename":"file4"},{"photo_id":"1375556341","filename":"file1"},{"photo_id":"1375556337","filename":"file0"},{"photo_id":"1375556347","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375556354":["hashtag1","hashtag2"]},{"1375556351":["hashtag1","hashtag2"]},{"1375556347":["hashtag1","hashtag2"]},{"1375556341":["hashtag1","hashtag2"]},{"1375556344":["hashtag1","hashtag2"]},{"1375556337":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375556354, 1375556351, 1375556347, 1375556341, 1375556344, 1375556337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.00403356552124 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:53:03.115129
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/52/image_07082025_01_52_45_9981.jpg', 2), ('/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg', 2), ('/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg', 2), ('/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/52/image_07082025_01_52_45_9981.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg', '/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/52/image_07082025_01_52_45_9981.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg', '/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/52/image_07082025_01_52_45_9981.jpg
/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg
/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg
/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg
/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg
/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg
uploaded 0 photos
time to upload: 15.142664909362793 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-07 01:54:02.720747
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/53/image_07082025_01_53_45_9995.jpg', 2), ('/mnt/data/07082025/01/53/image_07082025_01_53_35_10121.jpg', 2), ('/mnt/data/07082025/01/53/image_07082025_01_53_25_10236.jpg', 2), ('/mnt/data/07082025/01/53/image_07082025_01_53_15_9982.jpg', 2), ('/mnt/data/07082025/01/52/image_07082025_01_53_05_10062.jpg', 2), ('/mnt/data/07082025/01/52/image_07082025_01_52_55_9974.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/53/image_07082025_01_53_45_9995.jpg', '/mnt/data/07082025/01/53/image_07082025_01_53_35_10121.jpg', '/mnt/data/07082025/01/53/image_07082025_01_53_25_10236.jpg', '/mnt/data/07082025/01/53/image_07082025_01_53_15_9982.jpg', '/mnt/data/07082025/01/52/image_07082025_01_53_05_10062.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_55_9974.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/53/image_07082025_01_53_45_9995.jpg', '/mnt/data/07082025/01/53/image_07082025_01_53_35_10121.jpg', '/mnt/data/07082025/01/53/image_07082025_01_53_25_10236.jpg', '/mnt/data/07082025/01/53/image_07082025_01_53_15_9982.jpg', '/mnt/data/07082025/01/52/image_07082025_01_53_05_10062.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_55_9974.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/53/image_07082025_01_53_45_9995.jpg
/mnt/data/07082025/01/53/image_07082025_01_53_35_10121.jpg
/mnt/data/07082025/01/53/image_07082025_01_53_25_10236.jpg
/mnt/data/07082025/01/53/image_07082025_01_53_15_9982.jpg
/mnt/data/07082025/01/52/image_07082025_01_53_05_10062.jpg
/mnt/data/07082025/01/52/image_07082025_01_52_55_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":["1375556424","1375556427","1375556415","1375556429","1375556420","1375556426"],"photo_ids_order":["1375556415","1375556420","1375556424","1375556426","1375556427","1375556429"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/20e1496af8bd0122e2d2697e53737bb6.jpg","text":"TemporaryFile(/tmp/multipartBody1370884968370574896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524524188,"filename":"image_07082025_01_53_25_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/7/b104141e3763b9da3dc0f5372e655e26.jpg","text":"TemporaryFile(/tmp/multipartBody5092303198013885611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524524188,"filename":"image_07082025_01_53_05_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/7/f2d0fc37a92dbb254892952391e072fd.jpg","text":"TemporaryFile(/tmp/multipartBody4916256680462021032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524524188,"filename":"image_07082025_01_53_45_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/7/b756fdb36fe0ba6ec50d8e09916fda79.jpg","text":"TemporaryFile(/tmp/multipartBody1806754278145375444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524524188,"filename":"image_07082025_01_52_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/7/4b7271d570095a27f143b37285ea6baf.jpg","text":"TemporaryFile(/tmp/multipartBody2718263137090791310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524524188,"filename":"image_07082025_01_53_35_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/7/32283e155d4fe02096ea47edfc1aca63.jpg","text":"TemporaryFile(/tmp/multipartBody4045064607533768182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524524188,"filename":"image_07082025_01_53_15_9982.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375556424","file1":"1375556420","file0":"1375556415","file4":"1375556427","file5":"1375556429","file3":"1375556426"},"map_files_photo_id_array":[{"photo_id":"1375556429","filename":"file5"},{"photo_id":"1375556424","filename":"file2"},{"photo_id":"1375556427","filename":"file4"},{"photo_id":"1375556420","filename":"file1"},{"photo_id":"1375556415","filename":"file0"},{"photo_id":"1375556426","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375556424":["hashtag1","hashtag2"]},{"1375556427":["hashtag1","hashtag2"]},{"1375556415":["hashtag1","hashtag2"]},{"1375556429":["hashtag1","hashtag2"]},{"1375556420":["hashtag1","hashtag2"]},{"1375556426":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375556424, 1375556427, 1375556415, 1375556429, 1375556420, 1375556426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.84443807601929 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:56:02.416907
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/55/image_07082025_01_55_46_10029.jpg', 2), ('/mnt/data/07082025/01/55/image_07082025_01_55_35_10084.jpg', 2), ('/mnt/data/07082025/01/55/image_07082025_01_55_24_9565.jpg', 2), ('/mnt/data/07082025/01/55/image_07082025_01_55_15_10094.jpg', 2), ('/mnt/data/07082025/01/54/image_07082025_01_55_05_10000.jpg', 2), ('/mnt/data/07082025/01/54/image_07082025_01_54_55_9969.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/55/image_07082025_01_55_46_10029.jpg', '/mnt/data/07082025/01/55/image_07082025_01_55_35_10084.jpg', '/mnt/data/07082025/01/55/image_07082025_01_55_24_9565.jpg', '/mnt/data/07082025/01/55/image_07082025_01_55_15_10094.jpg', '/mnt/data/07082025/01/54/image_07082025_01_55_05_10000.jpg', '/mnt/data/07082025/01/54/image_07082025_01_54_55_9969.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/55/image_07082025_01_55_46_10029.jpg', '/mnt/data/07082025/01/55/image_07082025_01_55_35_10084.jpg', '/mnt/data/07082025/01/55/image_07082025_01_55_24_9565.jpg', '/mnt/data/07082025/01/55/image_07082025_01_55_15_10094.jpg', '/mnt/data/07082025/01/54/image_07082025_01_55_05_10000.jpg', '/mnt/data/07082025/01/54/image_07082025_01_54_55_9969.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/55/image_07082025_01_55_46_10029.jpg
/mnt/data/07082025/01/55/image_07082025_01_55_35_10084.jpg
/mnt/data/07082025/01/55/image_07082025_01_55_24_9565.jpg
/mnt/data/07082025/01/55/image_07082025_01_55_15_10094.jpg
/mnt/data/07082025/01/54/image_07082025_01_55_05_10000.jpg
/mnt/data/07082025/01/54/image_07082025_01_54_55_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":["1375556466","1375556474","1375556476","1375556470","1375556472","1375556475"],"photo_ids_order":["1375556466","1375556470","1375556472","1375556474","1375556475","1375556476"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/cee5d5ab5202e7c36bafe3e204cac3b2.jpg","text":"TemporaryFile(/tmp/multipartBody676140281076497144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524651095,"filename":"image_07082025_01_55_46_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/7/69f42ce0e3e70824b1d5c5ba76f172ca.jpg","text":"TemporaryFile(/tmp/multipartBody197449177858770828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524651095,"filename":"image_07082025_01_55_15_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/7/206d61605249574c852027542baa8baa.jpg","text":"TemporaryFile(/tmp/multipartBody3841743946415852977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524651095,"filename":"image_07082025_01_54_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/7/e3cb827099a43ace5b0273aac89efa46.jpg","text":"TemporaryFile(/tmp/multipartBody6664023015210861311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524651095,"filename":"image_07082025_01_55_35_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/7/0b73ef5ff171f705db61b26bc9c2c70f.jpg","text":"TemporaryFile(/tmp/multipartBody3916464304690479578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524651095,"filename":"image_07082025_01_55_24_9565.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/fb83d52ecccf9e5439d041efdcba3241.jpg","text":"TemporaryFile(/tmp/multipartBody4256357629636412950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754524651095,"filename":"image_07082025_01_55_05_10000.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375556472","file1":"1375556470","file0":"1375556466","file4":"1375556475","file5":"1375556476","file3":"1375556474"},"map_files_photo_id_array":[{"photo_id":"1375556476","filename":"file5"},{"photo_id":"1375556472","filename":"file2"},{"photo_id":"1375556475","filename":"file4"},{"photo_id":"1375556470","filename":"file1"},{"photo_id":"1375556466","filename":"file0"},{"photo_id":"1375556474","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375556466":["hashtag1","hashtag2"]},{"1375556474":["hashtag1","hashtag2"]},{"1375556476":["hashtag1","hashtag2"]},{"1375556470":["hashtag1","hashtag2"]},{"1375556472":["hashtag1","hashtag2"]},{"1375556475":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375556466, 1375556474, 1375556476, 1375556470, 1375556472, 1375556475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.67053174972534 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 01:59:02.793490
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg', 2), ('/mnt/data/07082025/01/58/image_07082025_01_58_35_9998.jpg', 2), ('/mnt/data/07082025/01/58/image_07082025_01_58_25_10095.jpg', 2), ('/mnt/data/07082025/01/57/image_07082025_01_58_04_10131.jpg', 2), ('/mnt/data/07082025/01/57/image_07082025_01_57_54_9999.jpg', 2), ('/mnt/data/07082025/01/57/image_07082025_01_57_44_9990.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_35_9998.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_25_10095.jpg', '/mnt/data/07082025/01/57/image_07082025_01_58_04_10131.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_54_9999.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_44_9990.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_35_9998.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_25_10095.jpg', '/mnt/data/07082025/01/57/image_07082025_01_58_04_10131.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_54_9999.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_44_9990.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg
/mnt/data/07082025/01/58/image_07082025_01_58_35_9998.jpg
/mnt/data/07082025/01/58/image_07082025_01_58_25_10095.jpg
/mnt/data/07082025/01/57/image_07082025_01_58_04_10131.jpg
/mnt/data/07082025/01/57/image_07082025_01_57_54_9999.jpg
/mnt/data/07082025/01/57/image_07082025_01_57_44_9990.jpg
uploaded 0 photos
time to upload: 32.43528962135315 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:00:02.717794
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/59/image_07082025_01_59_45_10139.jpg', 2), ('/mnt/data/07082025/01/59/image_07082025_01_59_35_10083.jpg', 2), ('/mnt/data/07082025/01/59/image_07082025_01_59_25_9951.jpg', 2), ('/mnt/data/07082025/01/59/image_07082025_01_59_15_10032.jpg', 2), ('/mnt/data/07082025/01/58/image_07082025_01_59_05_10045.jpg', 2), ('/mnt/data/07082025/01/58/image_07082025_01_58_54_10020.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/59/image_07082025_01_59_45_10139.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_35_10083.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_25_9951.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_15_10032.jpg', '/mnt/data/07082025/01/58/image_07082025_01_59_05_10045.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_54_10020.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/59/image_07082025_01_59_45_10139.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_35_10083.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_25_9951.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_15_10032.jpg', '/mnt/data/07082025/01/58/image_07082025_01_59_05_10045.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_54_10020.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/59/image_07082025_01_59_45_10139.jpg
/mnt/data/07082025/01/59/image_07082025_01_59_35_10083.jpg
/mnt/data/07082025/01/59/image_07082025_01_59_25_9951.jpg
/mnt/data/07082025/01/59/image_07082025_01_59_15_10032.jpg
/mnt/data/07082025/01/58/image_07082025_01_59_05_10045.jpg
/mnt/data/07082025/01/58/image_07082025_01_58_54_10020.jpg
uploaded 0 photos
time to upload: 30.198770761489868 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:01:03.347306
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/00/image_07082025_02_00_44_10077.jpg', 2), ('/mnt/data/07082025/02/00/image_07082025_02_00_34_10167.jpg', 2), ('/mnt/data/07082025/02/00/image_07082025_02_00_24_10132.jpg', 2), ('/mnt/data/07082025/02/00/image_07082025_02_00_14_10090.jpg', 2), ('/mnt/data/07082025/01/59/image_07082025_02_00_04_9135.jpg', 2), ('/mnt/data/07082025/01/59/image_07082025_01_59_55_10062.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/00/image_07082025_02_00_44_10077.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_34_10167.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_24_10132.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_14_10090.jpg', '/mnt/data/07082025/01/59/image_07082025_02_00_04_9135.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_55_10062.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/00/image_07082025_02_00_44_10077.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_34_10167.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_24_10132.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_14_10090.jpg', '/mnt/data/07082025/01/59/image_07082025_02_00_04_9135.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_55_10062.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/00/image_07082025_02_00_44_10077.jpg
/mnt/data/07082025/02/00/image_07082025_02_00_34_10167.jpg
/mnt/data/07082025/02/00/image_07082025_02_00_24_10132.jpg
/mnt/data/07082025/02/00/image_07082025_02_00_14_10090.jpg
/mnt/data/07082025/01/59/image_07082025_02_00_04_9135.jpg
/mnt/data/07082025/01/59/image_07082025_01_59_55_10062.jpg
uploaded 0 photos
time to upload: 30.20820927619934 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:02:02.624247
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/01/image_07082025_02_01_44_8857.jpg', 2), ('/mnt/data/07082025/02/01/image_07082025_02_01_35_10050.jpg', 2), ('/mnt/data/07082025/02/01/image_07082025_02_01_25_10117.jpg', 2), ('/mnt/data/07082025/02/00/image_07082025_02_01_05_10099.jpg', 2), ('/mnt/data/07082025/02/00/image_07082025_02_00_54_10072.jpg', 2), ('/mnt/data/07082025/02/00/image_07082025_02_00_44_10077.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/01/image_07082025_02_01_44_8857.jpg', '/mnt/data/07082025/02/01/image_07082025_02_01_35_10050.jpg', '/mnt/data/07082025/02/01/image_07082025_02_01_25_10117.jpg', '/mnt/data/07082025/02/00/image_07082025_02_01_05_10099.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_54_10072.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_44_10077.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/01/image_07082025_02_01_44_8857.jpg', '/mnt/data/07082025/02/01/image_07082025_02_01_35_10050.jpg', '/mnt/data/07082025/02/01/image_07082025_02_01_25_10117.jpg', '/mnt/data/07082025/02/00/image_07082025_02_01_05_10099.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_54_10072.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_44_10077.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/01/image_07082025_02_01_44_8857.jpg
/mnt/data/07082025/02/01/image_07082025_02_01_35_10050.jpg
/mnt/data/07082025/02/01/image_07082025_02_01_25_10117.jpg
/mnt/data/07082025/02/00/image_07082025_02_01_05_10099.jpg
/mnt/data/07082025/02/00/image_07082025_02_00_54_10072.jpg
/mnt/data/07082025/02/00/image_07082025_02_00_44_10077.jpg
uploaded 0 photos
time to upload: 30.20546269416809 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:03:02.491201
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/02/image_07082025_02_02_44_10014.jpg', 2), ('/mnt/data/07082025/02/02/image_07082025_02_02_34_9986.jpg', 2), ('/mnt/data/07082025/02/02/image_07082025_02_02_24_9948.jpg', 2), ('/mnt/data/07082025/02/02/image_07082025_02_02_14_9938.jpg', 2), ('/mnt/data/07082025/02/01/image_07082025_02_02_04_10071.jpg', 2), ('/mnt/data/07082025/02/01/image_07082025_02_01_54_10116.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/02/image_07082025_02_02_44_10014.jpg', '/mnt/data/07082025/02/02/image_07082025_02_02_34_9986.jpg', '/mnt/data/07082025/02/02/image_07082025_02_02_24_9948.jpg', '/mnt/data/07082025/02/02/image_07082025_02_02_14_9938.jpg', '/mnt/data/07082025/02/01/image_07082025_02_02_04_10071.jpg', '/mnt/data/07082025/02/01/image_07082025_02_01_54_10116.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/02/image_07082025_02_02_44_10014.jpg', '/mnt/data/07082025/02/02/image_07082025_02_02_34_9986.jpg', '/mnt/data/07082025/02/02/image_07082025_02_02_24_9948.jpg', '/mnt/data/07082025/02/02/image_07082025_02_02_14_9938.jpg', '/mnt/data/07082025/02/01/image_07082025_02_02_04_10071.jpg', '/mnt/data/07082025/02/01/image_07082025_02_01_54_10116.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/02/image_07082025_02_02_44_10014.jpg
/mnt/data/07082025/02/02/image_07082025_02_02_34_9986.jpg
/mnt/data/07082025/02/02/image_07082025_02_02_24_9948.jpg
/mnt/data/07082025/02/02/image_07082025_02_02_14_9938.jpg
/mnt/data/07082025/02/01/image_07082025_02_02_04_10071.jpg
/mnt/data/07082025/02/01/image_07082025_02_01_54_10116.jpg
uploaded 0 photos
time to upload: 2.538578748703003 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-07 02:04:02.694497
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/02/image_07082025_02_02_44_10014.jpg', 2), ('/mnt/data/07082025/02/02/image_07082025_02_02_34_9986.jpg', 2), ('/mnt/data/07082025/02/02/image_07082025_02_02_24_9948.jpg', 2), ('/mnt/data/07082025/02/02/image_07082025_02_02_14_9938.jpg', 2), ('/mnt/data/07082025/02/01/image_07082025_02_02_04_10071.jpg', 2), ('/mnt/data/07082025/02/01/image_07082025_02_01_54_10116.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/02/image_07082025_02_02_44_10014.jpg', '/mnt/data/07082025/02/02/image_07082025_02_02_34_9986.jpg', '/mnt/data/07082025/02/02/image_07082025_02_02_24_9948.jpg', '/mnt/data/07082025/02/02/image_07082025_02_02_14_9938.jpg', '/mnt/data/07082025/02/01/image_07082025_02_02_04_10071.jpg', '/mnt/data/07082025/02/01/image_07082025_02_01_54_10116.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/02/image_07082025_02_02_44_10014.jpg', '/mnt/data/07082025/02/02/image_07082025_02_02_34_9986.jpg', '/mnt/data/07082025/02/02/image_07082025_02_02_24_9948.jpg', '/mnt/data/07082025/02/02/image_07082025_02_02_14_9938.jpg', '/mnt/data/07082025/02/01/image_07082025_02_02_04_10071.jpg', '/mnt/data/07082025/02/01/image_07082025_02_01_54_10116.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/02/image_07082025_02_02_44_10014.jpg
/mnt/data/07082025/02/02/image_07082025_02_02_34_9986.jpg
/mnt/data/07082025/02/02/image_07082025_02_02_24_9948.jpg
/mnt/data/07082025/02/02/image_07082025_02_02_14_9938.jpg
/mnt/data/07082025/02/01/image_07082025_02_02_04_10071.jpg
/mnt/data/07082025/02/01/image_07082025_02_01_54_10116.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375558544","1375558532","1375558539","1375558547","1375558535","1375558529"],"photo_ids_order":["1375558529","1375558532","1375558535","1375558539","1375558544","1375558547"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/fd4f8cb310f9e35a59e9efa163dd3a2a.jpg","text":"TemporaryFile(/tmp/multipartBody7719770115646400802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525116888,"filename":"image_07082025_02_02_04_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/7/5ebaf8c51183bacddbd919b995a9d314.jpg","text":"TemporaryFile(/tmp/multipartBody441864326034534294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525116888,"filename":"image_07082025_02_02_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/7/e85b604ebe6b12b0274760370184e9e5.jpg","text":"TemporaryFile(/tmp/multipartBody3445509355257034005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525116888,"filename":"image_07082025_02_02_14_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/7/a59f7eb2011e575573800d4438428c0f.jpg","text":"TemporaryFile(/tmp/multipartBody556962723710422528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525116888,"filename":"image_07082025_02_01_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/7/db24802d10697845ba726a3df60f97a4.jpg","text":"TemporaryFile(/tmp/multipartBody1497306442176089714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525116888,"filename":"image_07082025_02_02_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/7/c8cc815f1d5097f4fa55307bdeb58349.jpg","text":"TemporaryFile(/tmp/multipartBody4388092690951023730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525116888,"filename":"image_07082025_02_02_44_10014.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375558535","file1":"1375558532","file0":"1375558529","file4":"1375558544","file5":"1375558547","file3":"1375558539"},"map_files_photo_id_array":[{"photo_id":"1375558547","filename":"file5"},{"photo_id":"1375558535","filename":"file2"},{"photo_id":"1375558544","filename":"file4"},{"photo_id":"1375558532","filename":"file1"},{"photo_id":"1375558529","filename":"file0"},{"photo_id":"1375558539","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375558544":["hashtag1","hashtag2"]},{"1375558532":["hashtag1","hashtag2"]},{"1375558539":["hashtag1","hashtag2"]},{"1375558547":["hashtag1","hashtag2"]},{"1375558535":["hashtag1","hashtag2"]},{"1375558529":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375558544, 1375558532, 1375558539, 1375558547, 1375558535, 1375558529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.56658720970154 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:05:03.211323
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/01/image_07082025_02_01_44_8857.jpg', 2), ('/mnt/data/07082025/02/01/image_07082025_02_01_35_10050.jpg', 2), ('/mnt/data/07082025/02/01/image_07082025_02_01_25_10117.jpg', 2), ('/mnt/data/07082025/02/00/image_07082025_02_01_05_10099.jpg', 2), ('/mnt/data/07082025/02/00/image_07082025_02_00_54_10072.jpg', 2), ('/mnt/data/07082025/02/00/image_07082025_02_00_44_10077.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/01/image_07082025_02_01_44_8857.jpg', '/mnt/data/07082025/02/01/image_07082025_02_01_35_10050.jpg', '/mnt/data/07082025/02/01/image_07082025_02_01_25_10117.jpg', '/mnt/data/07082025/02/00/image_07082025_02_01_05_10099.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_54_10072.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_44_10077.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/01/image_07082025_02_01_44_8857.jpg', '/mnt/data/07082025/02/01/image_07082025_02_01_35_10050.jpg', '/mnt/data/07082025/02/01/image_07082025_02_01_25_10117.jpg', '/mnt/data/07082025/02/00/image_07082025_02_01_05_10099.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_54_10072.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_44_10077.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/01/image_07082025_02_01_44_8857.jpg
/mnt/data/07082025/02/01/image_07082025_02_01_35_10050.jpg
/mnt/data/07082025/02/01/image_07082025_02_01_25_10117.jpg
/mnt/data/07082025/02/00/image_07082025_02_01_05_10099.jpg
/mnt/data/07082025/02/00/image_07082025_02_00_54_10072.jpg
/mnt/data/07082025/02/00/image_07082025_02_00_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":["1375558579","1375558578","1375558571","1375558574","1375558568","1375558577"],"photo_ids_order":["1375558568","1375558571","1375558574","1375558577","1375558578","1375558579"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/467ebcaa3fc1c3b172e92fb42656d959.jpg","text":"TemporaryFile(/tmp/multipartBody7026360064376779688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525187557,"filename":"image_07082025_02_00_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/7/d56c470c002f9ced6611ac77dabbbef5.jpg","text":"TemporaryFile(/tmp/multipartBody8860233737434447250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525187557,"filename":"image_07082025_02_00_54_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/7/58a01b4cfc5158ae70866c33282ecff9.jpg","text":"TemporaryFile(/tmp/multipartBody602210340077174027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525187557,"filename":"image_07082025_02_01_35_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/7/478eb4f56d61725596b9b1495fee8feb.jpg","text":"TemporaryFile(/tmp/multipartBody2436641960947370083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525187557,"filename":"image_07082025_02_01_25_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/7/59b577e8808121bf643d772279b4b589.jpg","text":"TemporaryFile(/tmp/multipartBody7671647266488209432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525187557,"filename":"image_07082025_02_01_44_8857.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/1e31531ed209d4f74e509765a70dd589.jpg","text":"TemporaryFile(/tmp/multipartBody4817315324486958759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525187557,"filename":"image_07082025_02_01_05_10099.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375558574","file1":"1375558571","file0":"1375558568","file4":"1375558578","file5":"1375558579","file3":"1375558577"},"map_files_photo_id_array":[{"photo_id":"1375558579","filename":"file5"},{"photo_id":"1375558574","filename":"file2"},{"photo_id":"1375558578","filename":"file4"},{"photo_id":"1375558571","filename":"file1"},{"photo_id":"1375558568","filename":"file0"},{"photo_id":"1375558577","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375558579":["hashtag1","hashtag2"]},{"1375558578":["hashtag1","hashtag2"]},{"1375558571":["hashtag1","hashtag2"]},{"1375558574":["hashtag1","hashtag2"]},{"1375558568":["hashtag1","hashtag2"]},{"1375558577":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375558579, 1375558578, 1375558571, 1375558574, 1375558568, 1375558577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.60341167449951 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:07:02.698559
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/00/image_07082025_02_00_34_10167.jpg', 2), ('/mnt/data/07082025/02/00/image_07082025_02_00_24_10132.jpg', 2), ('/mnt/data/07082025/02/00/image_07082025_02_00_14_10090.jpg', 2), ('/mnt/data/07082025/01/59/image_07082025_02_00_04_9135.jpg', 2), ('/mnt/data/07082025/01/59/image_07082025_01_59_55_10062.jpg', 2), ('/mnt/data/07082025/01/59/image_07082025_01_59_45_10139.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/00/image_07082025_02_00_34_10167.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_24_10132.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_14_10090.jpg', '/mnt/data/07082025/01/59/image_07082025_02_00_04_9135.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_55_10062.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_45_10139.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/00/image_07082025_02_00_34_10167.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_24_10132.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_14_10090.jpg', '/mnt/data/07082025/01/59/image_07082025_02_00_04_9135.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_55_10062.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_45_10139.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/00/image_07082025_02_00_34_10167.jpg
/mnt/data/07082025/02/00/image_07082025_02_00_24_10132.jpg
/mnt/data/07082025/02/00/image_07082025_02_00_14_10090.jpg
/mnt/data/07082025/01/59/image_07082025_02_00_04_9135.jpg
/mnt/data/07082025/01/59/image_07082025_01_59_55_10062.jpg
/mnt/data/07082025/01/59/image_07082025_01_59_45_10139.jpg
uploaded 0 photos
time to upload: 30.201456308364868 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:08:02.955601
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/00/image_07082025_02_00_34_10167.jpg', 2), ('/mnt/data/07082025/02/00/image_07082025_02_00_24_10132.jpg', 2), ('/mnt/data/07082025/02/00/image_07082025_02_00_14_10090.jpg', 2), ('/mnt/data/07082025/01/59/image_07082025_02_00_04_9135.jpg', 2), ('/mnt/data/07082025/01/59/image_07082025_01_59_55_10062.jpg', 2), ('/mnt/data/07082025/01/59/image_07082025_01_59_45_10139.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/00/image_07082025_02_00_34_10167.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_24_10132.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_14_10090.jpg', '/mnt/data/07082025/01/59/image_07082025_02_00_04_9135.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_55_10062.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_45_10139.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/00/image_07082025_02_00_34_10167.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_24_10132.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_14_10090.jpg', '/mnt/data/07082025/01/59/image_07082025_02_00_04_9135.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_55_10062.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_45_10139.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/00/image_07082025_02_00_34_10167.jpg
/mnt/data/07082025/02/00/image_07082025_02_00_24_10132.jpg
/mnt/data/07082025/02/00/image_07082025_02_00_14_10090.jpg
/mnt/data/07082025/01/59/image_07082025_02_00_04_9135.jpg
/mnt/data/07082025/01/59/image_07082025_01_59_55_10062.jpg
/mnt/data/07082025/01/59/image_07082025_01_59_45_10139.jpg
uploaded 0 photos
time to upload: 30.21419882774353 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:09:02.773689
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/00/image_07082025_02_00_34_10167.jpg', 2), ('/mnt/data/07082025/02/00/image_07082025_02_00_24_10132.jpg', 2), ('/mnt/data/07082025/02/00/image_07082025_02_00_14_10090.jpg', 2), ('/mnt/data/07082025/01/59/image_07082025_02_00_04_9135.jpg', 2), ('/mnt/data/07082025/01/59/image_07082025_01_59_55_10062.jpg', 2), ('/mnt/data/07082025/01/59/image_07082025_01_59_45_10139.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/00/image_07082025_02_00_34_10167.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_24_10132.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_14_10090.jpg', '/mnt/data/07082025/01/59/image_07082025_02_00_04_9135.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_55_10062.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_45_10139.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/00/image_07082025_02_00_34_10167.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_24_10132.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_14_10090.jpg', '/mnt/data/07082025/01/59/image_07082025_02_00_04_9135.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_55_10062.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_45_10139.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/00/image_07082025_02_00_34_10167.jpg
/mnt/data/07082025/02/00/image_07082025_02_00_24_10132.jpg
/mnt/data/07082025/02/00/image_07082025_02_00_14_10090.jpg
/mnt/data/07082025/01/59/image_07082025_02_00_04_9135.jpg
/mnt/data/07082025/01/59/image_07082025_01_59_55_10062.jpg
/mnt/data/07082025/01/59/image_07082025_01_59_45_10139.jpg
uploaded 0 photos
time to upload: 30.21425199508667 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:10:03.072258
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/00/image_07082025_02_00_34_10167.jpg', 2), ('/mnt/data/07082025/02/00/image_07082025_02_00_24_10132.jpg', 2), ('/mnt/data/07082025/02/00/image_07082025_02_00_14_10090.jpg', 2), ('/mnt/data/07082025/01/59/image_07082025_02_00_04_9135.jpg', 2), ('/mnt/data/07082025/01/59/image_07082025_01_59_55_10062.jpg', 2), ('/mnt/data/07082025/01/59/image_07082025_01_59_45_10139.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/00/image_07082025_02_00_34_10167.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_24_10132.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_14_10090.jpg', '/mnt/data/07082025/01/59/image_07082025_02_00_04_9135.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_55_10062.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_45_10139.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/00/image_07082025_02_00_34_10167.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_24_10132.jpg', '/mnt/data/07082025/02/00/image_07082025_02_00_14_10090.jpg', '/mnt/data/07082025/01/59/image_07082025_02_00_04_9135.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_55_10062.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_45_10139.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/00/image_07082025_02_00_34_10167.jpg
/mnt/data/07082025/02/00/image_07082025_02_00_24_10132.jpg
/mnt/data/07082025/02/00/image_07082025_02_00_14_10090.jpg
/mnt/data/07082025/01/59/image_07082025_02_00_04_9135.jpg
/mnt/data/07082025/01/59/image_07082025_01_59_55_10062.jpg
/mnt/data/07082025/01/59/image_07082025_01_59_45_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":["1375559191","1375559194","1375559193","1375559187","1375559198","1375559192"],"photo_ids_order":["1375559187","1375559191","1375559192","1375559193","1375559194","1375559198"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/64feeda92fdf6ed9dd225a5afcc69a54.jpg","text":"TemporaryFile(/tmp/multipartBody1756882638938365508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525488647,"filename":"image_07082025_02_00_24_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/7/470780baa2d5f93ee7d8c2ebf653b0b2.jpg","text":"TemporaryFile(/tmp/multipartBody6170977654141584319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525488647,"filename":"image_07082025_01_59_55_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/7/d1f30d57852803f80d771b58cfb5a37f.jpg","text":"TemporaryFile(/tmp/multipartBody5815026685750748883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525488647,"filename":"image_07082025_02_00_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/7/8ef4c6aabe82236bfe87036319082431.jpg","text":"TemporaryFile(/tmp/multipartBody5971863889481541429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525488647,"filename":"image_07082025_02_00_34_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/7/a65a5b808925f39acff8338dca6ce053.jpg","text":"TemporaryFile(/tmp/multipartBody2744281074408512907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525488647,"filename":"image_07082025_01_59_45_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/7/464ac59afa32b6d3f059f4fb207ac954.jpg","text":"TemporaryFile(/tmp/multipartBody5408288357170914884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525488647,"filename":"image_07082025_02_00_14_10090.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375559192","file1":"1375559191","file0":"1375559187","file4":"1375559194","file5":"1375559198","file3":"1375559193"},"map_files_photo_id_array":[{"photo_id":"1375559198","filename":"file5"},{"photo_id":"1375559192","filename":"file2"},{"photo_id":"1375559194","filename":"file4"},{"photo_id":"1375559191","filename":"file1"},{"photo_id":"1375559187","filename":"file0"},{"photo_id":"1375559193","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375559191":["hashtag1","hashtag2"]},{"1375559194":["hashtag1","hashtag2"]},{"1375559193":["hashtag1","hashtag2"]},{"1375559187":["hashtag1","hashtag2"]},{"1375559198":["hashtag1","hashtag2"]},{"1375559192":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375559191, 1375559194, 1375559193, 1375559187, 1375559198, 1375559192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.02534532546997 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:12:02.716251
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/59/image_07082025_01_59_35_10083.jpg', 2), ('/mnt/data/07082025/01/59/image_07082025_01_59_25_9951.jpg', 2), ('/mnt/data/07082025/01/59/image_07082025_01_59_15_10032.jpg', 2), ('/mnt/data/07082025/01/58/image_07082025_01_59_05_10045.jpg', 2), ('/mnt/data/07082025/01/58/image_07082025_01_58_54_10020.jpg', 2), ('/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/59/image_07082025_01_59_35_10083.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_25_9951.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_15_10032.jpg', '/mnt/data/07082025/01/58/image_07082025_01_59_05_10045.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_54_10020.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/59/image_07082025_01_59_35_10083.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_25_9951.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_15_10032.jpg', '/mnt/data/07082025/01/58/image_07082025_01_59_05_10045.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_54_10020.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/59/image_07082025_01_59_35_10083.jpg
/mnt/data/07082025/01/59/image_07082025_01_59_25_9951.jpg
/mnt/data/07082025/01/59/image_07082025_01_59_15_10032.jpg
/mnt/data/07082025/01/58/image_07082025_01_59_05_10045.jpg
/mnt/data/07082025/01/58/image_07082025_01_58_54_10020.jpg
/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg
uploaded 0 photos
time to upload: 30.211759328842163 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:13:02.282702
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/59/image_07082025_01_59_35_10083.jpg', 2), ('/mnt/data/07082025/01/59/image_07082025_01_59_25_9951.jpg', 2), ('/mnt/data/07082025/01/59/image_07082025_01_59_15_10032.jpg', 2), ('/mnt/data/07082025/01/58/image_07082025_01_59_05_10045.jpg', 2), ('/mnt/data/07082025/01/58/image_07082025_01_58_54_10020.jpg', 2), ('/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/59/image_07082025_01_59_35_10083.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_25_9951.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_15_10032.jpg', '/mnt/data/07082025/01/58/image_07082025_01_59_05_10045.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_54_10020.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/59/image_07082025_01_59_35_10083.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_25_9951.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_15_10032.jpg', '/mnt/data/07082025/01/58/image_07082025_01_59_05_10045.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_54_10020.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/59/image_07082025_01_59_35_10083.jpg
/mnt/data/07082025/01/59/image_07082025_01_59_25_9951.jpg
/mnt/data/07082025/01/59/image_07082025_01_59_15_10032.jpg
/mnt/data/07082025/01/58/image_07082025_01_59_05_10045.jpg
/mnt/data/07082025/01/58/image_07082025_01_58_54_10020.jpg
/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg
uploaded 0 photos
time to upload: 2.5909342765808105 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-07 02:14:02.956297
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/02/image_07082025_02_02_54_10042.jpg', 2), ('/mnt/data/07082025/01/59/image_07082025_01_59_35_10083.jpg', 2), ('/mnt/data/07082025/01/59/image_07082025_01_59_25_9951.jpg', 2), ('/mnt/data/07082025/01/59/image_07082025_01_59_15_10032.jpg', 2), ('/mnt/data/07082025/01/58/image_07082025_01_59_05_10045.jpg', 2), ('/mnt/data/07082025/01/58/image_07082025_01_58_54_10020.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/02/image_07082025_02_02_54_10042.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_35_10083.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_25_9951.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_15_10032.jpg', '/mnt/data/07082025/01/58/image_07082025_01_59_05_10045.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_54_10020.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/02/image_07082025_02_02_54_10042.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_35_10083.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_25_9951.jpg', '/mnt/data/07082025/01/59/image_07082025_01_59_15_10032.jpg', '/mnt/data/07082025/01/58/image_07082025_01_59_05_10045.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_54_10020.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/02/image_07082025_02_02_54_10042.jpg
/mnt/data/07082025/01/59/image_07082025_01_59_35_10083.jpg
/mnt/data/07082025/01/59/image_07082025_01_59_25_9951.jpg
/mnt/data/07082025/01/59/image_07082025_01_59_15_10032.jpg
/mnt/data/07082025/01/58/image_07082025_01_59_05_10045.jpg
/mnt/data/07082025/01/58/image_07082025_01_58_54_10020.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":["1375559260","1375559254","1375559256","1375559270","1375559267","1375559264"],"photo_ids_order":["1375559254","1375559256","1375559260","1375559264","1375559267","1375559270"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/532acaafbedbea737812ede51f9686b6.jpg","text":"TemporaryFile(/tmp/multipartBody819937508831060303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525723724,"filename":"image_07082025_01_59_25_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/7/c6c685d27ba6a640213d376a593eeba1.jpg","text":"TemporaryFile(/tmp/multipartBody4864557894314545104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525723724,"filename":"image_07082025_02_02_54_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/7/c116e1aaaa1a8dcc2b46103dda606ea5.jpg","text":"TemporaryFile(/tmp/multipartBody7780683536023126551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525723724,"filename":"image_07082025_01_59_35_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/7/c1ab61dbad85a751fd123f42b1a6d946.jpg","text":"TemporaryFile(/tmp/multipartBody2986911120569115182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525723724,"filename":"image_07082025_01_58_54_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/7/6ea76ed4dc6e6c6b4a1c920a4afc037b.jpg","text":"TemporaryFile(/tmp/multipartBody7675758022030925144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525723724,"filename":"image_07082025_01_59_05_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/7/e296b047965bdca4b0da3c3044efbb32.jpg","text":"TemporaryFile(/tmp/multipartBody7141599017248079674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525723724,"filename":"image_07082025_01_59_15_10032.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375559260","file1":"1375559256","file0":"1375559254","file4":"1375559267","file5":"1375559270","file3":"1375559264"},"map_files_photo_id_array":[{"photo_id":"1375559270","filename":"file5"},{"photo_id":"1375559260","filename":"file2"},{"photo_id":"1375559267","filename":"file4"},{"photo_id":"1375559256","filename":"file1"},{"photo_id":"1375559254","filename":"file0"},{"photo_id":"1375559264","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375559260":["hashtag1","hashtag2"]},{"1375559254":["hashtag1","hashtag2"]},{"1375559256":["hashtag1","hashtag2"]},{"1375559270":["hashtag1","hashtag2"]},{"1375559267":["hashtag1","hashtag2"]},{"1375559264":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375559260, 1375559254, 1375559256, 1375559270, 1375559267, 1375559264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.233675718307495 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:16:02.738060
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/15/image_07082025_02_15_45_9976.jpg', 2), ('/mnt/data/07082025/02/15/image_07082025_02_15_35_10016.jpg', 2), ('/mnt/data/07082025/02/15/image_07082025_02_15_25_9930.jpg', 2), ('/mnt/data/07082025/02/15/image_07082025_02_15_15_9915.jpg', 2), ('/mnt/data/07082025/02/14/image_07082025_02_15_05_10002.jpg', 2), ('/mnt/data/07082025/02/14/image_07082025_02_14_55_9977.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/15/image_07082025_02_15_45_9976.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_35_10016.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_25_9930.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_15_9915.jpg', '/mnt/data/07082025/02/14/image_07082025_02_15_05_10002.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_55_9977.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/15/image_07082025_02_15_45_9976.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_35_10016.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_25_9930.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_15_9915.jpg', '/mnt/data/07082025/02/14/image_07082025_02_15_05_10002.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_55_9977.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/15/image_07082025_02_15_45_9976.jpg
/mnt/data/07082025/02/15/image_07082025_02_15_35_10016.jpg
/mnt/data/07082025/02/15/image_07082025_02_15_25_9930.jpg
/mnt/data/07082025/02/15/image_07082025_02_15_15_9915.jpg
/mnt/data/07082025/02/14/image_07082025_02_15_05_10002.jpg
/mnt/data/07082025/02/14/image_07082025_02_14_55_9977.jpg
uploaded 0 photos
time to upload: 33.32247495651245 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:17:03.335380
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/16/image_07082025_02_16_45_10114.jpg', 2), ('/mnt/data/07082025/02/16/image_07082025_02_16_35_9932.jpg', 2), ('/mnt/data/07082025/02/16/image_07082025_02_16_25_10094.jpg', 2), ('/mnt/data/07082025/02/16/image_07082025_02_16_15_9995.jpg', 2), ('/mnt/data/07082025/02/15/image_07082025_02_16_05_10026.jpg', 2), ('/mnt/data/07082025/02/15/image_07082025_02_15_55_9961.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/16/image_07082025_02_16_45_10114.jpg', '/mnt/data/07082025/02/16/image_07082025_02_16_35_9932.jpg', '/mnt/data/07082025/02/16/image_07082025_02_16_25_10094.jpg', '/mnt/data/07082025/02/16/image_07082025_02_16_15_9995.jpg', '/mnt/data/07082025/02/15/image_07082025_02_16_05_10026.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_55_9961.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/16/image_07082025_02_16_45_10114.jpg', '/mnt/data/07082025/02/16/image_07082025_02_16_35_9932.jpg', '/mnt/data/07082025/02/16/image_07082025_02_16_25_10094.jpg', '/mnt/data/07082025/02/16/image_07082025_02_16_15_9995.jpg', '/mnt/data/07082025/02/15/image_07082025_02_16_05_10026.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_55_9961.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/16/image_07082025_02_16_45_10114.jpg
/mnt/data/07082025/02/16/image_07082025_02_16_35_9932.jpg
/mnt/data/07082025/02/16/image_07082025_02_16_25_10094.jpg
/mnt/data/07082025/02/16/image_07082025_02_16_15_9995.jpg
/mnt/data/07082025/02/15/image_07082025_02_16_05_10026.jpg
/mnt/data/07082025/02/15/image_07082025_02_15_55_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":["1375559350","1375559338","1375559349","1375559343","1375559346","1375559351"],"photo_ids_order":["1375559338","1375559343","1375559346","1375559349","1375559350","1375559351"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/0a74751b4b41647df73451d88f2370df.jpg","text":"TemporaryFile(/tmp/multipartBody3455292479390372899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525907105,"filename":"image_07082025_02_16_05_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/7/ccc790d772013ec929bf0213380418ad.jpg","text":"TemporaryFile(/tmp/multipartBody5607973152652507890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525907105,"filename":"image_07082025_02_16_45_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/7/94aedb946d9d413353e4864f78110f47.jpg","text":"TemporaryFile(/tmp/multipartBody2962860219988526177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525907105,"filename":"image_07082025_02_16_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/7/0628aefc27fba133c89fae1cc92c0bb4.jpg","text":"TemporaryFile(/tmp/multipartBody5655640458063924662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525907105,"filename":"image_07082025_02_16_35_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/7/52abca3c6f96b9228c4f420ddd9972d5.jpg","text":"TemporaryFile(/tmp/multipartBody1552465635185169139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525907105,"filename":"image_07082025_02_16_25_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/7/7cd91a4adfd3e13b15c5768a222f6fb5.jpg","text":"TemporaryFile(/tmp/multipartBody6930391007302941213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754525907105,"filename":"image_07082025_02_15_55_9961.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375559346","file1":"1375559343","file0":"1375559338","file4":"1375559350","file5":"1375559351","file3":"1375559349"},"map_files_photo_id_array":[{"photo_id":"1375559351","filename":"file5"},{"photo_id":"1375559346","filename":"file2"},{"photo_id":"1375559350","filename":"file4"},{"photo_id":"1375559343","filename":"file1"},{"photo_id":"1375559338","filename":"file0"},{"photo_id":"1375559349","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375559350":["hashtag1","hashtag2"]},{"1375559338":["hashtag1","hashtag2"]},{"1375559349":["hashtag1","hashtag2"]},{"1375559343":["hashtag1","hashtag2"]},{"1375559346":["hashtag1","hashtag2"]},{"1375559351":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375559350, 1375559338, 1375559349, 1375559343, 1375559346, 1375559351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.76046299934387 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:19:03.227638
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/18/image_07082025_02_18_45_10177.jpg', 2), ('/mnt/data/07082025/02/18/image_07082025_02_18_35_10373.jpg', 2), ('/mnt/data/07082025/02/18/image_07082025_02_18_26_10147.jpg', 2), ('/mnt/data/07082025/02/18/image_07082025_02_18_14_10100.jpg', 2), ('/mnt/data/07082025/02/17/image_07082025_02_18_04_10238.jpg', 2), ('/mnt/data/07082025/02/17/image_07082025_02_17_45_10103.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/18/image_07082025_02_18_45_10177.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_35_10373.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_26_10147.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_14_10100.jpg', '/mnt/data/07082025/02/17/image_07082025_02_18_04_10238.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_45_10103.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/18/image_07082025_02_18_45_10177.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_35_10373.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_26_10147.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_14_10100.jpg', '/mnt/data/07082025/02/17/image_07082025_02_18_04_10238.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_45_10103.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/18/image_07082025_02_18_45_10177.jpg
/mnt/data/07082025/02/18/image_07082025_02_18_35_10373.jpg
/mnt/data/07082025/02/18/image_07082025_02_18_26_10147.jpg
/mnt/data/07082025/02/18/image_07082025_02_18_14_10100.jpg
/mnt/data/07082025/02/17/image_07082025_02_18_04_10238.jpg
/mnt/data/07082025/02/17/image_07082025_02_17_45_10103.jpg
uploaded 0 photos
time to upload: 30.21629786491394 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:20:02.392735
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/19/image_07082025_02_19_44_9978.jpg', 2), ('/mnt/data/07082025/02/19/image_07082025_02_19_34_10074.jpg', 2), ('/mnt/data/07082025/02/19/image_07082025_02_19_24_10244.jpg', 2), ('/mnt/data/07082025/02/19/image_07082025_02_19_14_10179.jpg', 2), ('/mnt/data/07082025/02/18/image_07082025_02_19_04_9009.jpg', 2), ('/mnt/data/07082025/02/18/image_07082025_02_18_55_10104.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/19/image_07082025_02_19_44_9978.jpg', '/mnt/data/07082025/02/19/image_07082025_02_19_34_10074.jpg', '/mnt/data/07082025/02/19/image_07082025_02_19_24_10244.jpg', '/mnt/data/07082025/02/19/image_07082025_02_19_14_10179.jpg', '/mnt/data/07082025/02/18/image_07082025_02_19_04_9009.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_55_10104.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/19/image_07082025_02_19_44_9978.jpg', '/mnt/data/07082025/02/19/image_07082025_02_19_34_10074.jpg', '/mnt/data/07082025/02/19/image_07082025_02_19_24_10244.jpg', '/mnt/data/07082025/02/19/image_07082025_02_19_14_10179.jpg', '/mnt/data/07082025/02/18/image_07082025_02_19_04_9009.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_55_10104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/19/image_07082025_02_19_44_9978.jpg
/mnt/data/07082025/02/19/image_07082025_02_19_34_10074.jpg
/mnt/data/07082025/02/19/image_07082025_02_19_24_10244.jpg
/mnt/data/07082025/02/19/image_07082025_02_19_14_10179.jpg
/mnt/data/07082025/02/18/image_07082025_02_19_04_9009.jpg
/mnt/data/07082025/02/18/image_07082025_02_18_55_10104.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375559434","1375559428","1375559413","1375559422","1375559432","1375559417"],"photo_ids_order":["1375559413","1375559417","1375559422","1375559428","1375559432","1375559434"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/0d9d344ea79458bf93b56022d79a671c.jpg","text":"TemporaryFile(/tmp/multipartBody4339627328433430609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526080728,"filename":"image_07082025_02_18_55_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/7/619f3216fb70e150b4f12735bc70f9e7.jpg","text":"TemporaryFile(/tmp/multipartBody5087492414768844798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526080728,"filename":"image_07082025_02_19_14_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/7/0efacec5fb20f9420198afba1cd9c842.jpg","text":"TemporaryFile(/tmp/multipartBody4103692744782305196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526080728,"filename":"image_07082025_02_19_44_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/7/68d536b4b19c2ee0e0b7b6daedc0bace.jpg","text":"TemporaryFile(/tmp/multipartBody2207794710447247229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526080728,"filename":"image_07082025_02_19_24_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/7/a60a9e139d7032aa91f2ce0ed35b60fd.jpg","text":"TemporaryFile(/tmp/multipartBody6941488283902275180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526080728,"filename":"image_07082025_02_19_04_9009.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/e3ca5efcc639e42a0a7f5440c5236d65.jpg","text":"TemporaryFile(/tmp/multipartBody8783630550620341937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526080728,"filename":"image_07082025_02_19_34_10074.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375559422","file1":"1375559417","file0":"1375559413","file4":"1375559432","file5":"1375559434","file3":"1375559428"},"map_files_photo_id_array":[{"photo_id":"1375559434","filename":"file5"},{"photo_id":"1375559422","filename":"file2"},{"photo_id":"1375559432","filename":"file4"},{"photo_id":"1375559417","filename":"file1"},{"photo_id":"1375559413","filename":"file0"},{"photo_id":"1375559428","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375559434":["hashtag1","hashtag2"]},{"1375559428":["hashtag1","hashtag2"]},{"1375559413":["hashtag1","hashtag2"]},{"1375559422":["hashtag1","hashtag2"]},{"1375559432":["hashtag1","hashtag2"]},{"1375559417":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375559434, 1375559428, 1375559413, 1375559422, 1375559432, 1375559417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.17307090759277 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:21:03.009101
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/20/image_07082025_02_20_45_9992.jpg', 2), ('/mnt/data/07082025/02/20/image_07082025_02_20_35_9959.jpg', 2), ('/mnt/data/07082025/02/20/image_07082025_02_20_25_9969.jpg', 2), ('/mnt/data/07082025/02/20/image_07082025_02_20_15_10015.jpg', 2), ('/mnt/data/07082025/02/19/image_07082025_02_20_05_10295.jpg', 2), ('/mnt/data/07082025/02/19/image_07082025_02_19_54_10007.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/20/image_07082025_02_20_45_9992.jpg', '/mnt/data/07082025/02/20/image_07082025_02_20_35_9959.jpg', '/mnt/data/07082025/02/20/image_07082025_02_20_25_9969.jpg', '/mnt/data/07082025/02/20/image_07082025_02_20_15_10015.jpg', '/mnt/data/07082025/02/19/image_07082025_02_20_05_10295.jpg', '/mnt/data/07082025/02/19/image_07082025_02_19_54_10007.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/20/image_07082025_02_20_45_9992.jpg', '/mnt/data/07082025/02/20/image_07082025_02_20_35_9959.jpg', '/mnt/data/07082025/02/20/image_07082025_02_20_25_9969.jpg', '/mnt/data/07082025/02/20/image_07082025_02_20_15_10015.jpg', '/mnt/data/07082025/02/19/image_07082025_02_20_05_10295.jpg', '/mnt/data/07082025/02/19/image_07082025_02_19_54_10007.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/20/image_07082025_02_20_45_9992.jpg
/mnt/data/07082025/02/20/image_07082025_02_20_35_9959.jpg
/mnt/data/07082025/02/20/image_07082025_02_20_25_9969.jpg
/mnt/data/07082025/02/20/image_07082025_02_20_15_10015.jpg
/mnt/data/07082025/02/19/image_07082025_02_20_05_10295.jpg
/mnt/data/07082025/02/19/image_07082025_02_19_54_10007.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":["1375559454","1375559457","1375559451","1375559447","1375559441","1375559444"],"photo_ids_order":["1375559441","1375559444","1375559447","1375559451","1375559454","1375559457"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/bcb2b7c626dd3c704f44e80ba5959d62.jpg","text":"TemporaryFile(/tmp/multipartBody8577161455003960950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526135224,"filename":"image_07082025_02_20_05_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/7/f2d950fdc48f8a164a4ddb3e340b8534.jpg","text":"TemporaryFile(/tmp/multipartBody9034750503624066079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526135224,"filename":"image_07082025_02_19_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/7/4ce702e5f54048aa9472e85bf4e2db83.jpg","text":"TemporaryFile(/tmp/multipartBody2185338895690315829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526135224,"filename":"image_07082025_02_20_15_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/7/159742dbab310a71d96e81756f2251bc.jpg","text":"TemporaryFile(/tmp/multipartBody2516789182327426280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526135224,"filename":"image_07082025_02_20_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/7/35cf555852e35e0f211ac8cf43e54e0b.jpg","text":"TemporaryFile(/tmp/multipartBody6114636723504017060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526135224,"filename":"image_07082025_02_20_45_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/7/29ef12be26a2883821fc3d736f375d22.jpg","text":"TemporaryFile(/tmp/multipartBody232327173186375960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526135224,"filename":"image_07082025_02_20_35_9959.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375559447","file1":"1375559444","file0":"1375559441","file4":"1375559454","file5":"1375559457","file3":"1375559451"},"map_files_photo_id_array":[{"photo_id":"1375559457","filename":"file5"},{"photo_id":"1375559447","filename":"file2"},{"photo_id":"1375559454","filename":"file4"},{"photo_id":"1375559444","filename":"file1"},{"photo_id":"1375559441","filename":"file0"},{"photo_id":"1375559451","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375559454":["hashtag1","hashtag2"]},{"1375559457":["hashtag1","hashtag2"]},{"1375559451":["hashtag1","hashtag2"]},{"1375559447":["hashtag1","hashtag2"]},{"1375559441":["hashtag1","hashtag2"]},{"1375559444":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375559454, 1375559457, 1375559451, 1375559447, 1375559441, 1375559444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.66932988166809 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:23:02.859645
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/22/image_07082025_02_22_44_10057.jpg', 2), ('/mnt/data/07082025/02/22/image_07082025_02_22_34_10019.jpg', 2), ('/mnt/data/07082025/02/22/image_07082025_02_22_24_9975.jpg', 2), ('/mnt/data/07082025/02/22/image_07082025_02_22_14_9962.jpg', 2), ('/mnt/data/07082025/02/21/image_07082025_02_22_04_10110.jpg', 2), ('/mnt/data/07082025/02/21/image_07082025_02_21_54_10025.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/22/image_07082025_02_22_44_10057.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_34_10019.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_24_9975.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_14_9962.jpg', '/mnt/data/07082025/02/21/image_07082025_02_22_04_10110.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_54_10025.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/22/image_07082025_02_22_44_10057.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_34_10019.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_24_9975.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_14_9962.jpg', '/mnt/data/07082025/02/21/image_07082025_02_22_04_10110.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_54_10025.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/22/image_07082025_02_22_44_10057.jpg
/mnt/data/07082025/02/22/image_07082025_02_22_34_10019.jpg
/mnt/data/07082025/02/22/image_07082025_02_22_24_9975.jpg
/mnt/data/07082025/02/22/image_07082025_02_22_14_9962.jpg
/mnt/data/07082025/02/21/image_07082025_02_22_04_10110.jpg
/mnt/data/07082025/02/21/image_07082025_02_21_54_10025.jpg
uploaded 0 photos
time to upload: 2.0061399936676025 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-07 02:24:03.319834
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg', 2), ('/mnt/data/07082025/02/22/image_07082025_02_23_04_10149.jpg', 2), ('/mnt/data/07082025/02/22/image_07082025_02_22_54_10011.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg', '/mnt/data/07082025/02/22/image_07082025_02_23_04_10149.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_54_10011.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg', '/mnt/data/07082025/02/22/image_07082025_02_23_04_10149.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_54_10011.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg
/mnt/data/07082025/02/22/image_07082025_02_23_04_10149.jpg
/mnt/data/07082025/02/22/image_07082025_02_22_54_10011.jpg
uploaded 0 photos
time to upload: 10.549909353256226 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-07 02:25:02.788625
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/24/image_07082025_02_24_44_9997.jpg', 2), ('/mnt/data/07082025/02/24/image_07082025_02_24_34_10116.jpg', 2), ('/mnt/data/07082025/02/24/image_07082025_02_24_24_10092.jpg', 2), ('/mnt/data/07082025/02/24/image_07082025_02_24_14_8964.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/24/image_07082025_02_24_44_9997.jpg', '/mnt/data/07082025/02/24/image_07082025_02_24_34_10116.jpg', '/mnt/data/07082025/02/24/image_07082025_02_24_24_10092.jpg', '/mnt/data/07082025/02/24/image_07082025_02_24_14_8964.jpg', '/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/24/image_07082025_02_24_44_9997.jpg', '/mnt/data/07082025/02/24/image_07082025_02_24_34_10116.jpg', '/mnt/data/07082025/02/24/image_07082025_02_24_24_10092.jpg', '/mnt/data/07082025/02/24/image_07082025_02_24_14_8964.jpg', '/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/24/image_07082025_02_24_44_9997.jpg
/mnt/data/07082025/02/24/image_07082025_02_24_34_10116.jpg
/mnt/data/07082025/02/24/image_07082025_02_24_24_10092.jpg
/mnt/data/07082025/02/24/image_07082025_02_24_14_8964.jpg
/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg
uploaded 0 photos
time to upload: 30.247346878051758 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:26:02.494346
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/25/image_07082025_02_25_24_9944.jpg', 2), ('/mnt/data/07082025/02/25/image_07082025_02_25_14_9960.jpg', 2), ('/mnt/data/07082025/02/24/image_07082025_02_25_04_10266.jpg', 2), ('/mnt/data/07082025/02/24/image_07082025_02_24_54_10017.jpg', 2), ('/mnt/data/07082025/02/24/image_07082025_02_24_44_9997.jpg', 2), ('/mnt/data/07082025/02/24/image_07082025_02_24_34_10116.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/25/image_07082025_02_25_24_9944.jpg', '/mnt/data/07082025/02/25/image_07082025_02_25_14_9960.jpg', '/mnt/data/07082025/02/24/image_07082025_02_25_04_10266.jpg', '/mnt/data/07082025/02/24/image_07082025_02_24_54_10017.jpg', '/mnt/data/07082025/02/24/image_07082025_02_24_44_9997.jpg', '/mnt/data/07082025/02/24/image_07082025_02_24_34_10116.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/25/image_07082025_02_25_24_9944.jpg', '/mnt/data/07082025/02/25/image_07082025_02_25_14_9960.jpg', '/mnt/data/07082025/02/24/image_07082025_02_25_04_10266.jpg', '/mnt/data/07082025/02/24/image_07082025_02_24_54_10017.jpg', '/mnt/data/07082025/02/24/image_07082025_02_24_44_9997.jpg', '/mnt/data/07082025/02/24/image_07082025_02_24_34_10116.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/25/image_07082025_02_25_24_9944.jpg
/mnt/data/07082025/02/25/image_07082025_02_25_14_9960.jpg
/mnt/data/07082025/02/24/image_07082025_02_25_04_10266.jpg
/mnt/data/07082025/02/24/image_07082025_02_24_54_10017.jpg
/mnt/data/07082025/02/24/image_07082025_02_24_44_9997.jpg
/mnt/data/07082025/02/24/image_07082025_02_24_34_10116.jpg
 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-07 02:28:02.847053
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/27/image_07082025_02_27_44_10051.jpg', 2), ('/mnt/data/07082025/02/27/image_07082025_02_27_34_8964.jpg', 2), ('/mnt/data/07082025/02/27/image_07082025_02_27_25_10206.jpg', 2), ('/mnt/data/07082025/02/27/image_07082025_02_27_15_10190.jpg', 2), ('/mnt/data/07082025/02/26/image_07082025_02_27_04_10165.jpg', 2), ('/mnt/data/07082025/02/26/image_07082025_02_26_54_10070.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/27/image_07082025_02_27_44_10051.jpg', '/mnt/data/07082025/02/27/image_07082025_02_27_34_8964.jpg', '/mnt/data/07082025/02/27/image_07082025_02_27_25_10206.jpg', '/mnt/data/07082025/02/27/image_07082025_02_27_15_10190.jpg', '/mnt/data/07082025/02/26/image_07082025_02_27_04_10165.jpg', '/mnt/data/07082025/02/26/image_07082025_02_26_54_10070.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/27/image_07082025_02_27_44_10051.jpg', '/mnt/data/07082025/02/27/image_07082025_02_27_34_8964.jpg', '/mnt/data/07082025/02/27/image_07082025_02_27_25_10206.jpg', '/mnt/data/07082025/02/27/image_07082025_02_27_15_10190.jpg', '/mnt/data/07082025/02/26/image_07082025_02_27_04_10165.jpg', '/mnt/data/07082025/02/26/image_07082025_02_26_54_10070.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/27/image_07082025_02_27_44_10051.jpg
/mnt/data/07082025/02/27/image_07082025_02_27_34_8964.jpg
/mnt/data/07082025/02/27/image_07082025_02_27_25_10206.jpg
/mnt/data/07082025/02/27/image_07082025_02_27_15_10190.jpg
/mnt/data/07082025/02/26/image_07082025_02_27_04_10165.jpg
/mnt/data/07082025/02/26/image_07082025_02_26_54_10070.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":["1375559635","1375559623","1375559626","1375559629","1375559620","1375559630"],"photo_ids_order":["1375559620","1375559623","1375559626","1375559629","1375559630","1375559635"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d63b83f59c7b2a680169b502b3df6b57.jpg","text":"TemporaryFile(/tmp/multipartBody6435301401260619801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526572111,"filename":"image_07082025_02_26_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/7/ee29eadb348e427796a989c8f80111f7.jpg","text":"TemporaryFile(/tmp/multipartBody8260228648322127140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526572111,"filename":"image_07082025_02_27_34_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/7/6e75289074269d90e2ac78ae39ec4304.jpg","text":"TemporaryFile(/tmp/multipartBody1864123930933484750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526572111,"filename":"image_07082025_02_27_25_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/7/6d0c78a4ddbcef2a6b46f29e7fac10a7.jpg","text":"TemporaryFile(/tmp/multipartBody4304876109303703604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526572111,"filename":"image_07082025_02_27_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/7/60633a6a6b9216aaad8743910cdc2a23.jpg","text":"TemporaryFile(/tmp/multipartBody7077445353767970834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526572111,"filename":"image_07082025_02_27_44_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/7/199473be43a48e6d8df08f101ed67f34.jpg","text":"TemporaryFile(/tmp/multipartBody4064391743843220647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526572111,"filename":"image_07082025_02_27_04_10165.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375559626","file1":"1375559623","file0":"1375559620","file4":"1375559630","file5":"1375559635","file3":"1375559629"},"map_files_photo_id_array":[{"photo_id":"1375559635","filename":"file5"},{"photo_id":"1375559626","filename":"file2"},{"photo_id":"1375559630","filename":"file4"},{"photo_id":"1375559623","filename":"file1"},{"photo_id":"1375559620","filename":"file0"},{"photo_id":"1375559629","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375559635":["hashtag1","hashtag2"]},{"1375559623":["hashtag1","hashtag2"]},{"1375559626":["hashtag1","hashtag2"]},{"1375559629":["hashtag1","hashtag2"]},{"1375559620":["hashtag1","hashtag2"]},{"1375559630":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375559635, 1375559623, 1375559626, 1375559629, 1375559620, 1375559630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.66358041763306 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:30:03.128365
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/29/image_07082025_02_29_44_10085.jpg', 2), ('/mnt/data/07082025/02/29/image_07082025_02_29_34_10077.jpg', 2), ('/mnt/data/07082025/02/29/image_07082025_02_29_24_10219.jpg', 2), ('/mnt/data/07082025/02/29/image_07082025_02_29_14_9021.jpg', 2), ('/mnt/data/07082025/02/28/image_07082025_02_29_05_10110.jpg', 2), ('/mnt/data/07082025/02/28/image_07082025_02_28_55_10109.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/29/image_07082025_02_29_44_10085.jpg', '/mnt/data/07082025/02/29/image_07082025_02_29_34_10077.jpg', '/mnt/data/07082025/02/29/image_07082025_02_29_24_10219.jpg', '/mnt/data/07082025/02/29/image_07082025_02_29_14_9021.jpg', '/mnt/data/07082025/02/28/image_07082025_02_29_05_10110.jpg', '/mnt/data/07082025/02/28/image_07082025_02_28_55_10109.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/29/image_07082025_02_29_44_10085.jpg', '/mnt/data/07082025/02/29/image_07082025_02_29_34_10077.jpg', '/mnt/data/07082025/02/29/image_07082025_02_29_24_10219.jpg', '/mnt/data/07082025/02/29/image_07082025_02_29_14_9021.jpg', '/mnt/data/07082025/02/28/image_07082025_02_29_05_10110.jpg', '/mnt/data/07082025/02/28/image_07082025_02_28_55_10109.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/29/image_07082025_02_29_44_10085.jpg
/mnt/data/07082025/02/29/image_07082025_02_29_34_10077.jpg
/mnt/data/07082025/02/29/image_07082025_02_29_24_10219.jpg
/mnt/data/07082025/02/29/image_07082025_02_29_14_9021.jpg
/mnt/data/07082025/02/28/image_07082025_02_29_05_10110.jpg
/mnt/data/07082025/02/28/image_07082025_02_28_55_10109.jpg
uploaded 0 photos
time to upload: 30.186450958251953 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:31:02.635484
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/30/image_07082025_02_30_44_10126.jpg', 2), ('/mnt/data/07082025/02/30/image_07082025_02_30_24_8937.jpg', 2), ('/mnt/data/07082025/02/30/image_07082025_02_30_15_10092.jpg', 2), ('/mnt/data/07082025/02/29/image_07082025_02_30_05_10225.jpg', 2), ('/mnt/data/07082025/02/29/image_07082025_02_29_55_10205.jpg', 2), ('/mnt/data/07082025/02/29/image_07082025_02_29_44_10085.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/30/image_07082025_02_30_44_10126.jpg', '/mnt/data/07082025/02/30/image_07082025_02_30_24_8937.jpg', '/mnt/data/07082025/02/30/image_07082025_02_30_15_10092.jpg', '/mnt/data/07082025/02/29/image_07082025_02_30_05_10225.jpg', '/mnt/data/07082025/02/29/image_07082025_02_29_55_10205.jpg', '/mnt/data/07082025/02/29/image_07082025_02_29_44_10085.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/30/image_07082025_02_30_44_10126.jpg', '/mnt/data/07082025/02/30/image_07082025_02_30_24_8937.jpg', '/mnt/data/07082025/02/30/image_07082025_02_30_15_10092.jpg', '/mnt/data/07082025/02/29/image_07082025_02_30_05_10225.jpg', '/mnt/data/07082025/02/29/image_07082025_02_29_55_10205.jpg', '/mnt/data/07082025/02/29/image_07082025_02_29_44_10085.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/30/image_07082025_02_30_44_10126.jpg
/mnt/data/07082025/02/30/image_07082025_02_30_24_8937.jpg
/mnt/data/07082025/02/30/image_07082025_02_30_15_10092.jpg
/mnt/data/07082025/02/29/image_07082025_02_30_05_10225.jpg
/mnt/data/07082025/02/29/image_07082025_02_29_55_10205.jpg
/mnt/data/07082025/02/29/image_07082025_02_29_44_10085.jpg
uploaded 0 photos
time to upload: 30.223088026046753 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:32:03.200295
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', 2), ('/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg', 2), ('/mnt/data/07082025/02/30/image_07082025_02_30_54_10126.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg', '/mnt/data/07082025/02/30/image_07082025_02_30_54_10126.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg', '/mnt/data/07082025/02/30/image_07082025_02_30_54_10126.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg
/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg
/mnt/data/07082025/02/30/image_07082025_02_30_54_10126.jpg
uploaded 0 photos
time to upload: 10.849489212036133 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-07 02:33:03.200985
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/32/image_07082025_02_32_45_9964.jpg', 2), ('/mnt/data/07082025/02/32/image_07082025_02_32_35_10000.jpg', 2), ('/mnt/data/07082025/02/32/image_07082025_02_32_25_10015.jpg', 2), ('/mnt/data/07082025/02/32/image_07082025_02_32_15_10025.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_32_05_10321.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_54_10231.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/32/image_07082025_02_32_45_9964.jpg', '/mnt/data/07082025/02/32/image_07082025_02_32_35_10000.jpg', '/mnt/data/07082025/02/32/image_07082025_02_32_25_10015.jpg', '/mnt/data/07082025/02/32/image_07082025_02_32_15_10025.jpg', '/mnt/data/07082025/02/31/image_07082025_02_32_05_10321.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_54_10231.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/32/image_07082025_02_32_45_9964.jpg', '/mnt/data/07082025/02/32/image_07082025_02_32_35_10000.jpg', '/mnt/data/07082025/02/32/image_07082025_02_32_25_10015.jpg', '/mnt/data/07082025/02/32/image_07082025_02_32_15_10025.jpg', '/mnt/data/07082025/02/31/image_07082025_02_32_05_10321.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_54_10231.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/32/image_07082025_02_32_45_9964.jpg
/mnt/data/07082025/02/32/image_07082025_02_32_35_10000.jpg
/mnt/data/07082025/02/32/image_07082025_02_32_25_10015.jpg
/mnt/data/07082025/02/32/image_07082025_02_32_15_10025.jpg
/mnt/data/07082025/02/31/image_07082025_02_32_05_10321.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_54_10231.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375559767","1375559752","1375559749","1375559764","1375559760","1375559754"],"photo_ids_order":["1375559749","1375559752","1375559754","1375559760","1375559764","1375559767"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/1ed9f67520ef21d58767c47b336187a6.jpg","text":"TemporaryFile(/tmp/multipartBody608439646437377102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526852471,"filename":"image_07082025_02_31_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/7/612e4960e55eef5336f6d77220efbe3c.jpg","text":"TemporaryFile(/tmp/multipartBody2658105128445623522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526852471,"filename":"image_07082025_02_32_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/7/bc58a7b4e37453baba4d1b8b98005b82.jpg","text":"TemporaryFile(/tmp/multipartBody6236075108623370268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526852471,"filename":"image_07082025_02_32_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/7/8ec03166b8ae19c73931e21cc55fe907.jpg","text":"TemporaryFile(/tmp/multipartBody2684977293889725106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526852471,"filename":"image_07082025_02_32_05_10321.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/1af49945d55731f116206945966d2043.jpg","text":"TemporaryFile(/tmp/multipartBody77724166364841858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526852471,"filename":"image_07082025_02_32_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/7/246e33eb179e42c6b84ea15d1f5a2fdd.jpg","text":"TemporaryFile(/tmp/multipartBody8363876689596286216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526852471,"filename":"image_07082025_02_32_25_10015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375559754","file1":"1375559752","file0":"1375559749","file4":"1375559764","file5":"1375559767","file3":"1375559760"},"map_files_photo_id_array":[{"photo_id":"1375559767","filename":"file5"},{"photo_id":"1375559754","filename":"file2"},{"photo_id":"1375559764","filename":"file4"},{"photo_id":"1375559752","filename":"file1"},{"photo_id":"1375559749","filename":"file0"},{"photo_id":"1375559760","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375559767":["hashtag1","hashtag2"]},{"1375559752":["hashtag1","hashtag2"]},{"1375559749":["hashtag1","hashtag2"]},{"1375559764":["hashtag1","hashtag2"]},{"1375559760":["hashtag1","hashtag2"]},{"1375559754":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375559767, 1375559752, 1375559749, 1375559764, 1375559760, 1375559754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.406928300857544 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:34:02.783171
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/33/image_07082025_02_33_45_10021.jpg', 2), ('/mnt/data/07082025/02/33/image_07082025_02_33_35_9982.jpg', 2), ('/mnt/data/07082025/02/33/image_07082025_02_33_25_10016.jpg', 2), ('/mnt/data/07082025/02/33/image_07082025_02_33_15_9956.jpg', 2), ('/mnt/data/07082025/02/32/image_07082025_02_33_05_10050.jpg', 2), ('/mnt/data/07082025/02/32/image_07082025_02_32_55_9972.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/33/image_07082025_02_33_45_10021.jpg', '/mnt/data/07082025/02/33/image_07082025_02_33_35_9982.jpg', '/mnt/data/07082025/02/33/image_07082025_02_33_25_10016.jpg', '/mnt/data/07082025/02/33/image_07082025_02_33_15_9956.jpg', '/mnt/data/07082025/02/32/image_07082025_02_33_05_10050.jpg', '/mnt/data/07082025/02/32/image_07082025_02_32_55_9972.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/33/image_07082025_02_33_45_10021.jpg', '/mnt/data/07082025/02/33/image_07082025_02_33_35_9982.jpg', '/mnt/data/07082025/02/33/image_07082025_02_33_25_10016.jpg', '/mnt/data/07082025/02/33/image_07082025_02_33_15_9956.jpg', '/mnt/data/07082025/02/32/image_07082025_02_33_05_10050.jpg', '/mnt/data/07082025/02/32/image_07082025_02_32_55_9972.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/33/image_07082025_02_33_45_10021.jpg
/mnt/data/07082025/02/33/image_07082025_02_33_35_9982.jpg
/mnt/data/07082025/02/33/image_07082025_02_33_25_10016.jpg
/mnt/data/07082025/02/33/image_07082025_02_33_15_9956.jpg
/mnt/data/07082025/02/32/image_07082025_02_33_05_10050.jpg
/mnt/data/07082025/02/32/image_07082025_02_32_55_9972.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":["1375559794","1375559796","1375559787","1375559798","1375559797","1375559791"],"photo_ids_order":["1375559787","1375559791","1375559794","1375559796","1375559797","1375559798"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/27077c2cbefbfbe42ad401c00112bec5.jpg","text":"TemporaryFile(/tmp/multipartBody5074273121544160573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526925887,"filename":"image_07082025_02_33_25_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/7/158e816ce559765b7571639fb622b1e0.jpg","text":"TemporaryFile(/tmp/multipartBody5422808087024275738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526925887,"filename":"image_07082025_02_33_15_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/7/39289185c000ea482707b196643e0381.jpg","text":"TemporaryFile(/tmp/multipartBody2636093470898004369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526925887,"filename":"image_07082025_02_33_45_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/7/b716257f1f6ad7a94227b8219191f3cc.jpg","text":"TemporaryFile(/tmp/multipartBody4643255403670934486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526925887,"filename":"image_07082025_02_32_55_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/7/f0fdd48c187448ae8240c5acf707782d.jpg","text":"TemporaryFile(/tmp/multipartBody406363252208618605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526925887,"filename":"image_07082025_02_33_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/7/e57278389e09185a38e94d4f963f0195.jpg","text":"TemporaryFile(/tmp/multipartBody5688456269381577522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754526925887,"filename":"image_07082025_02_33_35_9982.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375559794","file1":"1375559791","file0":"1375559787","file4":"1375559797","file5":"1375559798","file3":"1375559796"},"map_files_photo_id_array":[{"photo_id":"1375559798","filename":"file5"},{"photo_id":"1375559794","filename":"file2"},{"photo_id":"1375559797","filename":"file4"},{"photo_id":"1375559791","filename":"file1"},{"photo_id":"1375559787","filename":"file0"},{"photo_id":"1375559796","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375559794":["hashtag1","hashtag2"]},{"1375559796":["hashtag1","hashtag2"]},{"1375559787":["hashtag1","hashtag2"]},{"1375559798":["hashtag1","hashtag2"]},{"1375559797":["hashtag1","hashtag2"]},{"1375559791":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375559794, 1375559796, 1375559787, 1375559798, 1375559797, 1375559791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.83309030532837 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:36:02.612341
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/36/image_07082025_02_36_14_10226.jpg', 2), ('/mnt/data/07082025/02/35/image_07082025_02_35_44_10074.jpg', 2), ('/mnt/data/07082025/02/35/image_07082025_02_35_34_10110.jpg', 2), ('/mnt/data/07082025/02/35/image_07082025_02_35_24_8920.jpg', 2), ('/mnt/data/07082025/02/35/image_07082025_02_35_15_10043.jpg', 2), ('/mnt/data/07082025/02/34/image_07082025_02_35_05_10036.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/36/image_07082025_02_36_14_10226.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_44_10074.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_34_10110.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_24_8920.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_15_10043.jpg', '/mnt/data/07082025/02/34/image_07082025_02_35_05_10036.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/36/image_07082025_02_36_14_10226.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_44_10074.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_34_10110.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_24_8920.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_15_10043.jpg', '/mnt/data/07082025/02/34/image_07082025_02_35_05_10036.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/36/image_07082025_02_36_14_10226.jpg
/mnt/data/07082025/02/35/image_07082025_02_35_44_10074.jpg
/mnt/data/07082025/02/35/image_07082025_02_35_34_10110.jpg
/mnt/data/07082025/02/35/image_07082025_02_35_24_8920.jpg
/mnt/data/07082025/02/35/image_07082025_02_35_15_10043.jpg
/mnt/data/07082025/02/34/image_07082025_02_35_05_10036.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 142.10076236724854 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-07 02:39:03.508827
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/38/image_07082025_02_38_44_9973.jpg', 2), ('/mnt/data/07082025/02/38/image_07082025_02_38_34_10016.jpg', 2), ('/mnt/data/07082025/02/38/image_07082025_02_38_24_10007.jpg', 2), ('/mnt/data/07082025/02/38/image_07082025_02_38_14_9995.jpg', 2), ('/mnt/data/07082025/02/37/image_07082025_02_38_04_9157.jpg', 2), ('/mnt/data/07082025/02/37/image_07082025_02_37_55_9956.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/38/image_07082025_02_38_44_9973.jpg', '/mnt/data/07082025/02/38/image_07082025_02_38_34_10016.jpg', '/mnt/data/07082025/02/38/image_07082025_02_38_24_10007.jpg', '/mnt/data/07082025/02/38/image_07082025_02_38_14_9995.jpg', '/mnt/data/07082025/02/37/image_07082025_02_38_04_9157.jpg', '/mnt/data/07082025/02/37/image_07082025_02_37_55_9956.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/38/image_07082025_02_38_44_9973.jpg', '/mnt/data/07082025/02/38/image_07082025_02_38_34_10016.jpg', '/mnt/data/07082025/02/38/image_07082025_02_38_24_10007.jpg', '/mnt/data/07082025/02/38/image_07082025_02_38_14_9995.jpg', '/mnt/data/07082025/02/37/image_07082025_02_38_04_9157.jpg', '/mnt/data/07082025/02/37/image_07082025_02_37_55_9956.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/38/image_07082025_02_38_44_9973.jpg
/mnt/data/07082025/02/38/image_07082025_02_38_34_10016.jpg
/mnt/data/07082025/02/38/image_07082025_02_38_24_10007.jpg
/mnt/data/07082025/02/38/image_07082025_02_38_14_9995.jpg
/mnt/data/07082025/02/37/image_07082025_02_38_04_9157.jpg
/mnt/data/07082025/02/37/image_07082025_02_37_55_9956.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375559923","1375559908","1375559913","1375559916","1375559924","1375559918"],"photo_ids_order":["1375559908","1375559913","1375559916","1375559918","1375559923","1375559924"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/c7063d057e156e502df8a486acc82949.jpg","text":"TemporaryFile(/tmp/multipartBody5026727159406978798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527218189,"filename":"image_07082025_02_38_04_9157.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/755b1fba2f07e862f987eee8f6568620.jpg","text":"TemporaryFile(/tmp/multipartBody3445026270463595440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527218189,"filename":"image_07082025_02_38_44_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/7/781a27fa21e57215ce04ba8653f99601.jpg","text":"TemporaryFile(/tmp/multipartBody1767261998282702628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527218189,"filename":"image_07082025_02_38_34_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/7/91a0e3ce35ed37fec65a77bdd3060ccf.jpg","text":"TemporaryFile(/tmp/multipartBody2717669571813381294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527218189,"filename":"image_07082025_02_38_24_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/7/83aab44849bc6e61b145de539deae6d0.jpg","text":"TemporaryFile(/tmp/multipartBody1037822478257447897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527218189,"filename":"image_07082025_02_37_55_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/7/8e491e705b0fa95ecd9bb350f383a7a8.jpg","text":"TemporaryFile(/tmp/multipartBody8481354886103322999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527218189,"filename":"image_07082025_02_38_14_9995.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375559916","file1":"1375559913","file0":"1375559908","file4":"1375559923","file5":"1375559924","file3":"1375559918"},"map_files_photo_id_array":[{"photo_id":"1375559924","filename":"file5"},{"photo_id":"1375559916","filename":"file2"},{"photo_id":"1375559923","filename":"file4"},{"photo_id":"1375559913","filename":"file1"},{"photo_id":"1375559908","filename":"file0"},{"photo_id":"1375559918","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375559923":["hashtag1","hashtag2"]},{"1375559908":["hashtag1","hashtag2"]},{"1375559913":["hashtag1","hashtag2"]},{"1375559916":["hashtag1","hashtag2"]},{"1375559924":["hashtag1","hashtag2"]},{"1375559918":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375559923, 1375559908, 1375559913, 1375559916, 1375559924, 1375559918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.62646245956421 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:40:02.996033
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/39/image_07082025_02_39_44_9952.jpg', 2), ('/mnt/data/07082025/02/39/image_07082025_02_39_34_9915.jpg', 2), ('/mnt/data/07082025/02/39/image_07082025_02_39_24_9915.jpg', 2), ('/mnt/data/07082025/02/39/image_07082025_02_39_14_10005.jpg', 2), ('/mnt/data/07082025/02/38/image_07082025_02_39_04_10123.jpg', 2), ('/mnt/data/07082025/02/38/image_07082025_02_38_54_10013.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/39/image_07082025_02_39_44_9952.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_34_9915.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_24_9915.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_14_10005.jpg', '/mnt/data/07082025/02/38/image_07082025_02_39_04_10123.jpg', '/mnt/data/07082025/02/38/image_07082025_02_38_54_10013.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/39/image_07082025_02_39_44_9952.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_34_9915.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_24_9915.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_14_10005.jpg', '/mnt/data/07082025/02/38/image_07082025_02_39_04_10123.jpg', '/mnt/data/07082025/02/38/image_07082025_02_38_54_10013.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/39/image_07082025_02_39_44_9952.jpg
/mnt/data/07082025/02/39/image_07082025_02_39_34_9915.jpg
/mnt/data/07082025/02/39/image_07082025_02_39_24_9915.jpg
/mnt/data/07082025/02/39/image_07082025_02_39_14_10005.jpg
/mnt/data/07082025/02/38/image_07082025_02_39_04_10123.jpg
/mnt/data/07082025/02/38/image_07082025_02_38_54_10013.jpg
uploaded 0 photos
time to upload: 30.195929765701294 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:41:02.602796
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/40/image_07082025_02_40_34_10129.jpg', 2), ('/mnt/data/07082025/02/40/image_07082025_02_40_24_10017.jpg', 2), ('/mnt/data/07082025/02/40/image_07082025_02_40_14_10102.jpg', 2), ('/mnt/data/07082025/02/39/image_07082025_02_40_04_10207.jpg', 2), ('/mnt/data/07082025/02/39/image_07082025_02_39_54_9949.jpg', 2), ('/mnt/data/07082025/02/39/image_07082025_02_39_44_9952.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/40/image_07082025_02_40_34_10129.jpg', '/mnt/data/07082025/02/40/image_07082025_02_40_24_10017.jpg', '/mnt/data/07082025/02/40/image_07082025_02_40_14_10102.jpg', '/mnt/data/07082025/02/39/image_07082025_02_40_04_10207.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_54_9949.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_44_9952.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/40/image_07082025_02_40_34_10129.jpg', '/mnt/data/07082025/02/40/image_07082025_02_40_24_10017.jpg', '/mnt/data/07082025/02/40/image_07082025_02_40_14_10102.jpg', '/mnt/data/07082025/02/39/image_07082025_02_40_04_10207.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_54_9949.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_44_9952.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/40/image_07082025_02_40_34_10129.jpg
/mnt/data/07082025/02/40/image_07082025_02_40_24_10017.jpg
/mnt/data/07082025/02/40/image_07082025_02_40_14_10102.jpg
/mnt/data/07082025/02/39/image_07082025_02_40_04_10207.jpg
/mnt/data/07082025/02/39/image_07082025_02_39_54_9949.jpg
/mnt/data/07082025/02/39/image_07082025_02_39_44_9952.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375559965","1375559972","1375559975","1375559969","1375559960","1375559963"],"photo_ids_order":["1375559960","1375559963","1375559965","1375559969","1375559972","1375559975"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/a200cdc20ebfc27cfd5a788a54fda4c5.jpg","text":"TemporaryFile(/tmp/multipartBody4194783218997118095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527330676,"filename":"image_07082025_02_40_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/7/03a162fb0d3a627011bd01be81dc4d42.jpg","text":"TemporaryFile(/tmp/multipartBody153312364274786891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527330676,"filename":"image_07082025_02_39_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/7/e9db55cc1412576e91e3346ddfcf15aa.jpg","text":"TemporaryFile(/tmp/multipartBody364272251093974948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527330676,"filename":"image_07082025_02_39_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/7/137ff69f70e68cc00a0b223319012fa5.jpg","text":"TemporaryFile(/tmp/multipartBody9038159478107830038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527330676,"filename":"image_07082025_02_40_04_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/7/23a638b126a76e94831b693ce6c6b5b8.jpg","text":"TemporaryFile(/tmp/multipartBody7667660864127039844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527330676,"filename":"image_07082025_02_40_34_10129.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/08a4ca800371241ebcef6ef468f8966a.jpg","text":"TemporaryFile(/tmp/multipartBody577999635902328912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527330676,"filename":"image_07082025_02_40_24_10017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375559965","file1":"1375559963","file0":"1375559960","file4":"1375559972","file5":"1375559975","file3":"1375559969"},"map_files_photo_id_array":[{"photo_id":"1375559975","filename":"file5"},{"photo_id":"1375559965","filename":"file2"},{"photo_id":"1375559972","filename":"file4"},{"photo_id":"1375559963","filename":"file1"},{"photo_id":"1375559960","filename":"file0"},{"photo_id":"1375559969","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375559965":["hashtag1","hashtag2"]},{"1375559972":["hashtag1","hashtag2"]},{"1375559975":["hashtag1","hashtag2"]},{"1375559969":["hashtag1","hashtag2"]},{"1375559960":["hashtag1","hashtag2"]},{"1375559963":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375559965, 1375559972, 1375559975, 1375559969, 1375559960, 1375559963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.27399158477783 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:42:02.790312
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/41/image_07082025_02_41_45_10013.jpg', 2), ('/mnt/data/07082025/02/41/image_07082025_02_41_35_9961.jpg', 2), ('/mnt/data/07082025/02/41/image_07082025_02_41_25_9950.jpg', 2), ('/mnt/data/07082025/02/41/image_07082025_02_41_15_10028.jpg', 2), ('/mnt/data/07082025/02/40/image_07082025_02_41_05_10074.jpg', 2), ('/mnt/data/07082025/02/40/image_07082025_02_40_55_10070.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/41/image_07082025_02_41_45_10013.jpg', '/mnt/data/07082025/02/41/image_07082025_02_41_35_9961.jpg', '/mnt/data/07082025/02/41/image_07082025_02_41_25_9950.jpg', '/mnt/data/07082025/02/41/image_07082025_02_41_15_10028.jpg', '/mnt/data/07082025/02/40/image_07082025_02_41_05_10074.jpg', '/mnt/data/07082025/02/40/image_07082025_02_40_55_10070.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/41/image_07082025_02_41_45_10013.jpg', '/mnt/data/07082025/02/41/image_07082025_02_41_35_9961.jpg', '/mnt/data/07082025/02/41/image_07082025_02_41_25_9950.jpg', '/mnt/data/07082025/02/41/image_07082025_02_41_15_10028.jpg', '/mnt/data/07082025/02/40/image_07082025_02_41_05_10074.jpg', '/mnt/data/07082025/02/40/image_07082025_02_40_55_10070.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/41/image_07082025_02_41_45_10013.jpg
/mnt/data/07082025/02/41/image_07082025_02_41_35_9961.jpg
/mnt/data/07082025/02/41/image_07082025_02_41_25_9950.jpg
/mnt/data/07082025/02/41/image_07082025_02_41_15_10028.jpg
/mnt/data/07082025/02/40/image_07082025_02_41_05_10074.jpg
/mnt/data/07082025/02/40/image_07082025_02_40_55_10070.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375559980","1375559991","1375559984","1375559993","1375559987","1375559981"],"photo_ids_order":["1375559980","1375559981","1375559984","1375559987","1375559991","1375559993"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/cb753c0bd74fa32669a3ecd2be68e869.jpg","text":"TemporaryFile(/tmp/multipartBody2522212341065639786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527393592,"filename":"image_07082025_02_41_45_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/7/c5a3677a284a9c1bb80b9e9fb3220ab2.jpg","text":"TemporaryFile(/tmp/multipartBody8140635840516600877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527393592,"filename":"image_07082025_02_41_05_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/7/42e4aa4e47ebeb4f25734e070ab2a9e6.jpg","text":"TemporaryFile(/tmp/multipartBody3439479731888657444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527393592,"filename":"image_07082025_02_41_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/7/7aadd912667fd1d1e81606d4b56865ca.jpg","text":"TemporaryFile(/tmp/multipartBody960481392152308484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527393592,"filename":"image_07082025_02_40_55_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/7/e5bf1b350d6d113bc3bb0c9b49821845.jpg","text":"TemporaryFile(/tmp/multipartBody5804871395736776724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527393592,"filename":"image_07082025_02_41_15_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/7/19f9496844738838959a0f7b026da18b.jpg","text":"TemporaryFile(/tmp/multipartBody7324988578124083388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527393592,"filename":"image_07082025_02_41_35_9961.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375559984","file1":"1375559981","file0":"1375559980","file4":"1375559991","file5":"1375559993","file3":"1375559987"},"map_files_photo_id_array":[{"photo_id":"1375559993","filename":"file5"},{"photo_id":"1375559984","filename":"file2"},{"photo_id":"1375559991","filename":"file4"},{"photo_id":"1375559981","filename":"file1"},{"photo_id":"1375559980","filename":"file0"},{"photo_id":"1375559987","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375559980":["hashtag1","hashtag2"]},{"1375559991":["hashtag1","hashtag2"]},{"1375559984":["hashtag1","hashtag2"]},{"1375559993":["hashtag1","hashtag2"]},{"1375559987":["hashtag1","hashtag2"]},{"1375559981":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375559980, 1375559991, 1375559984, 1375559993, 1375559987, 1375559981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.813828229904175 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:43:02.329460
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/42/image_07082025_02_42_45_9981.jpg', 2), ('/mnt/data/07082025/02/42/image_07082025_02_42_35_9961.jpg', 2), ('/mnt/data/07082025/02/42/image_07082025_02_42_25_9983.jpg', 2), ('/mnt/data/07082025/02/42/image_07082025_02_42_15_10013.jpg', 2), ('/mnt/data/07082025/02/41/image_07082025_02_42_05_10075.jpg', 2), ('/mnt/data/07082025/02/41/image_07082025_02_41_55_10060.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/42/image_07082025_02_42_45_9981.jpg', '/mnt/data/07082025/02/42/image_07082025_02_42_35_9961.jpg', '/mnt/data/07082025/02/42/image_07082025_02_42_25_9983.jpg', '/mnt/data/07082025/02/42/image_07082025_02_42_15_10013.jpg', '/mnt/data/07082025/02/41/image_07082025_02_42_05_10075.jpg', '/mnt/data/07082025/02/41/image_07082025_02_41_55_10060.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/42/image_07082025_02_42_45_9981.jpg', '/mnt/data/07082025/02/42/image_07082025_02_42_35_9961.jpg', '/mnt/data/07082025/02/42/image_07082025_02_42_25_9983.jpg', '/mnt/data/07082025/02/42/image_07082025_02_42_15_10013.jpg', '/mnt/data/07082025/02/41/image_07082025_02_42_05_10075.jpg', '/mnt/data/07082025/02/41/image_07082025_02_41_55_10060.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/42/image_07082025_02_42_45_9981.jpg
/mnt/data/07082025/02/42/image_07082025_02_42_35_9961.jpg
/mnt/data/07082025/02/42/image_07082025_02_42_25_9983.jpg
/mnt/data/07082025/02/42/image_07082025_02_42_15_10013.jpg
/mnt/data/07082025/02/41/image_07082025_02_42_05_10075.jpg
/mnt/data/07082025/02/41/image_07082025_02_41_55_10060.jpg
uploaded 0 photos
time to upload: 2.668221950531006 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-07 02:44:02.739353
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/43/image_07082025_02_43_45_10020.jpg', 2), ('/mnt/data/07082025/02/43/image_07082025_02_43_35_10004.jpg', 2), ('/mnt/data/07082025/02/43/image_07082025_02_43_25_10003.jpg', 2), ('/mnt/data/07082025/02/43/image_07082025_02_43_15_10002.jpg', 2), ('/mnt/data/07082025/02/42/image_07082025_02_43_05_10052.jpg', 2), ('/mnt/data/07082025/02/42/image_07082025_02_42_55_9995.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/43/image_07082025_02_43_45_10020.jpg', '/mnt/data/07082025/02/43/image_07082025_02_43_35_10004.jpg', '/mnt/data/07082025/02/43/image_07082025_02_43_25_10003.jpg', '/mnt/data/07082025/02/43/image_07082025_02_43_15_10002.jpg', '/mnt/data/07082025/02/42/image_07082025_02_43_05_10052.jpg', '/mnt/data/07082025/02/42/image_07082025_02_42_55_9995.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/43/image_07082025_02_43_45_10020.jpg', '/mnt/data/07082025/02/43/image_07082025_02_43_35_10004.jpg', '/mnt/data/07082025/02/43/image_07082025_02_43_25_10003.jpg', '/mnt/data/07082025/02/43/image_07082025_02_43_15_10002.jpg', '/mnt/data/07082025/02/42/image_07082025_02_43_05_10052.jpg', '/mnt/data/07082025/02/42/image_07082025_02_42_55_9995.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/43/image_07082025_02_43_45_10020.jpg
/mnt/data/07082025/02/43/image_07082025_02_43_35_10004.jpg
/mnt/data/07082025/02/43/image_07082025_02_43_25_10003.jpg
/mnt/data/07082025/02/43/image_07082025_02_43_15_10002.jpg
/mnt/data/07082025/02/42/image_07082025_02_43_05_10052.jpg
/mnt/data/07082025/02/42/image_07082025_02_42_55_9995.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375560032","1375560028","1375560037","1375560019","1375560024","1375560035"],"photo_ids_order":["1375560019","1375560024","1375560028","1375560032","1375560035","1375560037"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/a4a933e57c819483039fd6368e051d6e.jpg","text":"TemporaryFile(/tmp/multipartBody1367275744935198812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527517105,"filename":"image_07082025_02_43_15_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/7/92c08f11d37b8af98c5a56a2a43b767d.jpg","text":"TemporaryFile(/tmp/multipartBody1077915943712329152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527517105,"filename":"image_07082025_02_43_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/7/fc107839dd95cbd01691526135c62b67.jpg","text":"TemporaryFile(/tmp/multipartBody2763224081102350143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527517105,"filename":"image_07082025_02_42_55_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/7/de588089174eb1acf5450e306118e616.jpg","text":"TemporaryFile(/tmp/multipartBody828530588697994457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527517105,"filename":"image_07082025_02_43_45_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/7/0aee4e48e34b6db9a3e5f876daf3c521.jpg","text":"TemporaryFile(/tmp/multipartBody3823671797464392527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527517105,"filename":"image_07082025_02_43_35_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/7/a459f4c6909f25c088e6b9d0d8e562b1.jpg","text":"TemporaryFile(/tmp/multipartBody4178803810207501393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527517105,"filename":"image_07082025_02_43_05_10052.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375560028","file1":"1375560024","file0":"1375560019","file4":"1375560035","file5":"1375560037","file3":"1375560032"},"map_files_photo_id_array":[{"photo_id":"1375560037","filename":"file5"},{"photo_id":"1375560028","filename":"file2"},{"photo_id":"1375560035","filename":"file4"},{"photo_id":"1375560024","filename":"file1"},{"photo_id":"1375560019","filename":"file0"},{"photo_id":"1375560032","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375560032":["hashtag1","hashtag2"]},{"1375560028":["hashtag1","hashtag2"]},{"1375560037":["hashtag1","hashtag2"]},{"1375560019":["hashtag1","hashtag2"]},{"1375560024":["hashtag1","hashtag2"]},{"1375560035":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375560032, 1375560028, 1375560037, 1375560019, 1375560024, 1375560035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.03518009185791 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:45:02.609040
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/45/image_07082025_02_45_25_10013.jpg', 2), ('/mnt/data/07082025/02/44/image_07082025_02_44_45_9936.jpg', 2), ('/mnt/data/07082025/02/44/image_07082025_02_44_35_9928.jpg', 2), ('/mnt/data/07082025/02/44/image_07082025_02_44_25_9940.jpg', 2), ('/mnt/data/07082025/02/44/image_07082025_02_44_15_10026.jpg', 2), ('/mnt/data/07082025/02/43/image_07082025_02_44_05_10046.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/45/image_07082025_02_45_25_10013.jpg', '/mnt/data/07082025/02/44/image_07082025_02_44_45_9936.jpg', '/mnt/data/07082025/02/44/image_07082025_02_44_35_9928.jpg', '/mnt/data/07082025/02/44/image_07082025_02_44_25_9940.jpg', '/mnt/data/07082025/02/44/image_07082025_02_44_15_10026.jpg', '/mnt/data/07082025/02/43/image_07082025_02_44_05_10046.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/45/image_07082025_02_45_25_10013.jpg', '/mnt/data/07082025/02/44/image_07082025_02_44_45_9936.jpg', '/mnt/data/07082025/02/44/image_07082025_02_44_35_9928.jpg', '/mnt/data/07082025/02/44/image_07082025_02_44_25_9940.jpg', '/mnt/data/07082025/02/44/image_07082025_02_44_15_10026.jpg', '/mnt/data/07082025/02/43/image_07082025_02_44_05_10046.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/45/image_07082025_02_45_25_10013.jpg
/mnt/data/07082025/02/44/image_07082025_02_44_45_9936.jpg
/mnt/data/07082025/02/44/image_07082025_02_44_35_9928.jpg
/mnt/data/07082025/02/44/image_07082025_02_44_25_9940.jpg
/mnt/data/07082025/02/44/image_07082025_02_44_15_10026.jpg
/mnt/data/07082025/02/43/image_07082025_02_44_05_10046.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375560044","1375560047","1375560064","1375560058","1375560061","1375560066"],"photo_ids_order":["1375560044","1375560047","1375560058","1375560061","1375560064","1375560066"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/caa37e8515a6dc536819020607dcd0d3.jpg","text":"TemporaryFile(/tmp/multipartBody4408159328136655586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527575786,"filename":"image_07082025_02_45_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/7/2051723cda961667a874901db6e783a2.jpg","text":"TemporaryFile(/tmp/multipartBody2189695391445570819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527575786,"filename":"image_07082025_02_44_45_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/7/5cde8b57e015e4c0f147efe2430b3362.jpg","text":"TemporaryFile(/tmp/multipartBody7824744809522445991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527575786,"filename":"image_07082025_02_44_15_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/7/b385310220653f54b532ab4117347057.jpg","text":"TemporaryFile(/tmp/multipartBody2118251933974258441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527575786,"filename":"image_07082025_02_44_35_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/7/16d95de499a02e0b24be00de70400546.jpg","text":"TemporaryFile(/tmp/multipartBody5387593819291244701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527575786,"filename":"image_07082025_02_44_25_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/7/aa76b1294e5a7de8819a48d291c9dec1.jpg","text":"TemporaryFile(/tmp/multipartBody8665762354143764692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527575786,"filename":"image_07082025_02_44_05_10046.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375560058","file1":"1375560047","file0":"1375560044","file4":"1375560064","file5":"1375560066","file3":"1375560061"},"map_files_photo_id_array":[{"photo_id":"1375560066","filename":"file5"},{"photo_id":"1375560058","filename":"file2"},{"photo_id":"1375560064","filename":"file4"},{"photo_id":"1375560047","filename":"file1"},{"photo_id":"1375560044","filename":"file0"},{"photo_id":"1375560061","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375560044":["hashtag1","hashtag2"]},{"1375560047":["hashtag1","hashtag2"]},{"1375560064":["hashtag1","hashtag2"]},{"1375560058":["hashtag1","hashtag2"]},{"1375560061":["hashtag1","hashtag2"]},{"1375560066":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375560044, 1375560047, 1375560064, 1375560058, 1375560061, 1375560066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.099273443222046 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:46:03.039297
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/45/image_07082025_02_45_44_8932.jpg', 2), ('/mnt/data/07082025/02/45/image_07082025_02_45_35_10153.jpg', 2), ('/mnt/data/07082025/02/45/image_07082025_02_45_15_10133.jpg', 2), ('/mnt/data/07082025/02/44/image_07082025_02_45_05_10043.jpg', 2), ('/mnt/data/07082025/02/44/image_07082025_02_44_55_9962.jpg', 2), ('/mnt/data/07082025/02/43/image_07082025_02_43_55_9963.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/45/image_07082025_02_45_44_8932.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_35_10153.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_15_10133.jpg', '/mnt/data/07082025/02/44/image_07082025_02_45_05_10043.jpg', '/mnt/data/07082025/02/44/image_07082025_02_44_55_9962.jpg', '/mnt/data/07082025/02/43/image_07082025_02_43_55_9963.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/45/image_07082025_02_45_44_8932.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_35_10153.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_15_10133.jpg', '/mnt/data/07082025/02/44/image_07082025_02_45_05_10043.jpg', '/mnt/data/07082025/02/44/image_07082025_02_44_55_9962.jpg', '/mnt/data/07082025/02/43/image_07082025_02_43_55_9963.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/45/image_07082025_02_45_44_8932.jpg
/mnt/data/07082025/02/45/image_07082025_02_45_35_10153.jpg
/mnt/data/07082025/02/45/image_07082025_02_45_15_10133.jpg
/mnt/data/07082025/02/44/image_07082025_02_45_05_10043.jpg
/mnt/data/07082025/02/44/image_07082025_02_44_55_9962.jpg
/mnt/data/07082025/02/43/image_07082025_02_43_55_9963.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 134.50684595108032 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-07 02:49:03.434574
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/48/image_07082025_02_48_24_9938.jpg', 2), ('/mnt/data/07082025/02/48/image_07082025_02_48_14_9996.jpg', 2), ('/mnt/data/07082025/02/47/image_07082025_02_48_04_10098.jpg', 2), ('/mnt/data/07082025/02/47/image_07082025_02_47_54_9962.jpg', 2), ('/mnt/data/07082025/02/47/image_07082025_02_47_44_9724.jpg', 2), ('/mnt/data/07082025/02/47/image_07082025_02_47_35_9986.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/48/image_07082025_02_48_24_9938.jpg', '/mnt/data/07082025/02/48/image_07082025_02_48_14_9996.jpg', '/mnt/data/07082025/02/47/image_07082025_02_48_04_10098.jpg', '/mnt/data/07082025/02/47/image_07082025_02_47_54_9962.jpg', '/mnt/data/07082025/02/47/image_07082025_02_47_44_9724.jpg', '/mnt/data/07082025/02/47/image_07082025_02_47_35_9986.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/48/image_07082025_02_48_24_9938.jpg', '/mnt/data/07082025/02/48/image_07082025_02_48_14_9996.jpg', '/mnt/data/07082025/02/47/image_07082025_02_48_04_10098.jpg', '/mnt/data/07082025/02/47/image_07082025_02_47_54_9962.jpg', '/mnt/data/07082025/02/47/image_07082025_02_47_44_9724.jpg', '/mnt/data/07082025/02/47/image_07082025_02_47_35_9986.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/48/image_07082025_02_48_24_9938.jpg
/mnt/data/07082025/02/48/image_07082025_02_48_14_9996.jpg
/mnt/data/07082025/02/47/image_07082025_02_48_04_10098.jpg
/mnt/data/07082025/02/47/image_07082025_02_47_54_9962.jpg
/mnt/data/07082025/02/47/image_07082025_02_47_44_9724.jpg
/mnt/data/07082025/02/47/image_07082025_02_47_35_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":["1375560151","1375560154","1375560156","1375560147","1375560170","1375560167"],"photo_ids_order":["1375560147","1375560151","1375560154","1375560156","1375560167","1375560170"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/6a21cd83ea0257d1bab7922117373111.jpg","text":"TemporaryFile(/tmp/multipartBody9115267151133527281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527830699,"filename":"image_07082025_02_48_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/7/989dea4e81297835ab2ff5cc60f6ba00.jpg","text":"TemporaryFile(/tmp/multipartBody1534386551751194216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527830699,"filename":"image_07082025_02_48_04_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/7/f0c6942c897648846ac05e359baff62b.jpg","text":"TemporaryFile(/tmp/multipartBody2048976820832523917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527830699,"filename":"image_07082025_02_47_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/7/d264e2933df0bfff95a475ffaa236785.jpg","text":"TemporaryFile(/tmp/multipartBody6287195493281133398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527830699,"filename":"image_07082025_02_48_24_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/7/90eeb73ea64da0f195cf35820bdd846f.jpg","text":"TemporaryFile(/tmp/multipartBody5279147784009955814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527830699,"filename":"image_07082025_02_47_35_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/7/18f880ceae811c89ca7c2160d0f14d5e.jpg","text":"TemporaryFile(/tmp/multipartBody8116895051636301212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527830699,"filename":"image_07082025_02_47_44_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375560154","file1":"1375560151","file0":"1375560147","file4":"1375560167","file5":"1375560170","file3":"1375560156"},"map_files_photo_id_array":[{"photo_id":"1375560170","filename":"file5"},{"photo_id":"1375560154","filename":"file2"},{"photo_id":"1375560167","filename":"file4"},{"photo_id":"1375560151","filename":"file1"},{"photo_id":"1375560147","filename":"file0"},{"photo_id":"1375560156","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375560151":["hashtag1","hashtag2"]},{"1375560154":["hashtag1","hashtag2"]},{"1375560156":["hashtag1","hashtag2"]},{"1375560147":["hashtag1","hashtag2"]},{"1375560170":["hashtag1","hashtag2"]},{"1375560167":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375560151, 1375560154, 1375560156, 1375560147, 1375560170, 1375560167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.82417273521423 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:51:03.076856
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/50/image_07082025_02_50_44_10139.jpg', 2), ('/mnt/data/07082025/02/50/image_07082025_02_50_34_10249.jpg', 2), ('/mnt/data/07082025/02/50/image_07082025_02_50_24_10249.jpg', 2), ('/mnt/data/07082025/02/50/image_07082025_02_50_14_9005.jpg', 2), ('/mnt/data/07082025/02/49/image_07082025_02_50_05_10477.jpg', 2), ('/mnt/data/07082025/02/49/image_07082025_02_49_54_10141.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/50/image_07082025_02_50_44_10139.jpg', '/mnt/data/07082025/02/50/image_07082025_02_50_34_10249.jpg', '/mnt/data/07082025/02/50/image_07082025_02_50_24_10249.jpg', '/mnt/data/07082025/02/50/image_07082025_02_50_14_9005.jpg', '/mnt/data/07082025/02/49/image_07082025_02_50_05_10477.jpg', '/mnt/data/07082025/02/49/image_07082025_02_49_54_10141.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/50/image_07082025_02_50_44_10139.jpg', '/mnt/data/07082025/02/50/image_07082025_02_50_34_10249.jpg', '/mnt/data/07082025/02/50/image_07082025_02_50_24_10249.jpg', '/mnt/data/07082025/02/50/image_07082025_02_50_14_9005.jpg', '/mnt/data/07082025/02/49/image_07082025_02_50_05_10477.jpg', '/mnt/data/07082025/02/49/image_07082025_02_49_54_10141.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/50/image_07082025_02_50_44_10139.jpg
/mnt/data/07082025/02/50/image_07082025_02_50_34_10249.jpg
/mnt/data/07082025/02/50/image_07082025_02_50_24_10249.jpg
/mnt/data/07082025/02/50/image_07082025_02_50_14_9005.jpg
/mnt/data/07082025/02/49/image_07082025_02_50_05_10477.jpg
/mnt/data/07082025/02/49/image_07082025_02_49_54_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":["1375560218","1375560212","1375560206","1375560209","1375560220","1375560216"],"photo_ids_order":["1375560206","1375560209","1375560212","1375560216","1375560218","1375560220"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/6725f116c2546539a587d98d21ec9156.jpg","text":"TemporaryFile(/tmp/multipartBody5857871252043863440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527945992,"filename":"image_07082025_02_50_05_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/7/8d34b37a555653e45cc69fa1042fddac.jpg","text":"TemporaryFile(/tmp/multipartBody202805187543753844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527945992,"filename":"image_07082025_02_50_24_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/7/d1c50a7a4a1da9abc3d00f8660efaf91.jpg","text":"TemporaryFile(/tmp/multipartBody9064342516502528845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527945992,"filename":"image_07082025_02_50_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/7/4aa7a1dae24d7be53bfaa8719083ffab.jpg","text":"TemporaryFile(/tmp/multipartBody3968766923401175361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527945992,"filename":"image_07082025_02_50_34_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/7/907b1c9d772d4665974d01d34749881b.jpg","text":"TemporaryFile(/tmp/multipartBody305950776110653064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527945992,"filename":"image_07082025_02_49_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/7/8773357d9a649273bbc467bed3d38d88.jpg","text":"TemporaryFile(/tmp/multipartBody7206498305632396983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754527945992,"filename":"image_07082025_02_50_14_9005.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375560212","file1":"1375560209","file0":"1375560206","file4":"1375560218","file5":"1375560220","file3":"1375560216"},"map_files_photo_id_array":[{"photo_id":"1375560220","filename":"file5"},{"photo_id":"1375560212","filename":"file2"},{"photo_id":"1375560218","filename":"file4"},{"photo_id":"1375560209","filename":"file1"},{"photo_id":"1375560206","filename":"file0"},{"photo_id":"1375560216","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375560218":["hashtag1","hashtag2"]},{"1375560212":["hashtag1","hashtag2"]},{"1375560206":["hashtag1","hashtag2"]},{"1375560209":["hashtag1","hashtag2"]},{"1375560220":["hashtag1","hashtag2"]},{"1375560216":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375560218, 1375560212, 1375560206, 1375560209, 1375560220, 1375560216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.204511642456055 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:53:03.226129
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/52/image_07082025_02_52_45_10302.jpg', 2), ('/mnt/data/07082025/02/52/image_07082025_02_52_34_10169.jpg', 2), ('/mnt/data/07082025/02/52/image_07082025_02_52_24_10207.jpg', 2), ('/mnt/data/07082025/02/52/image_07082025_02_52_14_8991.jpg', 2), ('/mnt/data/07082025/02/51/image_07082025_02_52_05_10390.jpg', 2), ('/mnt/data/07082025/02/51/image_07082025_02_51_54_10208.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/52/image_07082025_02_52_45_10302.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_34_10169.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_24_10207.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_14_8991.jpg', '/mnt/data/07082025/02/51/image_07082025_02_52_05_10390.jpg', '/mnt/data/07082025/02/51/image_07082025_02_51_54_10208.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/52/image_07082025_02_52_45_10302.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_34_10169.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_24_10207.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_14_8991.jpg', '/mnt/data/07082025/02/51/image_07082025_02_52_05_10390.jpg', '/mnt/data/07082025/02/51/image_07082025_02_51_54_10208.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/52/image_07082025_02_52_45_10302.jpg
/mnt/data/07082025/02/52/image_07082025_02_52_34_10169.jpg
/mnt/data/07082025/02/52/image_07082025_02_52_24_10207.jpg
/mnt/data/07082025/02/52/image_07082025_02_52_14_8991.jpg
/mnt/data/07082025/02/51/image_07082025_02_52_05_10390.jpg
/mnt/data/07082025/02/51/image_07082025_02_51_54_10208.jpg
uploaded 0 photos
time to upload: 30.188817977905273 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:54:02.382064
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/53/image_07082025_02_53_44_9943.jpg', 2), ('/mnt/data/07082025/02/53/image_07082025_02_53_24_10004.jpg', 2), ('/mnt/data/07082025/02/53/image_07082025_02_53_14_9990.jpg', 2), ('/mnt/data/07082025/02/52/image_07082025_02_53_04_9152.jpg', 2), ('/mnt/data/07082025/02/52/image_07082025_02_52_55_10227.jpg', 2), ('/mnt/data/07082025/02/52/image_07082025_02_52_45_10302.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/53/image_07082025_02_53_44_9943.jpg', '/mnt/data/07082025/02/53/image_07082025_02_53_24_10004.jpg', '/mnt/data/07082025/02/53/image_07082025_02_53_14_9990.jpg', '/mnt/data/07082025/02/52/image_07082025_02_53_04_9152.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_55_10227.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_45_10302.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/53/image_07082025_02_53_44_9943.jpg', '/mnt/data/07082025/02/53/image_07082025_02_53_24_10004.jpg', '/mnt/data/07082025/02/53/image_07082025_02_53_14_9990.jpg', '/mnt/data/07082025/02/52/image_07082025_02_53_04_9152.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_55_10227.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_45_10302.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/53/image_07082025_02_53_44_9943.jpg
/mnt/data/07082025/02/53/image_07082025_02_53_24_10004.jpg
/mnt/data/07082025/02/53/image_07082025_02_53_14_9990.jpg
/mnt/data/07082025/02/52/image_07082025_02_53_04_9152.jpg
/mnt/data/07082025/02/52/image_07082025_02_52_55_10227.jpg
/mnt/data/07082025/02/52/image_07082025_02_52_45_10302.jpg
uploaded 0 photos
time to upload: 30.103554487228394 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-07 02:55:02.992758
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/54/image_07082025_02_54_44_10029.jpg', 2), ('/mnt/data/07082025/02/54/image_07082025_02_54_34_10025.jpg', 2), ('/mnt/data/07082025/02/54/image_07082025_02_54_24_10015.jpg', 2), ('/mnt/data/07082025/02/54/image_07082025_02_54_14_9979.jpg', 2), ('/mnt/data/07082025/02/53/image_07082025_02_54_04_10057.jpg', 2), ('/mnt/data/07082025/02/53/image_07082025_02_53_54_9948.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/54/image_07082025_02_54_44_10029.jpg', '/mnt/data/07082025/02/54/image_07082025_02_54_34_10025.jpg', '/mnt/data/07082025/02/54/image_07082025_02_54_24_10015.jpg', '/mnt/data/07082025/02/54/image_07082025_02_54_14_9979.jpg', '/mnt/data/07082025/02/53/image_07082025_02_54_04_10057.jpg', '/mnt/data/07082025/02/53/image_07082025_02_53_54_9948.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/54/image_07082025_02_54_44_10029.jpg', '/mnt/data/07082025/02/54/image_07082025_02_54_34_10025.jpg', '/mnt/data/07082025/02/54/image_07082025_02_54_24_10015.jpg', '/mnt/data/07082025/02/54/image_07082025_02_54_14_9979.jpg', '/mnt/data/07082025/02/53/image_07082025_02_54_04_10057.jpg', '/mnt/data/07082025/02/53/image_07082025_02_53_54_9948.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/54/image_07082025_02_54_44_10029.jpg
/mnt/data/07082025/02/54/image_07082025_02_54_34_10025.jpg
/mnt/data/07082025/02/54/image_07082025_02_54_24_10015.jpg
/mnt/data/07082025/02/54/image_07082025_02_54_14_9979.jpg
/mnt/data/07082025/02/53/image_07082025_02_54_04_10057.jpg
/mnt/data/07082025/02/53/image_07082025_02_53_54_9948.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375560302","1375560295","1375560280","1375560277","1375560299","1375560284"],"photo_ids_order":["1375560277","1375560280","1375560284","1375560295","1375560299","1375560302"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/1d6887b0ff0821a461bce0b159842ddb.jpg","text":"TemporaryFile(/tmp/multipartBody845983574033463958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528176713,"filename":"image_07082025_02_53_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/7/061d63fa96891e56037bd05de90281de.jpg","text":"TemporaryFile(/tmp/multipartBody5010708948114279252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528176713,"filename":"image_07082025_02_54_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/7/1dd597ea0585cc9fc697f7eab420316b.jpg","text":"TemporaryFile(/tmp/multipartBody3447810881859577432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528176713,"filename":"image_07082025_02_54_34_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/7/7425fb4a2410b8f81129ce9ddea90f7f.jpg","text":"TemporaryFile(/tmp/multipartBody6396862966127009528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528176713,"filename":"image_07082025_02_54_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/7/64a31f2c4ff519396cc235fb28953930.jpg","text":"TemporaryFile(/tmp/multipartBody1965496408412560285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528176713,"filename":"image_07082025_02_54_04_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/7/a905a0636eb5f2be875fbbb375eefb2c.jpg","text":"TemporaryFile(/tmp/multipartBody6432388650378901027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528176713,"filename":"image_07082025_02_54_24_10015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375560284","file1":"1375560280","file0":"1375560277","file4":"1375560299","file5":"1375560302","file3":"1375560295"},"map_files_photo_id_array":[{"photo_id":"1375560302","filename":"file5"},{"photo_id":"1375560284","filename":"file2"},{"photo_id":"1375560299","filename":"file4"},{"photo_id":"1375560280","filename":"file1"},{"photo_id":"1375560277","filename":"file0"},{"photo_id":"1375560295","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375560302":["hashtag1","hashtag2"]},{"1375560295":["hashtag1","hashtag2"]},{"1375560280":["hashtag1","hashtag2"]},{"1375560277":["hashtag1","hashtag2"]},{"1375560299":["hashtag1","hashtag2"]},{"1375560284":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375560302, 1375560295, 1375560280, 1375560277, 1375560299, 1375560284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.20305252075195 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 02:56:02.289234
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/55/image_07082025_02_55_45_10139.jpg', 2), ('/mnt/data/07082025/02/55/image_07082025_02_55_14_10093.jpg', 2), ('/mnt/data/07082025/02/54/image_07082025_02_55_04_10120.jpg', 2), ('/mnt/data/07082025/02/54/image_07082025_02_54_54_9967.jpg', 2), ('/mnt/data/07082025/02/53/image_07082025_02_53_44_9943.jpg', 2), ('/mnt/data/07082025/02/53/image_07082025_02_53_24_10004.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/55/image_07082025_02_55_45_10139.jpg', '/mnt/data/07082025/02/55/image_07082025_02_55_14_10093.jpg', '/mnt/data/07082025/02/54/image_07082025_02_55_04_10120.jpg', '/mnt/data/07082025/02/54/image_07082025_02_54_54_9967.jpg', '/mnt/data/07082025/02/53/image_07082025_02_53_44_9943.jpg', '/mnt/data/07082025/02/53/image_07082025_02_53_24_10004.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/55/image_07082025_02_55_45_10139.jpg', '/mnt/data/07082025/02/55/image_07082025_02_55_14_10093.jpg', '/mnt/data/07082025/02/54/image_07082025_02_55_04_10120.jpg', '/mnt/data/07082025/02/54/image_07082025_02_54_54_9967.jpg', '/mnt/data/07082025/02/53/image_07082025_02_53_44_9943.jpg', '/mnt/data/07082025/02/53/image_07082025_02_53_24_10004.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/55/image_07082025_02_55_45_10139.jpg
/mnt/data/07082025/02/55/image_07082025_02_55_14_10093.jpg
/mnt/data/07082025/02/54/image_07082025_02_55_04_10120.jpg
/mnt/data/07082025/02/54/image_07082025_02_54_54_9967.jpg
/mnt/data/07082025/02/53/image_07082025_02_53_44_9943.jpg
/mnt/data/07082025/02/53/image_07082025_02_53_24_10004.jpg
 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-07 02:59:02.630985
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg', 2), ('/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg', 2), ('/mnt/data/07082025/02/57/image_07082025_02_57_54_9584.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg', '/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_54_9584.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg', '/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_54_9584.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg
/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg
/mnt/data/07082025/02/57/image_07082025_02_57_54_9584.jpg
uploaded 0 photos
time to upload: 30.1970694065094 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:00:03.072571
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/59/image_07082025_02_59_44_10236.jpg', 2), ('/mnt/data/07082025/02/59/image_07082025_02_59_34_9018.jpg', 2), ('/mnt/data/07082025/02/59/image_07082025_02_59_25_10149.jpg', 2), ('/mnt/data/07082025/02/59/image_07082025_02_59_15_10589.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_59_04_10173.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_54_9062.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/59/image_07082025_02_59_44_10236.jpg', '/mnt/data/07082025/02/59/image_07082025_02_59_34_9018.jpg', '/mnt/data/07082025/02/59/image_07082025_02_59_25_10149.jpg', '/mnt/data/07082025/02/59/image_07082025_02_59_15_10589.jpg', '/mnt/data/07082025/02/58/image_07082025_02_59_04_10173.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_54_9062.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/59/image_07082025_02_59_44_10236.jpg', '/mnt/data/07082025/02/59/image_07082025_02_59_34_9018.jpg', '/mnt/data/07082025/02/59/image_07082025_02_59_25_10149.jpg', '/mnt/data/07082025/02/59/image_07082025_02_59_15_10589.jpg', '/mnt/data/07082025/02/58/image_07082025_02_59_04_10173.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_54_9062.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/59/image_07082025_02_59_44_10236.jpg
/mnt/data/07082025/02/59/image_07082025_02_59_34_9018.jpg
/mnt/data/07082025/02/59/image_07082025_02_59_25_10149.jpg
/mnt/data/07082025/02/59/image_07082025_02_59_15_10589.jpg
/mnt/data/07082025/02/58/image_07082025_02_59_04_10173.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_54_9062.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":["1375562106","1375562144","1375562147","1375562114","1375562071","1375562074"],"photo_ids_order":["1375562071","1375562074","1375562106","1375562114","1375562144","1375562147"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/aff1c3e58b8649292416416b997595db.jpg","text":"TemporaryFile(/tmp/multipartBody5066755352284528686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528488150,"filename":"image_07082025_02_59_25_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/7/45f56e6a57711fc8da8f4002e3315758.jpg","text":"TemporaryFile(/tmp/multipartBody3648034870162006501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528488150,"filename":"image_07082025_02_59_04_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/7/9a2a887f74d2fda2dcc61226b86460d0.jpg","text":"TemporaryFile(/tmp/multipartBody6249089326811454238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528488150,"filename":"image_07082025_02_58_54_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/7/c7c1faf6a4df480e5b3b955d44007542.jpg","text":"TemporaryFile(/tmp/multipartBody4588405175282111631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528488150,"filename":"image_07082025_02_59_15_10589.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/1fd8f239022d482aca4d11335bb12ccc.jpg","text":"TemporaryFile(/tmp/multipartBody7445547456777173725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528488150,"filename":"image_07082025_02_59_44_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/7/efeaec361c7c273ca93e8a06cc27b2d1.jpg","text":"TemporaryFile(/tmp/multipartBody6158528688402102549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528488150,"filename":"image_07082025_02_59_34_9018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375562106","file1":"1375562074","file0":"1375562071","file4":"1375562144","file5":"1375562147","file3":"1375562114"},"map_files_photo_id_array":[{"photo_id":"1375562147","filename":"file5"},{"photo_id":"1375562106","filename":"file2"},{"photo_id":"1375562144","filename":"file4"},{"photo_id":"1375562074","filename":"file1"},{"photo_id":"1375562071","filename":"file0"},{"photo_id":"1375562114","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375562106":["hashtag1","hashtag2"]},{"1375562144":["hashtag1","hashtag2"]},{"1375562147":["hashtag1","hashtag2"]},{"1375562114":["hashtag1","hashtag2"]},{"1375562071":["hashtag1","hashtag2"]},{"1375562074":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375562106, 1375562144, 1375562147, 1375562114, 1375562071, 1375562074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.03519821166992 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:02:02.563363
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/01/image_07082025_03_01_14_9981.jpg', 2), ('/mnt/data/07082025/03/00/image_07082025_03_01_04_10189.jpg', 2), ('/mnt/data/07082025/03/00/image_07082025_03_00_54_9929.jpg', 2), ('/mnt/data/07082025/03/00/image_07082025_03_00_44_9950.jpg', 2), ('/mnt/data/07082025/03/00/image_07082025_03_00_34_10040.jpg', 2), ('/mnt/data/07082025/03/00/image_07082025_03_00_24_10005.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/01/image_07082025_03_01_14_9981.jpg', '/mnt/data/07082025/03/00/image_07082025_03_01_04_10189.jpg', '/mnt/data/07082025/03/00/image_07082025_03_00_54_9929.jpg', '/mnt/data/07082025/03/00/image_07082025_03_00_44_9950.jpg', '/mnt/data/07082025/03/00/image_07082025_03_00_34_10040.jpg', '/mnt/data/07082025/03/00/image_07082025_03_00_24_10005.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/01/image_07082025_03_01_14_9981.jpg', '/mnt/data/07082025/03/00/image_07082025_03_01_04_10189.jpg', '/mnt/data/07082025/03/00/image_07082025_03_00_54_9929.jpg', '/mnt/data/07082025/03/00/image_07082025_03_00_44_9950.jpg', '/mnt/data/07082025/03/00/image_07082025_03_00_34_10040.jpg', '/mnt/data/07082025/03/00/image_07082025_03_00_24_10005.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/01/image_07082025_03_01_14_9981.jpg
/mnt/data/07082025/03/00/image_07082025_03_01_04_10189.jpg
/mnt/data/07082025/03/00/image_07082025_03_00_54_9929.jpg
/mnt/data/07082025/03/00/image_07082025_03_00_44_9950.jpg
/mnt/data/07082025/03/00/image_07082025_03_00_34_10040.jpg
/mnt/data/07082025/03/00/image_07082025_03_00_24_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":["1375562196","1375562199","1375562202","1375562192","1375562205","1375562204"],"photo_ids_order":["1375562192","1375562196","1375562199","1375562202","1375562204","1375562205"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/0db3a949d836da6d9d9e215060751a1d.jpg","text":"TemporaryFile(/tmp/multipartBody3947394438131608418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528605875,"filename":"image_07082025_03_01_04_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/7/d6b6e69a737ac99b57c02b88cdb1703d.jpg","text":"TemporaryFile(/tmp/multipartBody1665388957898341549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528605875,"filename":"image_07082025_03_00_54_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/7/d8fd58a3424adf7fc7fa46b7cf1216e8.jpg","text":"TemporaryFile(/tmp/multipartBody1593908489327788733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528605875,"filename":"image_07082025_03_00_44_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/7/cc4684902df0a65ebb2aa7303724676e.jpg","text":"TemporaryFile(/tmp/multipartBody700907466068015037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528605875,"filename":"image_07082025_03_01_14_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/7/41d8b2b7926f79354220c7d16aca42dc.jpg","text":"TemporaryFile(/tmp/multipartBody5384535814999403690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528605875,"filename":"image_07082025_03_00_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/7/12753cb96a572d6bd9cdd7a2e74ee30c.jpg","text":"TemporaryFile(/tmp/multipartBody5586809654981517360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528605875,"filename":"image_07082025_03_00_34_10040.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375562199","file1":"1375562196","file0":"1375562192","file4":"1375562204","file5":"1375562205","file3":"1375562202"},"map_files_photo_id_array":[{"photo_id":"1375562205","filename":"file5"},{"photo_id":"1375562199","filename":"file2"},{"photo_id":"1375562204","filename":"file4"},{"photo_id":"1375562196","filename":"file1"},{"photo_id":"1375562192","filename":"file0"},{"photo_id":"1375562202","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375562196":["hashtag1","hashtag2"]},{"1375562199":["hashtag1","hashtag2"]},{"1375562202":["hashtag1","hashtag2"]},{"1375562192":["hashtag1","hashtag2"]},{"1375562205":["hashtag1","hashtag2"]},{"1375562204":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375562196, 1375562199, 1375562202, 1375562192, 1375562205, 1375562204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.560075759887695 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:04:02.785294
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 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-07 03:05:02.593188
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/04/image_07082025_03_04_44_10102.jpg', 2), ('/mnt/data/07082025/03/04/image_07082025_03_04_34_10089.jpg', 2), ('/mnt/data/07082025/03/04/image_07082025_03_04_24_10087.jpg', 2), ('/mnt/data/07082025/03/04/image_07082025_03_04_14_10212.jpg', 2), ('/mnt/data/07082025/03/03/image_07082025_03_04_04_9107.jpg', 2), ('/mnt/data/07082025/03/03/image_07082025_03_03_55_10071.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/04/image_07082025_03_04_44_10102.jpg', '/mnt/data/07082025/03/04/image_07082025_03_04_34_10089.jpg', '/mnt/data/07082025/03/04/image_07082025_03_04_24_10087.jpg', '/mnt/data/07082025/03/04/image_07082025_03_04_14_10212.jpg', '/mnt/data/07082025/03/03/image_07082025_03_04_04_9107.jpg', '/mnt/data/07082025/03/03/image_07082025_03_03_55_10071.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/04/image_07082025_03_04_44_10102.jpg', '/mnt/data/07082025/03/04/image_07082025_03_04_34_10089.jpg', '/mnt/data/07082025/03/04/image_07082025_03_04_24_10087.jpg', '/mnt/data/07082025/03/04/image_07082025_03_04_14_10212.jpg', '/mnt/data/07082025/03/03/image_07082025_03_04_04_9107.jpg', '/mnt/data/07082025/03/03/image_07082025_03_03_55_10071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/04/image_07082025_03_04_44_10102.jpg
/mnt/data/07082025/03/04/image_07082025_03_04_34_10089.jpg
/mnt/data/07082025/03/04/image_07082025_03_04_24_10087.jpg
/mnt/data/07082025/03/04/image_07082025_03_04_14_10212.jpg
/mnt/data/07082025/03/03/image_07082025_03_04_04_9107.jpg
/mnt/data/07082025/03/03/image_07082025_03_03_55_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":["1375562256","1375562265","1375562259","1375562253","1375562264","1375562263"],"photo_ids_order":["1375562253","1375562256","1375562259","1375562263","1375562264","1375562265"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/1dfb4eb986ef16f98f4033efcc7027ff.jpg","text":"TemporaryFile(/tmp/multipartBody1163072624255909182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528787553,"filename":"image_07082025_03_04_34_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/7/edccb2a1545b05f4bbcd7027eb09071c.jpg","text":"TemporaryFile(/tmp/multipartBody4672998626886289592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528787553,"filename":"image_07082025_03_03_55_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/7/6eefc5a2ef4657d7e04bc375f424ad4a.jpg","text":"TemporaryFile(/tmp/multipartBody855269552063835847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528787553,"filename":"image_07082025_03_04_24_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/7/86512d10d46bc4257701fd408073a583.jpg","text":"TemporaryFile(/tmp/multipartBody6482029457067695581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528787553,"filename":"image_07082025_03_04_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/7/6962f188ea57f834b6589dd9211088fd.jpg","text":"TemporaryFile(/tmp/multipartBody5147145905602338591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528787553,"filename":"image_07082025_03_04_04_9107.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/98ce46db9de8c1325f4e5f41cbefd5e3.jpg","text":"TemporaryFile(/tmp/multipartBody751021569894669386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528787553,"filename":"image_07082025_03_04_14_10212.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375562259","file1":"1375562256","file0":"1375562253","file4":"1375562264","file5":"1375562265","file3":"1375562263"},"map_files_photo_id_array":[{"photo_id":"1375562265","filename":"file5"},{"photo_id":"1375562259","filename":"file2"},{"photo_id":"1375562264","filename":"file4"},{"photo_id":"1375562256","filename":"file1"},{"photo_id":"1375562253","filename":"file0"},{"photo_id":"1375562263","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375562256":["hashtag1","hashtag2"]},{"1375562265":["hashtag1","hashtag2"]},{"1375562259":["hashtag1","hashtag2"]},{"1375562253":["hashtag1","hashtag2"]},{"1375562264":["hashtag1","hashtag2"]},{"1375562263":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375562256, 1375562265, 1375562259, 1375562253, 1375562264, 1375562263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.86388826370239 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:07:03.399832
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/06/image_07082025_03_06_44_9995.jpg', 2), ('/mnt/data/07082025/03/06/image_07082025_03_06_34_10010.jpg', 2), ('/mnt/data/07082025/03/06/image_07082025_03_06_24_10013.jpg', 2), ('/mnt/data/07082025/03/05/image_07082025_03_06_04_10065.jpg', 2), ('/mnt/data/07082025/03/05/image_07082025_03_05_54_10011.jpg', 2), ('/mnt/data/07082025/03/05/image_07082025_03_05_44_10063.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/06/image_07082025_03_06_44_9995.jpg', '/mnt/data/07082025/03/06/image_07082025_03_06_34_10010.jpg', '/mnt/data/07082025/03/06/image_07082025_03_06_24_10013.jpg', '/mnt/data/07082025/03/05/image_07082025_03_06_04_10065.jpg', '/mnt/data/07082025/03/05/image_07082025_03_05_54_10011.jpg', '/mnt/data/07082025/03/05/image_07082025_03_05_44_10063.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/06/image_07082025_03_06_44_9995.jpg', '/mnt/data/07082025/03/06/image_07082025_03_06_34_10010.jpg', '/mnt/data/07082025/03/06/image_07082025_03_06_24_10013.jpg', '/mnt/data/07082025/03/05/image_07082025_03_06_04_10065.jpg', '/mnt/data/07082025/03/05/image_07082025_03_05_54_10011.jpg', '/mnt/data/07082025/03/05/image_07082025_03_05_44_10063.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/06/image_07082025_03_06_44_9995.jpg
/mnt/data/07082025/03/06/image_07082025_03_06_34_10010.jpg
/mnt/data/07082025/03/06/image_07082025_03_06_24_10013.jpg
/mnt/data/07082025/03/05/image_07082025_03_06_04_10065.jpg
/mnt/data/07082025/03/05/image_07082025_03_05_54_10011.jpg
/mnt/data/07082025/03/05/image_07082025_03_05_44_10063.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375562343","1375562334","1375562333","1375562336","1375562339","1375562347"],"photo_ids_order":["1375562333","1375562334","1375562336","1375562339","1375562343","1375562347"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/2e7a011e555b02faeec06ae8f53497b3.jpg","text":"TemporaryFile(/tmp/multipartBody5281948992003513045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528892963,"filename":"image_07082025_03_05_54_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/7/fa5d37e7ae54ad711de8a3783d2a998f.jpg","text":"TemporaryFile(/tmp/multipartBody1120266172057791653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528892963,"filename":"image_07082025_03_06_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/7/46caaf5f8e5058053194f7bf59aec13e.jpg","text":"TemporaryFile(/tmp/multipartBody4048694164567167740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528892963,"filename":"image_07082025_03_06_44_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/7/9b707158dcb0fb6f53ebe0c6bc0d1163.jpg","text":"TemporaryFile(/tmp/multipartBody4225762345633993892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528892963,"filename":"image_07082025_03_06_24_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/7/0bf0475fe220af40ed8b42487ebee5f7.jpg","text":"TemporaryFile(/tmp/multipartBody2378305794767469890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528892963,"filename":"image_07082025_03_06_04_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/7/40d5dd6f924dc3d340514fa4212a1f97.jpg","text":"TemporaryFile(/tmp/multipartBody2460291535373768055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528892963,"filename":"image_07082025_03_05_44_10063.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375562336","file1":"1375562334","file0":"1375562333","file4":"1375562343","file5":"1375562347","file3":"1375562339"},"map_files_photo_id_array":[{"photo_id":"1375562347","filename":"file5"},{"photo_id":"1375562336","filename":"file2"},{"photo_id":"1375562343","filename":"file4"},{"photo_id":"1375562334","filename":"file1"},{"photo_id":"1375562333","filename":"file0"},{"photo_id":"1375562339","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375562343":["hashtag1","hashtag2"]},{"1375562334":["hashtag1","hashtag2"]},{"1375562333":["hashtag1","hashtag2"]},{"1375562336":["hashtag1","hashtag2"]},{"1375562339":["hashtag1","hashtag2"]},{"1375562347":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375562343, 1375562334, 1375562333, 1375562336, 1375562339, 1375562347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.38968300819397 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:08:02.676773
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/06/image_07082025_03_06_54_10078.jpg', 2), ('/mnt/data/07082025/03/05/image_07082025_03_05_24_10086.jpg', 2), ('/mnt/data/07082025/03/05/image_07082025_03_05_14_9237.jpg', 2), ('/mnt/data/07082025/03/04/image_07082025_03_05_05_10190.jpg', 2), ('/mnt/data/07082025/03/04/image_07082025_03_04_55_10241.jpg', 2), ('/mnt/data/07082025/03/03/image_07082025_03_03_45_10086.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/06/image_07082025_03_06_54_10078.jpg', '/mnt/data/07082025/03/05/image_07082025_03_05_24_10086.jpg', '/mnt/data/07082025/03/05/image_07082025_03_05_14_9237.jpg', '/mnt/data/07082025/03/04/image_07082025_03_05_05_10190.jpg', '/mnt/data/07082025/03/04/image_07082025_03_04_55_10241.jpg', '/mnt/data/07082025/03/03/image_07082025_03_03_45_10086.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/06/image_07082025_03_06_54_10078.jpg', '/mnt/data/07082025/03/05/image_07082025_03_05_24_10086.jpg', '/mnt/data/07082025/03/05/image_07082025_03_05_14_9237.jpg', '/mnt/data/07082025/03/04/image_07082025_03_05_05_10190.jpg', '/mnt/data/07082025/03/04/image_07082025_03_04_55_10241.jpg', '/mnt/data/07082025/03/03/image_07082025_03_03_45_10086.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/06/image_07082025_03_06_54_10078.jpg
/mnt/data/07082025/03/05/image_07082025_03_05_24_10086.jpg
/mnt/data/07082025/03/05/image_07082025_03_05_14_9237.jpg
/mnt/data/07082025/03/04/image_07082025_03_05_05_10190.jpg
/mnt/data/07082025/03/04/image_07082025_03_04_55_10241.jpg
/mnt/data/07082025/03/03/image_07082025_03_03_45_10086.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":["1375562373","1375562367","1375562370","1375562375","1375562363","1375562359"],"photo_ids_order":["1375562359","1375562363","1375562367","1375562370","1375562373","1375562375"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/c041af29f42a3a1da491bdce199a1421.jpg","text":"TemporaryFile(/tmp/multipartBody5762333925567304988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528973034,"filename":"image_07082025_03_04_55_10241.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/b71c0a3861764ad5890a31bfe928dc2c.jpg","text":"TemporaryFile(/tmp/multipartBody1226561314889204548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528973034,"filename":"image_07082025_03_05_14_9237.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/54ec200f963380185b4a5a661831c1a1.jpg","text":"TemporaryFile(/tmp/multipartBody3950175313439256484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528973034,"filename":"image_07082025_03_05_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/7/237a7c646b3bb6f7e5bf40f262a67254.jpg","text":"TemporaryFile(/tmp/multipartBody8976336470339023742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528973034,"filename":"image_07082025_03_03_45_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/7/6225a1d97d64a63cee97120a85182e47.jpg","text":"TemporaryFile(/tmp/multipartBody1720409843734593687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528973034,"filename":"image_07082025_03_05_24_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/7/0ecbaf6028561421a704ca42ba97de32.jpg","text":"TemporaryFile(/tmp/multipartBody982413867362880438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754528973034,"filename":"image_07082025_03_06_54_10078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375562367","file1":"1375562363","file0":"1375562359","file4":"1375562373","file5":"1375562375","file3":"1375562370"},"map_files_photo_id_array":[{"photo_id":"1375562375","filename":"file5"},{"photo_id":"1375562367","filename":"file2"},{"photo_id":"1375562373","filename":"file4"},{"photo_id":"1375562363","filename":"file1"},{"photo_id":"1375562359","filename":"file0"},{"photo_id":"1375562370","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375562373":["hashtag1","hashtag2"]},{"1375562367":["hashtag1","hashtag2"]},{"1375562370":["hashtag1","hashtag2"]},{"1375562375":["hashtag1","hashtag2"]},{"1375562363":["hashtag1","hashtag2"]},{"1375562359":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375562373, 1375562367, 1375562370, 1375562375, 1375562363, 1375562359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.54000878334045 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:10:02.453760
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/09/image_07082025_03_09_44_9999.jpg', 2), ('/mnt/data/07082025/03/09/image_07082025_03_09_34_9944.jpg', 2), ('/mnt/data/07082025/03/09/image_07082025_03_09_24_9990.jpg', 2), ('/mnt/data/07082025/03/09/image_07082025_03_09_14_9985.jpg', 2), ('/mnt/data/07082025/03/08/image_07082025_03_09_04_10138.jpg', 2), ('/mnt/data/07082025/03/08/image_07082025_03_08_54_9987.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/09/image_07082025_03_09_44_9999.jpg', '/mnt/data/07082025/03/09/image_07082025_03_09_34_9944.jpg', '/mnt/data/07082025/03/09/image_07082025_03_09_24_9990.jpg', '/mnt/data/07082025/03/09/image_07082025_03_09_14_9985.jpg', '/mnt/data/07082025/03/08/image_07082025_03_09_04_10138.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_54_9987.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/09/image_07082025_03_09_44_9999.jpg', '/mnt/data/07082025/03/09/image_07082025_03_09_34_9944.jpg', '/mnt/data/07082025/03/09/image_07082025_03_09_24_9990.jpg', '/mnt/data/07082025/03/09/image_07082025_03_09_14_9985.jpg', '/mnt/data/07082025/03/08/image_07082025_03_09_04_10138.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_54_9987.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/09/image_07082025_03_09_44_9999.jpg
/mnt/data/07082025/03/09/image_07082025_03_09_34_9944.jpg
/mnt/data/07082025/03/09/image_07082025_03_09_24_9990.jpg
/mnt/data/07082025/03/09/image_07082025_03_09_14_9985.jpg
/mnt/data/07082025/03/08/image_07082025_03_09_04_10138.jpg
/mnt/data/07082025/03/08/image_07082025_03_08_54_9987.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375562428","1375562413","1375562424","1375562418","1375562421","1375562411"],"photo_ids_order":["1375562411","1375562413","1375562418","1375562421","1375562424","1375562428"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/3f6c0cdb6949f1c595a23060fafa7f06.jpg","text":"TemporaryFile(/tmp/multipartBody6266132532492038033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529076484,"filename":"image_07082025_03_08_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/7/bc951362d0a0be52f264e9a2e43248e6.jpg","text":"TemporaryFile(/tmp/multipartBody5462883087136155052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529076484,"filename":"image_07082025_03_09_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/7/a7ba16e5e1df7b3bc6838d159a4a8688.jpg","text":"TemporaryFile(/tmp/multipartBody6998077181422964743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529076484,"filename":"image_07082025_03_09_04_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/7/b24c096c25a7326443e89297397e8e7b.jpg","text":"TemporaryFile(/tmp/multipartBody5631001848530857431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529076484,"filename":"image_07082025_03_09_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/7/8f5f1385bca9bf17695425205282a91f.jpg","text":"TemporaryFile(/tmp/multipartBody8696898743485268191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529076484,"filename":"image_07082025_03_09_14_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/7/896daac60289d4457819827a0420f4b2.jpg","text":"TemporaryFile(/tmp/multipartBody7557859343419816033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529076484,"filename":"image_07082025_03_09_44_9999.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375562418","file1":"1375562413","file0":"1375562411","file4":"1375562424","file5":"1375562428","file3":"1375562421"},"map_files_photo_id_array":[{"photo_id":"1375562428","filename":"file5"},{"photo_id":"1375562418","filename":"file2"},{"photo_id":"1375562424","filename":"file4"},{"photo_id":"1375562413","filename":"file1"},{"photo_id":"1375562411","filename":"file0"},{"photo_id":"1375562421","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375562428":["hashtag1","hashtag2"]},{"1375562413":["hashtag1","hashtag2"]},{"1375562424":["hashtag1","hashtag2"]},{"1375562418":["hashtag1","hashtag2"]},{"1375562421":["hashtag1","hashtag2"]},{"1375562411":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375562428, 1375562413, 1375562424, 1375562418, 1375562421, 1375562411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.151267766952515 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:11:03.240490
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/10/image_07082025_03_10_44_10102.jpg', 2), ('/mnt/data/07082025/03/10/image_07082025_03_10_34_10127.jpg', 2), ('/mnt/data/07082025/03/10/image_07082025_03_10_24_10067.jpg', 2), ('/mnt/data/07082025/03/10/image_07082025_03_10_14_9984.jpg', 2), ('/mnt/data/07082025/03/09/image_07082025_03_10_04_10049.jpg', 2), ('/mnt/data/07082025/03/09/image_07082025_03_09_54_9986.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/10/image_07082025_03_10_44_10102.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_34_10127.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_24_10067.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_14_9984.jpg', '/mnt/data/07082025/03/09/image_07082025_03_10_04_10049.jpg', '/mnt/data/07082025/03/09/image_07082025_03_09_54_9986.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/10/image_07082025_03_10_44_10102.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_34_10127.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_24_10067.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_14_9984.jpg', '/mnt/data/07082025/03/09/image_07082025_03_10_04_10049.jpg', '/mnt/data/07082025/03/09/image_07082025_03_09_54_9986.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/10/image_07082025_03_10_44_10102.jpg
/mnt/data/07082025/03/10/image_07082025_03_10_34_10127.jpg
/mnt/data/07082025/03/10/image_07082025_03_10_24_10067.jpg
/mnt/data/07082025/03/10/image_07082025_03_10_14_9984.jpg
/mnt/data/07082025/03/09/image_07082025_03_10_04_10049.jpg
/mnt/data/07082025/03/09/image_07082025_03_09_54_9986.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375562449","1375562445","1375562471","1375562488","1375562482","1375562485"],"photo_ids_order":["1375562445","1375562449","1375562471","1375562482","1375562485","1375562488"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/7d0b67384a578291c901aca987bad338.jpg","text":"TemporaryFile(/tmp/multipartBody3179148319432894237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529139734,"filename":"image_07082025_03_10_34_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/7/9ad6f891a11dc40cfb13f3c5cc97f94a.jpg","text":"TemporaryFile(/tmp/multipartBody1673207584855386780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529139734,"filename":"image_07082025_03_10_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/7/c35e1a5ef78a078749d6b678c750ee10.jpg","text":"TemporaryFile(/tmp/multipartBody1440088448683366720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529139734,"filename":"image_07082025_03_10_24_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/7/6e128b4cdc9584072cd0c1344c8d1586.jpg","text":"TemporaryFile(/tmp/multipartBody6259049115669803269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529139734,"filename":"image_07082025_03_09_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/7/e8b01d6140cd4c4add0a273ca117aa77.jpg","text":"TemporaryFile(/tmp/multipartBody5789674767441732750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529139734,"filename":"image_07082025_03_10_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/7/8b59442991c45b9f44bc3b02a3516c1b.jpg","text":"TemporaryFile(/tmp/multipartBody3589329481856891448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529139734,"filename":"image_07082025_03_10_04_10049.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375562471","file1":"1375562449","file0":"1375562445","file4":"1375562485","file5":"1375562488","file3":"1375562482"},"map_files_photo_id_array":[{"photo_id":"1375562488","filename":"file5"},{"photo_id":"1375562471","filename":"file2"},{"photo_id":"1375562485","filename":"file4"},{"photo_id":"1375562449","filename":"file1"},{"photo_id":"1375562445","filename":"file0"},{"photo_id":"1375562482","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375562449":["hashtag1","hashtag2"]},{"1375562445":["hashtag1","hashtag2"]},{"1375562471":["hashtag1","hashtag2"]},{"1375562488":["hashtag1","hashtag2"]},{"1375562482":["hashtag1","hashtag2"]},{"1375562485":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375562449, 1375562445, 1375562471, 1375562488, 1375562482, 1375562485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.2486310005188 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:12:03.060295
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', 2), ('/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', 2), ('/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg', 2), ('/mnt/data/07082025/03/08/image_07082025_03_08_34_10003.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_34_10003.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_34_10003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg
/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg
/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg
/mnt/data/07082025/03/08/image_07082025_03_08_34_10003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 150.2564399242401 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-07 03:15:02.952612
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/14/image_07082025_03_14_44_9993.jpg', 2), ('/mnt/data/07082025/03/14/image_07082025_03_14_34_9979.jpg', 2), ('/mnt/data/07082025/03/14/image_07082025_03_14_24_9939.jpg', 2), ('/mnt/data/07082025/03/14/image_07082025_03_14_14_10005.jpg', 2), ('/mnt/data/07082025/03/13/image_07082025_03_14_04_10104.jpg', 2), ('/mnt/data/07082025/03/13/image_07082025_03_13_54_9930.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/14/image_07082025_03_14_44_9993.jpg', '/mnt/data/07082025/03/14/image_07082025_03_14_34_9979.jpg', '/mnt/data/07082025/03/14/image_07082025_03_14_24_9939.jpg', '/mnt/data/07082025/03/14/image_07082025_03_14_14_10005.jpg', '/mnt/data/07082025/03/13/image_07082025_03_14_04_10104.jpg', '/mnt/data/07082025/03/13/image_07082025_03_13_54_9930.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/14/image_07082025_03_14_44_9993.jpg', '/mnt/data/07082025/03/14/image_07082025_03_14_34_9979.jpg', '/mnt/data/07082025/03/14/image_07082025_03_14_24_9939.jpg', '/mnt/data/07082025/03/14/image_07082025_03_14_14_10005.jpg', '/mnt/data/07082025/03/13/image_07082025_03_14_04_10104.jpg', '/mnt/data/07082025/03/13/image_07082025_03_13_54_9930.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/14/image_07082025_03_14_44_9993.jpg
/mnt/data/07082025/03/14/image_07082025_03_14_34_9979.jpg
/mnt/data/07082025/03/14/image_07082025_03_14_24_9939.jpg
/mnt/data/07082025/03/14/image_07082025_03_14_14_10005.jpg
/mnt/data/07082025/03/13/image_07082025_03_14_04_10104.jpg
/mnt/data/07082025/03/13/image_07082025_03_13_54_9930.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375562574","1375562577","1375562587","1375562581","1375562584","1375562572"],"photo_ids_order":["1375562572","1375562574","1375562577","1375562581","1375562584","1375562587"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/5b40b7675a97094a05b858ff684425ba.jpg","text":"TemporaryFile(/tmp/multipartBody2133380046709802546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529376598,"filename":"image_07082025_03_14_34_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/7/459f4f3d2ded2e1b399c60bac146e1fd.jpg","text":"TemporaryFile(/tmp/multipartBody2292031861157683375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529376598,"filename":"image_07082025_03_14_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/7/724d1752237f4a4d1a15d8ff5cecbe33.jpg","text":"TemporaryFile(/tmp/multipartBody1877691627034695469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529376598,"filename":"image_07082025_03_13_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/7/5a9003a1fc8d542e4417efe9ebe99f08.jpg","text":"TemporaryFile(/tmp/multipartBody7847547639175501359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529376598,"filename":"image_07082025_03_14_14_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/7/50884f790a4a31725c241dea4f0b7151.jpg","text":"TemporaryFile(/tmp/multipartBody6553601833621165222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529376598,"filename":"image_07082025_03_14_04_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/7/821997bd23cf6dd7522c11ce615fa5ef.jpg","text":"TemporaryFile(/tmp/multipartBody1915022209770042877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529376598,"filename":"image_07082025_03_14_44_9993.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375562577","file1":"1375562574","file0":"1375562572","file4":"1375562584","file5":"1375562587","file3":"1375562581"},"map_files_photo_id_array":[{"photo_id":"1375562587","filename":"file5"},{"photo_id":"1375562577","filename":"file2"},{"photo_id":"1375562584","filename":"file4"},{"photo_id":"1375562574","filename":"file1"},{"photo_id":"1375562572","filename":"file0"},{"photo_id":"1375562581","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375562574":["hashtag1","hashtag2"]},{"1375562577":["hashtag1","hashtag2"]},{"1375562587":["hashtag1","hashtag2"]},{"1375562581":["hashtag1","hashtag2"]},{"1375562584":["hashtag1","hashtag2"]},{"1375562572":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375562574, 1375562577, 1375562587, 1375562581, 1375562584, 1375562572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.973506689071655 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:16:02.677794
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/15/image_07082025_03_15_44_9956.jpg', 2), ('/mnt/data/07082025/03/15/image_07082025_03_15_34_9960.jpg', 2), ('/mnt/data/07082025/03/15/image_07082025_03_15_24_9957.jpg', 2), ('/mnt/data/07082025/03/15/image_07082025_03_15_14_10081.jpg', 2), ('/mnt/data/07082025/03/14/image_07082025_03_15_04_10147.jpg', 2), ('/mnt/data/07082025/03/14/image_07082025_03_14_54_9987.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/15/image_07082025_03_15_44_9956.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_34_9960.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_24_9957.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_14_10081.jpg', '/mnt/data/07082025/03/14/image_07082025_03_15_04_10147.jpg', '/mnt/data/07082025/03/14/image_07082025_03_14_54_9987.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/15/image_07082025_03_15_44_9956.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_34_9960.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_24_9957.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_14_10081.jpg', '/mnt/data/07082025/03/14/image_07082025_03_15_04_10147.jpg', '/mnt/data/07082025/03/14/image_07082025_03_14_54_9987.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/15/image_07082025_03_15_44_9956.jpg
/mnt/data/07082025/03/15/image_07082025_03_15_34_9960.jpg
/mnt/data/07082025/03/15/image_07082025_03_15_24_9957.jpg
/mnt/data/07082025/03/15/image_07082025_03_15_14_10081.jpg
/mnt/data/07082025/03/14/image_07082025_03_15_04_10147.jpg
/mnt/data/07082025/03/14/image_07082025_03_14_54_9987.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 134.2325475215912 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-07 03:19:02.841485
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/18/image_07082025_03_18_44_9970.jpg', 2), ('/mnt/data/07082025/03/18/image_07082025_03_18_34_10007.jpg', 2), ('/mnt/data/07082025/03/18/image_07082025_03_18_24_10046.jpg', 2), ('/mnt/data/07082025/03/18/image_07082025_03_18_14_10132.jpg', 2), ('/mnt/data/07082025/03/17/image_07082025_03_18_04_10246.jpg', 2), ('/mnt/data/07082025/03/17/image_07082025_03_17_54_9749.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/18/image_07082025_03_18_44_9970.jpg', '/mnt/data/07082025/03/18/image_07082025_03_18_34_10007.jpg', '/mnt/data/07082025/03/18/image_07082025_03_18_24_10046.jpg', '/mnt/data/07082025/03/18/image_07082025_03_18_14_10132.jpg', '/mnt/data/07082025/03/17/image_07082025_03_18_04_10246.jpg', '/mnt/data/07082025/03/17/image_07082025_03_17_54_9749.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/18/image_07082025_03_18_44_9970.jpg', '/mnt/data/07082025/03/18/image_07082025_03_18_34_10007.jpg', '/mnt/data/07082025/03/18/image_07082025_03_18_24_10046.jpg', '/mnt/data/07082025/03/18/image_07082025_03_18_14_10132.jpg', '/mnt/data/07082025/03/17/image_07082025_03_18_04_10246.jpg', '/mnt/data/07082025/03/17/image_07082025_03_17_54_9749.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/18/image_07082025_03_18_44_9970.jpg
/mnt/data/07082025/03/18/image_07082025_03_18_34_10007.jpg
/mnt/data/07082025/03/18/image_07082025_03_18_24_10046.jpg
/mnt/data/07082025/03/18/image_07082025_03_18_14_10132.jpg
/mnt/data/07082025/03/17/image_07082025_03_18_04_10246.jpg
/mnt/data/07082025/03/17/image_07082025_03_17_54_9749.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":["1375562701","1375562679","1375562676","1375562698","1375562686","1375562683"],"photo_ids_order":["1375562676","1375562679","1375562683","1375562686","1375562698","1375562701"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/623d419849750bdf6b7f7efcf10d5c6c.jpg","text":"TemporaryFile(/tmp/multipartBody152777654612299727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529627132,"filename":"image_07082025_03_17_54_9749.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/2706f29035a14fd82092b2d6fd119564.jpg","text":"TemporaryFile(/tmp/multipartBody3638306168265036371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529627132,"filename":"image_07082025_03_18_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/7/31c1212eb0e8df2c56d66ef64611cfbc.jpg","text":"TemporaryFile(/tmp/multipartBody980571958032358645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529627132,"filename":"image_07082025_03_18_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/7/79ca69f8f16535deb758982ca8ad5bb4.jpg","text":"TemporaryFile(/tmp/multipartBody2127869699960506339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529627132,"filename":"image_07082025_03_18_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/7/080c59b16e2530ffa445c3f217f00826.jpg","text":"TemporaryFile(/tmp/multipartBody4310835150364775701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529627132,"filename":"image_07082025_03_18_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/7/5610fa09bca7d4604fbe07f3ea860797.jpg","text":"TemporaryFile(/tmp/multipartBody3089354741971336857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529627132,"filename":"image_07082025_03_18_24_10046.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375562683","file1":"1375562679","file0":"1375562676","file4":"1375562698","file5":"1375562701","file3":"1375562686"},"map_files_photo_id_array":[{"photo_id":"1375562701","filename":"file5"},{"photo_id":"1375562683","filename":"file2"},{"photo_id":"1375562698","filename":"file4"},{"photo_id":"1375562679","filename":"file1"},{"photo_id":"1375562676","filename":"file0"},{"photo_id":"1375562686","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375562701":["hashtag1","hashtag2"]},{"1375562679":["hashtag1","hashtag2"]},{"1375562676":["hashtag1","hashtag2"]},{"1375562698":["hashtag1","hashtag2"]},{"1375562686":["hashtag1","hashtag2"]},{"1375562683":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375562701, 1375562679, 1375562676, 1375562698, 1375562686, 1375562683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.20262694358826 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:21:02.664065
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/20/image_07082025_03_20_44_10046.jpg', 2), ('/mnt/data/07082025/03/20/image_07082025_03_20_34_10000.jpg', 2), ('/mnt/data/07082025/03/20/image_07082025_03_20_24_9995.jpg', 2), ('/mnt/data/07082025/03/20/image_07082025_03_20_14_10037.jpg', 2), ('/mnt/data/07082025/03/19/image_07082025_03_19_24_9746.jpg', 2), ('/mnt/data/07082025/03/19/image_07082025_03_19_14_9958.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/20/image_07082025_03_20_44_10046.jpg', '/mnt/data/07082025/03/20/image_07082025_03_20_34_10000.jpg', '/mnt/data/07082025/03/20/image_07082025_03_20_24_9995.jpg', '/mnt/data/07082025/03/20/image_07082025_03_20_14_10037.jpg', '/mnt/data/07082025/03/19/image_07082025_03_19_24_9746.jpg', '/mnt/data/07082025/03/19/image_07082025_03_19_14_9958.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/20/image_07082025_03_20_44_10046.jpg', '/mnt/data/07082025/03/20/image_07082025_03_20_34_10000.jpg', '/mnt/data/07082025/03/20/image_07082025_03_20_24_9995.jpg', '/mnt/data/07082025/03/20/image_07082025_03_20_14_10037.jpg', '/mnt/data/07082025/03/19/image_07082025_03_19_24_9746.jpg', '/mnt/data/07082025/03/19/image_07082025_03_19_14_9958.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/20/image_07082025_03_20_44_10046.jpg
/mnt/data/07082025/03/20/image_07082025_03_20_34_10000.jpg
/mnt/data/07082025/03/20/image_07082025_03_20_24_9995.jpg
/mnt/data/07082025/03/20/image_07082025_03_20_14_10037.jpg
/mnt/data/07082025/03/19/image_07082025_03_19_24_9746.jpg
/mnt/data/07082025/03/19/image_07082025_03_19_14_9958.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375562731","1375562728","1375562736","1375562744","1375562741","1375562729"],"photo_ids_order":["1375562728","1375562729","1375562731","1375562736","1375562741","1375562744"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/e6e21a5761429fb72e62ae8ba4e542fe.jpg","text":"TemporaryFile(/tmp/multipartBody3090052849341471263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529729992,"filename":"image_07082025_03_20_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/7/b1ab06312d25bf70ea60296265908979.jpg","text":"TemporaryFile(/tmp/multipartBody571889218344856815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529729992,"filename":"image_07082025_03_20_44_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/7/55a91db7acc0e0eb064f899409bbc927.jpg","text":"TemporaryFile(/tmp/multipartBody2843396538499623341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529729992,"filename":"image_07082025_03_20_14_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/7/97351010d95007fa2ec56ca048827bdb.jpg","text":"TemporaryFile(/tmp/multipartBody7581149053292952692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529729992,"filename":"image_07082025_03_19_14_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/7/1c5fd888ffda98e15cf78010f29eb55c.jpg","text":"TemporaryFile(/tmp/multipartBody7171847930968518722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529729992,"filename":"image_07082025_03_19_24_9746.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/bcfce9ba456c7bd356e2fba5a1d5f9e8.jpg","text":"TemporaryFile(/tmp/multipartBody7178061937933612410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529729992,"filename":"image_07082025_03_20_34_10000.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375562731","file1":"1375562729","file0":"1375562728","file4":"1375562741","file5":"1375562744","file3":"1375562736"},"map_files_photo_id_array":[{"photo_id":"1375562744","filename":"file5"},{"photo_id":"1375562731","filename":"file2"},{"photo_id":"1375562741","filename":"file4"},{"photo_id":"1375562729","filename":"file1"},{"photo_id":"1375562728","filename":"file0"},{"photo_id":"1375562736","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375562731":["hashtag1","hashtag2"]},{"1375562728":["hashtag1","hashtag2"]},{"1375562736":["hashtag1","hashtag2"]},{"1375562744":["hashtag1","hashtag2"]},{"1375562741":["hashtag1","hashtag2"]},{"1375562729":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375562731, 1375562728, 1375562736, 1375562744, 1375562741, 1375562729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.20092558860779 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:22:03.059156
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/21/image_07082025_03_21_45_10129.jpg', 2), ('/mnt/data/07082025/03/21/image_07082025_03_21_35_10072.jpg', 2), ('/mnt/data/07082025/03/21/image_07082025_03_21_24_10104.jpg', 2), ('/mnt/data/07082025/03/20/image_07082025_03_21_04_10199.jpg', 2), ('/mnt/data/07082025/03/20/image_07082025_03_20_54_10066.jpg', 2), ('/mnt/data/07082025/03/18/image_07082025_03_19_04_10017.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/21/image_07082025_03_21_45_10129.jpg', '/mnt/data/07082025/03/21/image_07082025_03_21_35_10072.jpg', '/mnt/data/07082025/03/21/image_07082025_03_21_24_10104.jpg', '/mnt/data/07082025/03/20/image_07082025_03_21_04_10199.jpg', '/mnt/data/07082025/03/20/image_07082025_03_20_54_10066.jpg', '/mnt/data/07082025/03/18/image_07082025_03_19_04_10017.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/21/image_07082025_03_21_45_10129.jpg', '/mnt/data/07082025/03/21/image_07082025_03_21_35_10072.jpg', '/mnt/data/07082025/03/21/image_07082025_03_21_24_10104.jpg', '/mnt/data/07082025/03/20/image_07082025_03_21_04_10199.jpg', '/mnt/data/07082025/03/20/image_07082025_03_20_54_10066.jpg', '/mnt/data/07082025/03/18/image_07082025_03_19_04_10017.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/21/image_07082025_03_21_45_10129.jpg
/mnt/data/07082025/03/21/image_07082025_03_21_35_10072.jpg
/mnt/data/07082025/03/21/image_07082025_03_21_24_10104.jpg
/mnt/data/07082025/03/20/image_07082025_03_21_04_10199.jpg
/mnt/data/07082025/03/20/image_07082025_03_20_54_10066.jpg
/mnt/data/07082025/03/18/image_07082025_03_19_04_10017.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375562763","1375562762","1375562750","1375562761","1375562755","1375562758"],"photo_ids_order":["1375562750","1375562755","1375562758","1375562761","1375562762","1375562763"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/becfd2b6eeb9172b1197ba156eed6c03.jpg","text":"TemporaryFile(/tmp/multipartBody7904237675346183333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529800368,"filename":"image_07082025_03_19_04_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/7/22fe58eb62cc9c38069f1f44e1d1e378.jpg","text":"TemporaryFile(/tmp/multipartBody4471001095820496971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529800368,"filename":"image_07082025_03_20_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/7/0db88afe31cb2acdb77bc1a06646a1fc.jpg","text":"TemporaryFile(/tmp/multipartBody9091855032349234146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529800368,"filename":"image_07082025_03_21_45_10129.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/a89fc75d2cd33c1abc45acf2e5aace86.jpg","text":"TemporaryFile(/tmp/multipartBody6233006231808002757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529800368,"filename":"image_07082025_03_21_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/7/535fffd4b8be927c91bcc41a1de82b2b.jpg","text":"TemporaryFile(/tmp/multipartBody6155436697144952564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529800368,"filename":"image_07082025_03_21_35_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/7/9cdefdcaab27e0a8bb1a684e7f077253.jpg","text":"TemporaryFile(/tmp/multipartBody3573125168617259251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529800368,"filename":"image_07082025_03_21_24_10104.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375562758","file1":"1375562755","file0":"1375562750","file4":"1375562762","file5":"1375562763","file3":"1375562761"},"map_files_photo_id_array":[{"photo_id":"1375562763","filename":"file5"},{"photo_id":"1375562758","filename":"file2"},{"photo_id":"1375562762","filename":"file4"},{"photo_id":"1375562755","filename":"file1"},{"photo_id":"1375562750","filename":"file0"},{"photo_id":"1375562761","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375562763":["hashtag1","hashtag2"]},{"1375562762":["hashtag1","hashtag2"]},{"1375562750":["hashtag1","hashtag2"]},{"1375562761":["hashtag1","hashtag2"]},{"1375562755":["hashtag1","hashtag2"]},{"1375562758":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375562763, 1375562762, 1375562750, 1375562761, 1375562755, 1375562758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.974162340164185 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:23:02.569034
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/22/image_07082025_03_22_44_10071.jpg', 2), ('/mnt/data/07082025/03/22/image_07082025_03_22_34_10118.jpg', 2), ('/mnt/data/07082025/03/22/image_07082025_03_22_24_10139.jpg', 2), ('/mnt/data/07082025/03/22/image_07082025_03_22_14_10127.jpg', 2), ('/mnt/data/07082025/03/21/image_07082025_03_22_04_9025.jpg', 2), ('/mnt/data/07082025/03/21/image_07082025_03_21_55_10172.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/22/image_07082025_03_22_44_10071.jpg', '/mnt/data/07082025/03/22/image_07082025_03_22_34_10118.jpg', '/mnt/data/07082025/03/22/image_07082025_03_22_24_10139.jpg', '/mnt/data/07082025/03/22/image_07082025_03_22_14_10127.jpg', '/mnt/data/07082025/03/21/image_07082025_03_22_04_9025.jpg', '/mnt/data/07082025/03/21/image_07082025_03_21_55_10172.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/22/image_07082025_03_22_44_10071.jpg', '/mnt/data/07082025/03/22/image_07082025_03_22_34_10118.jpg', '/mnt/data/07082025/03/22/image_07082025_03_22_24_10139.jpg', '/mnt/data/07082025/03/22/image_07082025_03_22_14_10127.jpg', '/mnt/data/07082025/03/21/image_07082025_03_22_04_9025.jpg', '/mnt/data/07082025/03/21/image_07082025_03_21_55_10172.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/22/image_07082025_03_22_44_10071.jpg
/mnt/data/07082025/03/22/image_07082025_03_22_34_10118.jpg
/mnt/data/07082025/03/22/image_07082025_03_22_24_10139.jpg
/mnt/data/07082025/03/22/image_07082025_03_22_14_10127.jpg
/mnt/data/07082025/03/21/image_07082025_03_22_04_9025.jpg
/mnt/data/07082025/03/21/image_07082025_03_21_55_10172.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":["1375562781","1375562793","1375562792","1375562791","1375562785","1375562788"],"photo_ids_order":["1375562781","1375562785","1375562788","1375562791","1375562792","1375562793"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/9a398c25b245349ee4362869414a21ec.jpg","text":"TemporaryFile(/tmp/multipartBody6828389887139358613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529867585,"filename":"image_07082025_03_22_44_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/7/9b7c316b9930a1e3531f1219132a0030.jpg","text":"TemporaryFile(/tmp/multipartBody612183104491273892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529867585,"filename":"image_07082025_03_21_55_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/7/c016152c84c159cd63e054d42439865a.jpg","text":"TemporaryFile(/tmp/multipartBody857013837981887262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529867585,"filename":"image_07082025_03_22_04_9025.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/74ea479256d671d6ebb090f8c061aac8.jpg","text":"TemporaryFile(/tmp/multipartBody1253904948988031155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529867585,"filename":"image_07082025_03_22_14_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/7/769f6b29f9b5aea99af8978dfc239120.jpg","text":"TemporaryFile(/tmp/multipartBody2089796658150836110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529867585,"filename":"image_07082025_03_22_34_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/7/26a6992c955802c57365c093bb749c11.jpg","text":"TemporaryFile(/tmp/multipartBody4018553907404440075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754529867585,"filename":"image_07082025_03_22_24_10139.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375562788","file1":"1375562785","file0":"1375562781","file4":"1375562792","file5":"1375562793","file3":"1375562791"},"map_files_photo_id_array":[{"photo_id":"1375562793","filename":"file5"},{"photo_id":"1375562788","filename":"file2"},{"photo_id":"1375562792","filename":"file4"},{"photo_id":"1375562785","filename":"file1"},{"photo_id":"1375562781","filename":"file0"},{"photo_id":"1375562791","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375562781":["hashtag1","hashtag2"]},{"1375562793":["hashtag1","hashtag2"]},{"1375562792":["hashtag1","hashtag2"]},{"1375562791":["hashtag1","hashtag2"]},{"1375562785":["hashtag1","hashtag2"]},{"1375562788":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375562781, 1375562793, 1375562792, 1375562791, 1375562785, 1375562788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.55130338668823 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:25:03.237979
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/24/image_07082025_03_24_44_10124.jpg', 2), ('/mnt/data/07082025/03/24/image_07082025_03_24_34_8959.jpg', 2), ('/mnt/data/07082025/03/24/image_07082025_03_24_25_10281.jpg', 2), ('/mnt/data/07082025/03/24/image_07082025_03_24_15_10173.jpg', 2), ('/mnt/data/07082025/03/23/image_07082025_03_24_04_10146.jpg', 2), ('/mnt/data/07082025/03/23/image_07082025_03_23_54_10135.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/24/image_07082025_03_24_44_10124.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_34_8959.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_25_10281.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_15_10173.jpg', '/mnt/data/07082025/03/23/image_07082025_03_24_04_10146.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_54_10135.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/24/image_07082025_03_24_44_10124.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_34_8959.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_25_10281.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_15_10173.jpg', '/mnt/data/07082025/03/23/image_07082025_03_24_04_10146.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_54_10135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/24/image_07082025_03_24_44_10124.jpg
/mnt/data/07082025/03/24/image_07082025_03_24_34_8959.jpg
/mnt/data/07082025/03/24/image_07082025_03_24_25_10281.jpg
/mnt/data/07082025/03/24/image_07082025_03_24_15_10173.jpg
/mnt/data/07082025/03/23/image_07082025_03_24_04_10146.jpg
/mnt/data/07082025/03/23/image_07082025_03_23_54_10135.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 149.33463263511658 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-07 03:28:02.705263
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/27/image_07082025_03_27_44_9959.jpg', 2), ('/mnt/data/07082025/03/27/image_07082025_03_27_34_9973.jpg', 2), ('/mnt/data/07082025/03/27/image_07082025_03_27_24_9992.jpg', 2), ('/mnt/data/07082025/03/27/image_07082025_03_27_14_9967.jpg', 2), ('/mnt/data/07082025/03/26/image_07082025_03_27_04_10015.jpg', 2), ('/mnt/data/07082025/03/26/image_07082025_03_26_54_9945.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/27/image_07082025_03_27_44_9959.jpg', '/mnt/data/07082025/03/27/image_07082025_03_27_34_9973.jpg', '/mnt/data/07082025/03/27/image_07082025_03_27_24_9992.jpg', '/mnt/data/07082025/03/27/image_07082025_03_27_14_9967.jpg', '/mnt/data/07082025/03/26/image_07082025_03_27_04_10015.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_54_9945.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/27/image_07082025_03_27_44_9959.jpg', '/mnt/data/07082025/03/27/image_07082025_03_27_34_9973.jpg', '/mnt/data/07082025/03/27/image_07082025_03_27_24_9992.jpg', '/mnt/data/07082025/03/27/image_07082025_03_27_14_9967.jpg', '/mnt/data/07082025/03/26/image_07082025_03_27_04_10015.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_54_9945.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/27/image_07082025_03_27_44_9959.jpg
/mnt/data/07082025/03/27/image_07082025_03_27_34_9973.jpg
/mnt/data/07082025/03/27/image_07082025_03_27_24_9992.jpg
/mnt/data/07082025/03/27/image_07082025_03_27_14_9967.jpg
/mnt/data/07082025/03/26/image_07082025_03_27_04_10015.jpg
/mnt/data/07082025/03/26/image_07082025_03_26_54_9945.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375562905","1375562895","1375562898","1375562892","1375562901","1375562888"],"photo_ids_order":["1375562888","1375562892","1375562895","1375562898","1375562901","1375562905"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/97cbb8722aab8ce8ae03496df522f028.jpg","text":"TemporaryFile(/tmp/multipartBody8928029906739634739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530157748,"filename":"image_07082025_03_26_54_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/7/ea40883451ae9e592d98a576e4c0623a.jpg","text":"TemporaryFile(/tmp/multipartBody5925618559387539355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530157748,"filename":"image_07082025_03_27_24_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/7/63e5d37e398cdcb6ee1130533a3ca7b4.jpg","text":"TemporaryFile(/tmp/multipartBody4265751283175447998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530157748,"filename":"image_07082025_03_27_14_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/7/771744560055a5030f2697a5e9bbc6b2.jpg","text":"TemporaryFile(/tmp/multipartBody3672462273959728408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530157748,"filename":"image_07082025_03_27_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/7/7bace2953e1c804675f601c571181a36.jpg","text":"TemporaryFile(/tmp/multipartBody2617632378720476315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530157748,"filename":"image_07082025_03_27_04_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/7/40266bd0967c96c98279286f1a828f99.jpg","text":"TemporaryFile(/tmp/multipartBody3337950234989682658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530157748,"filename":"image_07082025_03_27_44_9959.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375562895","file1":"1375562892","file0":"1375562888","file4":"1375562901","file5":"1375562905","file3":"1375562898"},"map_files_photo_id_array":[{"photo_id":"1375562905","filename":"file5"},{"photo_id":"1375562895","filename":"file2"},{"photo_id":"1375562901","filename":"file4"},{"photo_id":"1375562892","filename":"file1"},{"photo_id":"1375562888","filename":"file0"},{"photo_id":"1375562898","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375562905":["hashtag1","hashtag2"]},{"1375562895":["hashtag1","hashtag2"]},{"1375562898":["hashtag1","hashtag2"]},{"1375562892":["hashtag1","hashtag2"]},{"1375562901":["hashtag1","hashtag2"]},{"1375562888":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375562905, 1375562895, 1375562898, 1375562892, 1375562901, 1375562888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.94035506248474 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:29:02.606802
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/26/image_07082025_03_26_44_9977.jpg', 2), ('/mnt/data/07082025/03/26/image_07082025_03_26_34_9958.jpg', 2), ('/mnt/data/07082025/03/26/image_07082025_03_26_24_10116.jpg', 2), ('/mnt/data/07082025/03/26/image_07082025_03_26_14_10082.jpg', 2), ('/mnt/data/07082025/03/25/image_07082025_03_26_04_10265.jpg', 2), ('/mnt/data/07082025/03/25/image_07082025_03_25_54_10145.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/26/image_07082025_03_26_44_9977.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_34_9958.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_24_10116.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_14_10082.jpg', '/mnt/data/07082025/03/25/image_07082025_03_26_04_10265.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_54_10145.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/26/image_07082025_03_26_44_9977.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_34_9958.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_24_10116.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_14_10082.jpg', '/mnt/data/07082025/03/25/image_07082025_03_26_04_10265.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_54_10145.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/26/image_07082025_03_26_44_9977.jpg
/mnt/data/07082025/03/26/image_07082025_03_26_34_9958.jpg
/mnt/data/07082025/03/26/image_07082025_03_26_24_10116.jpg
/mnt/data/07082025/03/26/image_07082025_03_26_14_10082.jpg
/mnt/data/07082025/03/25/image_07082025_03_26_04_10265.jpg
/mnt/data/07082025/03/25/image_07082025_03_25_54_10145.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 16.853140354156494 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-07 03:30:02.696095
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/29/image_07082025_03_29_45_10010.jpg', 2), ('/mnt/data/07082025/03/29/image_07082025_03_29_35_10089.jpg', 2), ('/mnt/data/07082025/03/29/image_07082025_03_29_25_10074.jpg', 2), ('/mnt/data/07082025/03/29/image_07082025_03_29_15_10099.jpg', 2), ('/mnt/data/07082025/03/28/image_07082025_03_29_05_10064.jpg', 2), ('/mnt/data/07082025/03/28/image_07082025_03_28_55_10047.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/29/image_07082025_03_29_45_10010.jpg', '/mnt/data/07082025/03/29/image_07082025_03_29_35_10089.jpg', '/mnt/data/07082025/03/29/image_07082025_03_29_25_10074.jpg', '/mnt/data/07082025/03/29/image_07082025_03_29_15_10099.jpg', '/mnt/data/07082025/03/28/image_07082025_03_29_05_10064.jpg', '/mnt/data/07082025/03/28/image_07082025_03_28_55_10047.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/29/image_07082025_03_29_45_10010.jpg', '/mnt/data/07082025/03/29/image_07082025_03_29_35_10089.jpg', '/mnt/data/07082025/03/29/image_07082025_03_29_25_10074.jpg', '/mnt/data/07082025/03/29/image_07082025_03_29_15_10099.jpg', '/mnt/data/07082025/03/28/image_07082025_03_29_05_10064.jpg', '/mnt/data/07082025/03/28/image_07082025_03_28_55_10047.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/29/image_07082025_03_29_45_10010.jpg
/mnt/data/07082025/03/29/image_07082025_03_29_35_10089.jpg
/mnt/data/07082025/03/29/image_07082025_03_29_25_10074.jpg
/mnt/data/07082025/03/29/image_07082025_03_29_15_10099.jpg
/mnt/data/07082025/03/28/image_07082025_03_29_05_10064.jpg
/mnt/data/07082025/03/28/image_07082025_03_28_55_10047.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375562951","1375562945","1375562971","1375562974","1375562947","1375562962"],"photo_ids_order":["1375562945","1375562947","1375562951","1375562962","1375562971","1375562974"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/fa9fde9c892d3a768a421baba06303cf.jpg","text":"TemporaryFile(/tmp/multipartBody625021672118806744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530272707,"filename":"image_07082025_03_29_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/7/fe110ee6dd5f3f31f86493b12af06992.jpg","text":"TemporaryFile(/tmp/multipartBody1908877286158050232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530272707,"filename":"image_07082025_03_29_45_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/7/ae5f17793d20fbe847983534529168a7.jpg","text":"TemporaryFile(/tmp/multipartBody2087314160111452425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530272707,"filename":"image_07082025_03_29_05_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/7/535eea7962339732eb083db7176afd0b.jpg","text":"TemporaryFile(/tmp/multipartBody5043621602232584044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530272707,"filename":"image_07082025_03_28_55_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/7/b92649f1b8120406ccc4acd8809f20fc.jpg","text":"TemporaryFile(/tmp/multipartBody3336406505601202743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530272707,"filename":"image_07082025_03_29_35_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/7/b806d70a0eb0d37244640c382190af7c.jpg","text":"TemporaryFile(/tmp/multipartBody5181386943289718095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530272707,"filename":"image_07082025_03_29_15_10099.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375562951","file1":"1375562947","file0":"1375562945","file4":"1375562971","file5":"1375562974","file3":"1375562962"},"map_files_photo_id_array":[{"photo_id":"1375562974","filename":"file5"},{"photo_id":"1375562951","filename":"file2"},{"photo_id":"1375562971","filename":"file4"},{"photo_id":"1375562947","filename":"file1"},{"photo_id":"1375562945","filename":"file0"},{"photo_id":"1375562962","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375562951":["hashtag1","hashtag2"]},{"1375562945":["hashtag1","hashtag2"]},{"1375562971":["hashtag1","hashtag2"]},{"1375562974":["hashtag1","hashtag2"]},{"1375562947":["hashtag1","hashtag2"]},{"1375562962":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375562951, 1375562945, 1375562971, 1375562974, 1375562947, 1375562962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.24185514450073 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:31:02.534205
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/30/image_07082025_03_30_44_9932.jpg', 2), ('/mnt/data/07082025/03/30/image_07082025_03_30_34_9949.jpg', 2), ('/mnt/data/07082025/03/30/image_07082025_03_30_24_10041.jpg', 2), ('/mnt/data/07082025/03/30/image_07082025_03_30_14_10061.jpg', 2), ('/mnt/data/07082025/03/29/image_07082025_03_30_04_9069.jpg', 2), ('/mnt/data/07082025/03/29/image_07082025_03_29_55_9895.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/30/image_07082025_03_30_44_9932.jpg', '/mnt/data/07082025/03/30/image_07082025_03_30_34_9949.jpg', '/mnt/data/07082025/03/30/image_07082025_03_30_24_10041.jpg', '/mnt/data/07082025/03/30/image_07082025_03_30_14_10061.jpg', '/mnt/data/07082025/03/29/image_07082025_03_30_04_9069.jpg', '/mnt/data/07082025/03/29/image_07082025_03_29_55_9895.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/30/image_07082025_03_30_44_9932.jpg', '/mnt/data/07082025/03/30/image_07082025_03_30_34_9949.jpg', '/mnt/data/07082025/03/30/image_07082025_03_30_24_10041.jpg', '/mnt/data/07082025/03/30/image_07082025_03_30_14_10061.jpg', '/mnt/data/07082025/03/29/image_07082025_03_30_04_9069.jpg', '/mnt/data/07082025/03/29/image_07082025_03_29_55_9895.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/30/image_07082025_03_30_44_9932.jpg
/mnt/data/07082025/03/30/image_07082025_03_30_34_9949.jpg
/mnt/data/07082025/03/30/image_07082025_03_30_24_10041.jpg
/mnt/data/07082025/03/30/image_07082025_03_30_14_10061.jpg
/mnt/data/07082025/03/29/image_07082025_03_30_04_9069.jpg
/mnt/data/07082025/03/29/image_07082025_03_29_55_9895.jpg
uploaded 0 photos
time to upload: 32.14808940887451 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:32:02.718742
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/31/image_07082025_03_31_44_10216.jpg', 2), ('/mnt/data/07082025/03/31/image_07082025_03_31_34_9945.jpg', 2), ('/mnt/data/07082025/03/31/image_07082025_03_31_24_9993.jpg', 2), ('/mnt/data/07082025/03/31/image_07082025_03_31_14_9952.jpg', 2), ('/mnt/data/07082025/03/30/image_07082025_03_31_04_10072.jpg', 2), ('/mnt/data/07082025/03/30/image_07082025_03_30_54_9982.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/31/image_07082025_03_31_44_10216.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_34_9945.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_24_9993.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_14_9952.jpg', '/mnt/data/07082025/03/30/image_07082025_03_31_04_10072.jpg', '/mnt/data/07082025/03/30/image_07082025_03_30_54_9982.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/31/image_07082025_03_31_44_10216.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_34_9945.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_24_9993.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_14_9952.jpg', '/mnt/data/07082025/03/30/image_07082025_03_31_04_10072.jpg', '/mnt/data/07082025/03/30/image_07082025_03_30_54_9982.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/31/image_07082025_03_31_44_10216.jpg
/mnt/data/07082025/03/31/image_07082025_03_31_34_9945.jpg
/mnt/data/07082025/03/31/image_07082025_03_31_24_9993.jpg
/mnt/data/07082025/03/31/image_07082025_03_31_14_9952.jpg
/mnt/data/07082025/03/30/image_07082025_03_31_04_10072.jpg
/mnt/data/07082025/03/30/image_07082025_03_30_54_9982.jpg
uploaded 0 photos
time to upload: 30.2149920463562 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:33:02.255701
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg', 2), ('/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg', 2), ('/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg', 2), ('/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg', 2), ('/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg', 2), ('/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg', '/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg', '/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg
/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg
/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg
/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg
/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg
/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg
uploaded 0 photos
time to upload: 3.217991352081299 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-07 03:34:03.005034
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/33/image_07082025_03_33_45_10277.jpg', 2), ('/mnt/data/07082025/03/33/image_07082025_03_33_35_10245.jpg', 2), ('/mnt/data/07082025/03/33/image_07082025_03_33_24_10293.jpg', 2), ('/mnt/data/07082025/03/33/image_07082025_03_33_14_10045.jpg', 2), ('/mnt/data/07082025/03/32/image_07082025_03_33_04_9205.jpg', 2), ('/mnt/data/07082025/03/32/image_07082025_03_32_55_10291.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/33/image_07082025_03_33_45_10277.jpg', '/mnt/data/07082025/03/33/image_07082025_03_33_35_10245.jpg', '/mnt/data/07082025/03/33/image_07082025_03_33_24_10293.jpg', '/mnt/data/07082025/03/33/image_07082025_03_33_14_10045.jpg', '/mnt/data/07082025/03/32/image_07082025_03_33_04_9205.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_55_10291.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/33/image_07082025_03_33_45_10277.jpg', '/mnt/data/07082025/03/33/image_07082025_03_33_35_10245.jpg', '/mnt/data/07082025/03/33/image_07082025_03_33_24_10293.jpg', '/mnt/data/07082025/03/33/image_07082025_03_33_14_10045.jpg', '/mnt/data/07082025/03/32/image_07082025_03_33_04_9205.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_55_10291.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/33/image_07082025_03_33_45_10277.jpg
/mnt/data/07082025/03/33/image_07082025_03_33_35_10245.jpg
/mnt/data/07082025/03/33/image_07082025_03_33_24_10293.jpg
/mnt/data/07082025/03/33/image_07082025_03_33_14_10045.jpg
/mnt/data/07082025/03/32/image_07082025_03_33_04_9205.jpg
/mnt/data/07082025/03/32/image_07082025_03_32_55_10291.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375563060","1375563053","1375563062","1375563056","1375563050","1375563046"],"photo_ids_order":["1375563046","1375563050","1375563053","1375563056","1375563060","1375563062"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/71e2608813fac7e5264462781ca90b61.jpg","text":"TemporaryFile(/tmp/multipartBody5985674494405544838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530521401,"filename":"image_07082025_03_33_04_9205.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/f059c6b174b896a789b63bab1187bd30.jpg","text":"TemporaryFile(/tmp/multipartBody5807262587413423773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530521401,"filename":"image_07082025_03_33_24_10293.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/0eab82f1a581b0f896b1a6c26376c2cb.jpg","text":"TemporaryFile(/tmp/multipartBody4218442918109647559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530521401,"filename":"image_07082025_03_32_55_10291.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/3fabf263def5458dda685c6c3d518f26.jpg","text":"TemporaryFile(/tmp/multipartBody378735323528254361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530521401,"filename":"image_07082025_03_33_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/7/9c3c7e357ec871178972772b5eee4dd9.jpg","text":"TemporaryFile(/tmp/multipartBody9070033422839031758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530521401,"filename":"image_07082025_03_33_35_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/7/b5203956f4a4b0e2f99d3a816a02317f.jpg","text":"TemporaryFile(/tmp/multipartBody3753800021676916361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530521401,"filename":"image_07082025_03_33_45_10277.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375563053","file1":"1375563050","file0":"1375563046","file4":"1375563060","file5":"1375563062","file3":"1375563056"},"map_files_photo_id_array":[{"photo_id":"1375563062","filename":"file5"},{"photo_id":"1375563053","filename":"file2"},{"photo_id":"1375563060","filename":"file4"},{"photo_id":"1375563050","filename":"file1"},{"photo_id":"1375563046","filename":"file0"},{"photo_id":"1375563056","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375563060":["hashtag1","hashtag2"]},{"1375563053":["hashtag1","hashtag2"]},{"1375563062":["hashtag1","hashtag2"]},{"1375563056":["hashtag1","hashtag2"]},{"1375563050":["hashtag1","hashtag2"]},{"1375563046":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375563060, 1375563053, 1375563062, 1375563056, 1375563050, 1375563046)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 59.00009369850159 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:36:02.845351
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/35/image_07082025_03_35_45_9994.jpg', 2), ('/mnt/data/07082025/03/35/image_07082025_03_35_35_9973.jpg', 2), ('/mnt/data/07082025/03/35/image_07082025_03_35_25_9947.jpg', 2), ('/mnt/data/07082025/03/35/image_07082025_03_35_15_9957.jpg', 2), ('/mnt/data/07082025/03/34/image_07082025_03_35_05_9957.jpg', 2), ('/mnt/data/07082025/03/34/image_07082025_03_34_55_11159.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/35/image_07082025_03_35_45_9994.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_35_9973.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_25_9947.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_15_9957.jpg', '/mnt/data/07082025/03/34/image_07082025_03_35_05_9957.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_55_11159.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/35/image_07082025_03_35_45_9994.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_35_9973.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_25_9947.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_15_9957.jpg', '/mnt/data/07082025/03/34/image_07082025_03_35_05_9957.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_55_11159.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/35/image_07082025_03_35_45_9994.jpg
/mnt/data/07082025/03/35/image_07082025_03_35_35_9973.jpg
/mnt/data/07082025/03/35/image_07082025_03_35_25_9947.jpg
/mnt/data/07082025/03/35/image_07082025_03_35_15_9957.jpg
/mnt/data/07082025/03/34/image_07082025_03_35_05_9957.jpg
/mnt/data/07082025/03/34/image_07082025_03_34_55_11159.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 139.96836972236633 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-07 03:39:02.966207
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/38/image_07082025_03_38_35_10149.jpg', 2), ('/mnt/data/07082025/03/38/image_07082025_03_38_25_10162.jpg', 2), ('/mnt/data/07082025/03/38/image_07082025_03_38_15_10111.jpg', 2), ('/mnt/data/07082025/03/37/image_07082025_03_38_05_10217.jpg', 2), ('/mnt/data/07082025/03/37/image_07082025_03_37_54_10232.jpg', 2), ('/mnt/data/07082025/03/37/image_07082025_03_37_44_9954.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/38/image_07082025_03_38_35_10149.jpg', '/mnt/data/07082025/03/38/image_07082025_03_38_25_10162.jpg', '/mnt/data/07082025/03/38/image_07082025_03_38_15_10111.jpg', '/mnt/data/07082025/03/37/image_07082025_03_38_05_10217.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_54_10232.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_44_9954.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/38/image_07082025_03_38_35_10149.jpg', '/mnt/data/07082025/03/38/image_07082025_03_38_25_10162.jpg', '/mnt/data/07082025/03/38/image_07082025_03_38_15_10111.jpg', '/mnt/data/07082025/03/37/image_07082025_03_38_05_10217.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_54_10232.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_44_9954.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/38/image_07082025_03_38_35_10149.jpg
/mnt/data/07082025/03/38/image_07082025_03_38_25_10162.jpg
/mnt/data/07082025/03/38/image_07082025_03_38_15_10111.jpg
/mnt/data/07082025/03/37/image_07082025_03_38_05_10217.jpg
/mnt/data/07082025/03/37/image_07082025_03_37_54_10232.jpg
/mnt/data/07082025/03/37/image_07082025_03_37_44_9954.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 29.367740392684937 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-07 03:40:02.413891
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/39/image_07082025_03_39_44_10235.jpg', 2), ('/mnt/data/07082025/03/39/image_07082025_03_39_34_9014.jpg', 2), ('/mnt/data/07082025/03/39/image_07082025_03_39_25_10158.jpg', 2), ('/mnt/data/07082025/03/39/image_07082025_03_39_15_10161.jpg', 2), ('/mnt/data/07082025/03/38/image_07082025_03_39_04_10209.jpg', 2), ('/mnt/data/07082025/03/38/image_07082025_03_38_44_9016.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/39/image_07082025_03_39_44_10235.jpg', '/mnt/data/07082025/03/39/image_07082025_03_39_34_9014.jpg', '/mnt/data/07082025/03/39/image_07082025_03_39_25_10158.jpg', '/mnt/data/07082025/03/39/image_07082025_03_39_15_10161.jpg', '/mnt/data/07082025/03/38/image_07082025_03_39_04_10209.jpg', '/mnt/data/07082025/03/38/image_07082025_03_38_44_9016.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/39/image_07082025_03_39_44_10235.jpg', '/mnt/data/07082025/03/39/image_07082025_03_39_34_9014.jpg', '/mnt/data/07082025/03/39/image_07082025_03_39_25_10158.jpg', '/mnt/data/07082025/03/39/image_07082025_03_39_15_10161.jpg', '/mnt/data/07082025/03/38/image_07082025_03_39_04_10209.jpg', '/mnt/data/07082025/03/38/image_07082025_03_38_44_9016.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/39/image_07082025_03_39_44_10235.jpg
/mnt/data/07082025/03/39/image_07082025_03_39_34_9014.jpg
/mnt/data/07082025/03/39/image_07082025_03_39_25_10158.jpg
/mnt/data/07082025/03/39/image_07082025_03_39_15_10161.jpg
/mnt/data/07082025/03/38/image_07082025_03_39_04_10209.jpg
/mnt/data/07082025/03/38/image_07082025_03_38_44_9016.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":["1375563261","1375563255","1375563258","1375563260","1375563262","1375563250"],"photo_ids_order":["1375563250","1375563255","1375563258","1375563260","1375563261","1375563262"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/0d74521fd20f7658c215344b0770347f.jpg","text":"TemporaryFile(/tmp/multipartBody3156718716614662348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530885220,"filename":"image_07082025_03_39_04_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/7/5858009b6360f16f5d8a3fcc6d3e0e99.jpg","text":"TemporaryFile(/tmp/multipartBody6397477854047422237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530885220,"filename":"image_07082025_03_39_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/7/6119cea9b3f2c6ca3c3503c165ee76bd.jpg","text":"TemporaryFile(/tmp/multipartBody1276662762553522080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530885220,"filename":"image_07082025_03_39_25_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/7/f8ff001a6ec9f6e785e3bca7cd6167e5.jpg","text":"TemporaryFile(/tmp/multipartBody8540942012338808674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530885220,"filename":"image_07082025_03_39_15_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/7/729144dfb85f3fc8801cc8eb693c769a.jpg","text":"TemporaryFile(/tmp/multipartBody9103227589579877373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530885220,"filename":"image_07082025_03_38_44_9016.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/dc487a7029e8fa414484bce07d6d3d08.jpg","text":"TemporaryFile(/tmp/multipartBody20748908791379409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530885220,"filename":"image_07082025_03_39_44_10235.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375563258","file1":"1375563255","file0":"1375563250","file4":"1375563261","file5":"1375563262","file3":"1375563260"},"map_files_photo_id_array":[{"photo_id":"1375563262","filename":"file5"},{"photo_id":"1375563258","filename":"file2"},{"photo_id":"1375563261","filename":"file4"},{"photo_id":"1375563255","filename":"file1"},{"photo_id":"1375563250","filename":"file0"},{"photo_id":"1375563260","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375563261":["hashtag1","hashtag2"]},{"1375563255":["hashtag1","hashtag2"]},{"1375563258":["hashtag1","hashtag2"]},{"1375563260":["hashtag1","hashtag2"]},{"1375563262":["hashtag1","hashtag2"]},{"1375563250":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375563261, 1375563255, 1375563258, 1375563260, 1375563262, 1375563250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.05777430534363 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:42:03.068642
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/41/image_07082025_03_41_44_9959.jpg', 2), ('/mnt/data/07082025/03/41/image_07082025_03_41_34_9958.jpg', 2), ('/mnt/data/07082025/03/41/image_07082025_03_41_24_10014.jpg', 2), ('/mnt/data/07082025/03/41/image_07082025_03_41_14_9962.jpg', 2), ('/mnt/data/07082025/03/40/image_07082025_03_41_04_10016.jpg', 2), ('/mnt/data/07082025/03/40/image_07082025_03_40_54_10079.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/41/image_07082025_03_41_44_9959.jpg', '/mnt/data/07082025/03/41/image_07082025_03_41_34_9958.jpg', '/mnt/data/07082025/03/41/image_07082025_03_41_24_10014.jpg', '/mnt/data/07082025/03/41/image_07082025_03_41_14_9962.jpg', '/mnt/data/07082025/03/40/image_07082025_03_41_04_10016.jpg', '/mnt/data/07082025/03/40/image_07082025_03_40_54_10079.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/41/image_07082025_03_41_44_9959.jpg', '/mnt/data/07082025/03/41/image_07082025_03_41_34_9958.jpg', '/mnt/data/07082025/03/41/image_07082025_03_41_24_10014.jpg', '/mnt/data/07082025/03/41/image_07082025_03_41_14_9962.jpg', '/mnt/data/07082025/03/40/image_07082025_03_41_04_10016.jpg', '/mnt/data/07082025/03/40/image_07082025_03_40_54_10079.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/41/image_07082025_03_41_44_9959.jpg
/mnt/data/07082025/03/41/image_07082025_03_41_34_9958.jpg
/mnt/data/07082025/03/41/image_07082025_03_41_24_10014.jpg
/mnt/data/07082025/03/41/image_07082025_03_41_14_9962.jpg
/mnt/data/07082025/03/40/image_07082025_03_41_04_10016.jpg
/mnt/data/07082025/03/40/image_07082025_03_40_54_10079.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375563332","1375563335","1375563329","1375563338","1375563325","1375563322"],"photo_ids_order":["1375563322","1375563325","1375563329","1375563332","1375563335","1375563338"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/76c19ef9dc6d033588b548f8e06d2d45.jpg","text":"TemporaryFile(/tmp/multipartBody4506650348114142933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530996003,"filename":"image_07082025_03_41_14_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/7/602095b3e94bf4d01cead2d8a4bd3060.jpg","text":"TemporaryFile(/tmp/multipartBody6190705398287532063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530996003,"filename":"image_07082025_03_41_04_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/7/17288cebfda2edc4815b6a84f9625f80.jpg","text":"TemporaryFile(/tmp/multipartBody1868349447425170524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530996003,"filename":"image_07082025_03_41_24_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/7/6959aace2be620b4fa4131afb2fdd8e1.jpg","text":"TemporaryFile(/tmp/multipartBody7738465679778330306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530996003,"filename":"image_07082025_03_40_54_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/7/e300b76615109f77f05cd1699f7ebf70.jpg","text":"TemporaryFile(/tmp/multipartBody7999011324205454473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530996003,"filename":"image_07082025_03_41_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/7/3ce6896b362931abc3e6c6e96fac839c.jpg","text":"TemporaryFile(/tmp/multipartBody2103441752134878041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754530996003,"filename":"image_07082025_03_41_44_9959.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375563329","file1":"1375563325","file0":"1375563322","file4":"1375563335","file5":"1375563338","file3":"1375563332"},"map_files_photo_id_array":[{"photo_id":"1375563338","filename":"file5"},{"photo_id":"1375563329","filename":"file2"},{"photo_id":"1375563335","filename":"file4"},{"photo_id":"1375563325","filename":"file1"},{"photo_id":"1375563322","filename":"file0"},{"photo_id":"1375563332","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375563332":["hashtag1","hashtag2"]},{"1375563335":["hashtag1","hashtag2"]},{"1375563329":["hashtag1","hashtag2"]},{"1375563338":["hashtag1","hashtag2"]},{"1375563325":["hashtag1","hashtag2"]},{"1375563322":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375563332, 1375563335, 1375563329, 1375563338, 1375563325, 1375563322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.30063271522522 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:43:02.716615
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/42/image_07082025_03_42_44_9949.jpg', 2), ('/mnt/data/07082025/03/42/image_07082025_03_42_34_9962.jpg', 2), ('/mnt/data/07082025/03/42/image_07082025_03_42_24_9983.jpg', 2), ('/mnt/data/07082025/03/42/image_07082025_03_42_14_9962.jpg', 2), ('/mnt/data/07082025/03/41/image_07082025_03_42_04_10080.jpg', 2), ('/mnt/data/07082025/03/41/image_07082025_03_41_54_9986.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/42/image_07082025_03_42_44_9949.jpg', '/mnt/data/07082025/03/42/image_07082025_03_42_34_9962.jpg', '/mnt/data/07082025/03/42/image_07082025_03_42_24_9983.jpg', '/mnt/data/07082025/03/42/image_07082025_03_42_14_9962.jpg', '/mnt/data/07082025/03/41/image_07082025_03_42_04_10080.jpg', '/mnt/data/07082025/03/41/image_07082025_03_41_54_9986.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/42/image_07082025_03_42_44_9949.jpg', '/mnt/data/07082025/03/42/image_07082025_03_42_34_9962.jpg', '/mnt/data/07082025/03/42/image_07082025_03_42_24_9983.jpg', '/mnt/data/07082025/03/42/image_07082025_03_42_14_9962.jpg', '/mnt/data/07082025/03/41/image_07082025_03_42_04_10080.jpg', '/mnt/data/07082025/03/41/image_07082025_03_41_54_9986.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/42/image_07082025_03_42_44_9949.jpg
/mnt/data/07082025/03/42/image_07082025_03_42_34_9962.jpg
/mnt/data/07082025/03/42/image_07082025_03_42_24_9983.jpg
/mnt/data/07082025/03/42/image_07082025_03_42_14_9962.jpg
/mnt/data/07082025/03/41/image_07082025_03_42_04_10080.jpg
/mnt/data/07082025/03/41/image_07082025_03_41_54_9986.jpg
uploaded 0 photos
time to upload: 2.5691144466400146 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-07 03:44:03.051172
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/43/image_07082025_03_43_45_11159.jpg', 2), ('/mnt/data/07082025/03/43/image_07082025_03_43_34_9931.jpg', 2), ('/mnt/data/07082025/03/43/image_07082025_03_43_24_10001.jpg', 2), ('/mnt/data/07082025/03/43/image_07082025_03_43_14_9920.jpg', 2), ('/mnt/data/07082025/03/42/image_07082025_03_43_04_10007.jpg', 2), ('/mnt/data/07082025/03/42/image_07082025_03_42_54_9983.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/43/image_07082025_03_43_45_11159.jpg', '/mnt/data/07082025/03/43/image_07082025_03_43_34_9931.jpg', '/mnt/data/07082025/03/43/image_07082025_03_43_24_10001.jpg', '/mnt/data/07082025/03/43/image_07082025_03_43_14_9920.jpg', '/mnt/data/07082025/03/42/image_07082025_03_43_04_10007.jpg', '/mnt/data/07082025/03/42/image_07082025_03_42_54_9983.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/43/image_07082025_03_43_45_11159.jpg', '/mnt/data/07082025/03/43/image_07082025_03_43_34_9931.jpg', '/mnt/data/07082025/03/43/image_07082025_03_43_24_10001.jpg', '/mnt/data/07082025/03/43/image_07082025_03_43_14_9920.jpg', '/mnt/data/07082025/03/42/image_07082025_03_43_04_10007.jpg', '/mnt/data/07082025/03/42/image_07082025_03_42_54_9983.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/43/image_07082025_03_43_45_11159.jpg
/mnt/data/07082025/03/43/image_07082025_03_43_34_9931.jpg
/mnt/data/07082025/03/43/image_07082025_03_43_24_10001.jpg
/mnt/data/07082025/03/43/image_07082025_03_43_14_9920.jpg
/mnt/data/07082025/03/42/image_07082025_03_43_04_10007.jpg
/mnt/data/07082025/03/42/image_07082025_03_42_54_9983.jpg
uploaded 0 photos
time to upload: 30.738083600997925 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:45:02.763622
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/44/image_07082025_03_44_45_10138.jpg', 2), ('/mnt/data/07082025/03/44/image_07082025_03_44_34_10145.jpg', 2), ('/mnt/data/07082025/03/44/image_07082025_03_44_24_10157.jpg', 2), ('/mnt/data/07082025/03/44/image_07082025_03_44_14_10143.jpg', 2), ('/mnt/data/07082025/03/43/image_07082025_03_44_04_9106.jpg', 2), ('/mnt/data/07082025/03/43/image_07082025_03_43_55_9990.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/44/image_07082025_03_44_45_10138.jpg', '/mnt/data/07082025/03/44/image_07082025_03_44_34_10145.jpg', '/mnt/data/07082025/03/44/image_07082025_03_44_24_10157.jpg', '/mnt/data/07082025/03/44/image_07082025_03_44_14_10143.jpg', '/mnt/data/07082025/03/43/image_07082025_03_44_04_9106.jpg', '/mnt/data/07082025/03/43/image_07082025_03_43_55_9990.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/44/image_07082025_03_44_45_10138.jpg', '/mnt/data/07082025/03/44/image_07082025_03_44_34_10145.jpg', '/mnt/data/07082025/03/44/image_07082025_03_44_24_10157.jpg', '/mnt/data/07082025/03/44/image_07082025_03_44_14_10143.jpg', '/mnt/data/07082025/03/43/image_07082025_03_44_04_9106.jpg', '/mnt/data/07082025/03/43/image_07082025_03_43_55_9990.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/44/image_07082025_03_44_45_10138.jpg
/mnt/data/07082025/03/44/image_07082025_03_44_34_10145.jpg
/mnt/data/07082025/03/44/image_07082025_03_44_24_10157.jpg
/mnt/data/07082025/03/44/image_07082025_03_44_14_10143.jpg
/mnt/data/07082025/03/43/image_07082025_03_44_04_9106.jpg
/mnt/data/07082025/03/43/image_07082025_03_43_55_9990.jpg
uploaded 0 photos
time to upload: 30.2137668132782 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:46:03.175804
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/45/image_07082025_03_45_44_10110.jpg', 2), ('/mnt/data/07082025/03/45/image_07082025_03_45_34_10169.jpg', 2), ('/mnt/data/07082025/03/45/image_07082025_03_45_24_10140.jpg', 2), ('/mnt/data/07082025/03/45/image_07082025_03_45_14_10093.jpg', 2), ('/mnt/data/07082025/03/44/image_07082025_03_45_04_8977.jpg', 2), ('/mnt/data/07082025/03/44/image_07082025_03_44_55_10158.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/45/image_07082025_03_45_44_10110.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_34_10169.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_24_10140.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_14_10093.jpg', '/mnt/data/07082025/03/44/image_07082025_03_45_04_8977.jpg', '/mnt/data/07082025/03/44/image_07082025_03_44_55_10158.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/45/image_07082025_03_45_44_10110.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_34_10169.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_24_10140.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_14_10093.jpg', '/mnt/data/07082025/03/44/image_07082025_03_45_04_8977.jpg', '/mnt/data/07082025/03/44/image_07082025_03_44_55_10158.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/45/image_07082025_03_45_44_10110.jpg
/mnt/data/07082025/03/45/image_07082025_03_45_34_10169.jpg
/mnt/data/07082025/03/45/image_07082025_03_45_24_10140.jpg
/mnt/data/07082025/03/45/image_07082025_03_45_14_10093.jpg
/mnt/data/07082025/03/44/image_07082025_03_45_04_8977.jpg
/mnt/data/07082025/03/44/image_07082025_03_44_55_10158.jpg
uploaded 0 photos
time to upload: 30.183355808258057 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:47:02.928103
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/46/image_07082025_03_46_44_9958.jpg', 2), ('/mnt/data/07082025/03/46/image_07082025_03_46_34_10001.jpg', 2), ('/mnt/data/07082025/03/46/image_07082025_03_46_24_9959.jpg', 2), ('/mnt/data/07082025/03/46/image_07082025_03_46_14_9986.jpg', 2), ('/mnt/data/07082025/03/45/image_07082025_03_46_04_10160.jpg', 2), ('/mnt/data/07082025/03/45/image_07082025_03_45_54_9987.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/46/image_07082025_03_46_44_9958.jpg', '/mnt/data/07082025/03/46/image_07082025_03_46_34_10001.jpg', '/mnt/data/07082025/03/46/image_07082025_03_46_24_9959.jpg', '/mnt/data/07082025/03/46/image_07082025_03_46_14_9986.jpg', '/mnt/data/07082025/03/45/image_07082025_03_46_04_10160.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_54_9987.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/46/image_07082025_03_46_44_9958.jpg', '/mnt/data/07082025/03/46/image_07082025_03_46_34_10001.jpg', '/mnt/data/07082025/03/46/image_07082025_03_46_24_9959.jpg', '/mnt/data/07082025/03/46/image_07082025_03_46_14_9986.jpg', '/mnt/data/07082025/03/45/image_07082025_03_46_04_10160.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_54_9987.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/46/image_07082025_03_46_44_9958.jpg
/mnt/data/07082025/03/46/image_07082025_03_46_34_10001.jpg
/mnt/data/07082025/03/46/image_07082025_03_46_24_9959.jpg
/mnt/data/07082025/03/46/image_07082025_03_46_14_9986.jpg
/mnt/data/07082025/03/45/image_07082025_03_46_04_10160.jpg
/mnt/data/07082025/03/45/image_07082025_03_45_54_9987.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375563450","1375563453","1375563441","1375563438","1375563446","1375563436"],"photo_ids_order":["1375563436","1375563438","1375563441","1375563446","1375563450","1375563453"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/f9575a69624c095f1fa99208714aa4f4.jpg","text":"TemporaryFile(/tmp/multipartBody3328756690494349208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531289252,"filename":"image_07082025_03_46_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/7/fe6636757ac4e19d629302a6a4a17bd3.jpg","text":"TemporaryFile(/tmp/multipartBody6557379626121387751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531289252,"filename":"image_07082025_03_45_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/7/404a6a8c8229d00922a77878b3d427b8.jpg","text":"TemporaryFile(/tmp/multipartBody1770886177759581901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531289252,"filename":"image_07082025_03_46_24_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/7/8eca311a0b496190656064cc9d1a8777.jpg","text":"TemporaryFile(/tmp/multipartBody6006892788800587347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531289252,"filename":"image_07082025_03_46_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/7/a1495da14d3cf11c39084bd6e6a2e06e.jpg","text":"TemporaryFile(/tmp/multipartBody2021588950422556446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531289252,"filename":"image_07082025_03_46_14_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/7/31c6bf6ae6202e5105cce50af7f29ddf.jpg","text":"TemporaryFile(/tmp/multipartBody1061116090740533286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531289252,"filename":"image_07082025_03_46_44_9958.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375563441","file1":"1375563438","file0":"1375563436","file4":"1375563450","file5":"1375563453","file3":"1375563446"},"map_files_photo_id_array":[{"photo_id":"1375563453","filename":"file5"},{"photo_id":"1375563441","filename":"file2"},{"photo_id":"1375563450","filename":"file4"},{"photo_id":"1375563438","filename":"file1"},{"photo_id":"1375563436","filename":"file0"},{"photo_id":"1375563446","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375563450":["hashtag1","hashtag2"]},{"1375563453":["hashtag1","hashtag2"]},{"1375563441":["hashtag1","hashtag2"]},{"1375563438":["hashtag1","hashtag2"]},{"1375563446":["hashtag1","hashtag2"]},{"1375563436":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375563450, 1375563453, 1375563441, 1375563438, 1375563446, 1375563436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.50574445724487 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:48:02.221365
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/47/image_07082025_03_47_44_9965.jpg', 2), ('/mnt/data/07082025/03/47/image_07082025_03_47_34_9950.jpg', 2), ('/mnt/data/07082025/03/47/image_07082025_03_47_25_10014.jpg', 2), ('/mnt/data/07082025/03/47/image_07082025_03_47_15_10020.jpg', 2), ('/mnt/data/07082025/03/46/image_07082025_03_47_05_10208.jpg', 2), ('/mnt/data/07082025/03/46/image_07082025_03_46_54_9982.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/47/image_07082025_03_47_44_9965.jpg', '/mnt/data/07082025/03/47/image_07082025_03_47_34_9950.jpg', '/mnt/data/07082025/03/47/image_07082025_03_47_25_10014.jpg', '/mnt/data/07082025/03/47/image_07082025_03_47_15_10020.jpg', '/mnt/data/07082025/03/46/image_07082025_03_47_05_10208.jpg', '/mnt/data/07082025/03/46/image_07082025_03_46_54_9982.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/47/image_07082025_03_47_44_9965.jpg', '/mnt/data/07082025/03/47/image_07082025_03_47_34_9950.jpg', '/mnt/data/07082025/03/47/image_07082025_03_47_25_10014.jpg', '/mnt/data/07082025/03/47/image_07082025_03_47_15_10020.jpg', '/mnt/data/07082025/03/46/image_07082025_03_47_05_10208.jpg', '/mnt/data/07082025/03/46/image_07082025_03_46_54_9982.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/47/image_07082025_03_47_44_9965.jpg
/mnt/data/07082025/03/47/image_07082025_03_47_34_9950.jpg
/mnt/data/07082025/03/47/image_07082025_03_47_25_10014.jpg
/mnt/data/07082025/03/47/image_07082025_03_47_15_10020.jpg
/mnt/data/07082025/03/46/image_07082025_03_47_05_10208.jpg
/mnt/data/07082025/03/46/image_07082025_03_46_54_9982.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375563471","1375563465","1375563480","1375563468","1375563475","1375563478"],"photo_ids_order":["1375563465","1375563468","1375563471","1375563475","1375563478","1375563480"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/3e7e666e63dbb9ae569e91f90a7bc0cf.jpg","text":"TemporaryFile(/tmp/multipartBody5212812335989340643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531360170,"filename":"image_07082025_03_47_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/7/404a031859dc6f3cdbffb818bd910bcc.jpg","text":"TemporaryFile(/tmp/multipartBody7190590057013271825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531360170,"filename":"image_07082025_03_47_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/7/a2e9bb16775adce5e1eb29dff9ef90b3.jpg","text":"TemporaryFile(/tmp/multipartBody4180217163809299538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531360170,"filename":"image_07082025_03_46_54_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/7/54da1b96275fcb34ebf5dccbd99d7837.jpg","text":"TemporaryFile(/tmp/multipartBody4735623861608428151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531360170,"filename":"image_07082025_03_47_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/7/174b8212bb149666ea1f406f82254e5e.jpg","text":"TemporaryFile(/tmp/multipartBody3353274282136200899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531360170,"filename":"image_07082025_03_47_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/7/92c86c391fb9a55582ca4c0c9b61ffa4.jpg","text":"TemporaryFile(/tmp/multipartBody554184880262241371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531360170,"filename":"image_07082025_03_47_05_10208.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375563471","file1":"1375563468","file0":"1375563465","file4":"1375563478","file5":"1375563480","file3":"1375563475"},"map_files_photo_id_array":[{"photo_id":"1375563480","filename":"file5"},{"photo_id":"1375563471","filename":"file2"},{"photo_id":"1375563478","filename":"file4"},{"photo_id":"1375563468","filename":"file1"},{"photo_id":"1375563465","filename":"file0"},{"photo_id":"1375563475","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375563471":["hashtag1","hashtag2"]},{"1375563465":["hashtag1","hashtag2"]},{"1375563480":["hashtag1","hashtag2"]},{"1375563468":["hashtag1","hashtag2"]},{"1375563475":["hashtag1","hashtag2"]},{"1375563478":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375563471, 1375563465, 1375563480, 1375563468, 1375563475, 1375563478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.285728216171265 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:49:03.004009
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/48/image_07082025_03_48_44_10014.jpg', 2), ('/mnt/data/07082025/03/48/image_07082025_03_48_34_10039.jpg', 2), ('/mnt/data/07082025/03/48/image_07082025_03_48_24_9959.jpg', 2), ('/mnt/data/07082025/03/48/image_07082025_03_48_14_9972.jpg', 2), ('/mnt/data/07082025/03/47/image_07082025_03_48_04_10009.jpg', 2), ('/mnt/data/07082025/03/47/image_07082025_03_47_54_9935.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/48/image_07082025_03_48_44_10014.jpg', '/mnt/data/07082025/03/48/image_07082025_03_48_34_10039.jpg', '/mnt/data/07082025/03/48/image_07082025_03_48_24_9959.jpg', '/mnt/data/07082025/03/48/image_07082025_03_48_14_9972.jpg', '/mnt/data/07082025/03/47/image_07082025_03_48_04_10009.jpg', '/mnt/data/07082025/03/47/image_07082025_03_47_54_9935.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/48/image_07082025_03_48_44_10014.jpg', '/mnt/data/07082025/03/48/image_07082025_03_48_34_10039.jpg', '/mnt/data/07082025/03/48/image_07082025_03_48_24_9959.jpg', '/mnt/data/07082025/03/48/image_07082025_03_48_14_9972.jpg', '/mnt/data/07082025/03/47/image_07082025_03_48_04_10009.jpg', '/mnt/data/07082025/03/47/image_07082025_03_47_54_9935.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/48/image_07082025_03_48_44_10014.jpg
/mnt/data/07082025/03/48/image_07082025_03_48_34_10039.jpg
/mnt/data/07082025/03/48/image_07082025_03_48_24_9959.jpg
/mnt/data/07082025/03/48/image_07082025_03_48_14_9972.jpg
/mnt/data/07082025/03/47/image_07082025_03_48_04_10009.jpg
/mnt/data/07082025/03/47/image_07082025_03_47_54_9935.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375563486","1375563501","1375563504","1375563490","1375563495","1375563498"],"photo_ids_order":["1375563486","1375563490","1375563495","1375563498","1375563501","1375563504"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/7f53a1bb2904b739435b42d9321f318a.jpg","text":"TemporaryFile(/tmp/multipartBody5883779277190224052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531420281,"filename":"image_07082025_03_48_44_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/7/e5dbe454bcca964a21eb9ca69aff0424.jpg","text":"TemporaryFile(/tmp/multipartBody7304974799130352546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531420281,"filename":"image_07082025_03_48_04_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/7/ca4cfddbf6cc693abbf5e31d3fb079c3.jpg","text":"TemporaryFile(/tmp/multipartBody4494243450935728981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531420281,"filename":"image_07082025_03_47_54_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/7/615f2d9d49d6bb332662f411cff95bed.jpg","text":"TemporaryFile(/tmp/multipartBody8712287302934208740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531420281,"filename":"image_07082025_03_48_34_10039.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/7d9087761670a03b1d57fe05e8e55c09.jpg","text":"TemporaryFile(/tmp/multipartBody8647750103079442515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531420281,"filename":"image_07082025_03_48_24_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/7/2ba9439039fa8305f91475220d995070.jpg","text":"TemporaryFile(/tmp/multipartBody8267406717954648307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531420281,"filename":"image_07082025_03_48_14_9972.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375563495","file1":"1375563490","file0":"1375563486","file4":"1375563501","file5":"1375563504","file3":"1375563498"},"map_files_photo_id_array":[{"photo_id":"1375563504","filename":"file5"},{"photo_id":"1375563495","filename":"file2"},{"photo_id":"1375563501","filename":"file4"},{"photo_id":"1375563490","filename":"file1"},{"photo_id":"1375563486","filename":"file0"},{"photo_id":"1375563498","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375563486":["hashtag1","hashtag2"]},{"1375563501":["hashtag1","hashtag2"]},{"1375563504":["hashtag1","hashtag2"]},{"1375563490":["hashtag1","hashtag2"]},{"1375563495":["hashtag1","hashtag2"]},{"1375563498":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375563486, 1375563501, 1375563504, 1375563490, 1375563495, 1375563498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.86391854286194 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:50:02.491537
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/49/image_07082025_03_49_34_9979.jpg', 2), ('/mnt/data/07082025/03/49/image_07082025_03_49_24_10067.jpg', 2), ('/mnt/data/07082025/03/49/image_07082025_03_49_14_10006.jpg', 2), ('/mnt/data/07082025/03/48/image_07082025_03_49_04_10014.jpg', 2), ('/mnt/data/07082025/03/48/image_07082025_03_48_54_9961.jpg', 2), ('/mnt/data/07082025/03/45/image_07082025_03_45_44_10110.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/49/image_07082025_03_49_34_9979.jpg', '/mnt/data/07082025/03/49/image_07082025_03_49_24_10067.jpg', '/mnt/data/07082025/03/49/image_07082025_03_49_14_10006.jpg', '/mnt/data/07082025/03/48/image_07082025_03_49_04_10014.jpg', '/mnt/data/07082025/03/48/image_07082025_03_48_54_9961.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_44_10110.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/49/image_07082025_03_49_34_9979.jpg', '/mnt/data/07082025/03/49/image_07082025_03_49_24_10067.jpg', '/mnt/data/07082025/03/49/image_07082025_03_49_14_10006.jpg', '/mnt/data/07082025/03/48/image_07082025_03_49_04_10014.jpg', '/mnt/data/07082025/03/48/image_07082025_03_48_54_9961.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_44_10110.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/49/image_07082025_03_49_34_9979.jpg
/mnt/data/07082025/03/49/image_07082025_03_49_24_10067.jpg
/mnt/data/07082025/03/49/image_07082025_03_49_14_10006.jpg
/mnt/data/07082025/03/48/image_07082025_03_49_04_10014.jpg
/mnt/data/07082025/03/48/image_07082025_03_48_54_9961.jpg
/mnt/data/07082025/03/45/image_07082025_03_45_44_10110.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375563531","1375563528","1375563539","1375563547","1375563535","1375563544"],"photo_ids_order":["1375563528","1375563531","1375563535","1375563539","1375563544","1375563547"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/eb9232033f9a89fab5700cc345d7e346.jpg","text":"TemporaryFile(/tmp/multipartBody7708112670734429265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531475965,"filename":"image_07082025_03_49_24_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/7/1f197e8e4d7b41e0008aaac30a26c8bf.jpg","text":"TemporaryFile(/tmp/multipartBody991043383682957806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531475965,"filename":"image_07082025_03_49_34_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/7/2293749484e436e1e77f5b78c38b75b0.jpg","text":"TemporaryFile(/tmp/multipartBody6830348131196020342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531475965,"filename":"image_07082025_03_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/7/95acfc430539ab0e8be493e9fdcef73b.jpg","text":"TemporaryFile(/tmp/multipartBody3507411583687983797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531475965,"filename":"image_07082025_03_45_44_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/7/5cfb79d61ced6391aa6f4e6e46e64e11.jpg","text":"TemporaryFile(/tmp/multipartBody460943052732244167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531475965,"filename":"image_07082025_03_49_14_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/7/5595f1ac8ff6ffff7b4c59fd9b4ac52d.jpg","text":"TemporaryFile(/tmp/multipartBody2501734729088593098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531475965,"filename":"image_07082025_03_48_54_9961.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375563535","file1":"1375563531","file0":"1375563528","file4":"1375563544","file5":"1375563547","file3":"1375563539"},"map_files_photo_id_array":[{"photo_id":"1375563547","filename":"file5"},{"photo_id":"1375563535","filename":"file2"},{"photo_id":"1375563544","filename":"file4"},{"photo_id":"1375563531","filename":"file1"},{"photo_id":"1375563528","filename":"file0"},{"photo_id":"1375563539","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375563531":["hashtag1","hashtag2"]},{"1375563528":["hashtag1","hashtag2"]},{"1375563539":["hashtag1","hashtag2"]},{"1375563547":["hashtag1","hashtag2"]},{"1375563535":["hashtag1","hashtag2"]},{"1375563544":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375563531, 1375563528, 1375563539, 1375563547, 1375563535, 1375563544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.00580644607544 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:51:03.193699
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/50/image_07082025_03_50_44_10137.jpg', 2), ('/mnt/data/07082025/03/50/image_07082025_03_50_34_10056.jpg', 2), ('/mnt/data/07082025/03/50/image_07082025_03_50_24_10007.jpg', 2), ('/mnt/data/07082025/03/50/image_07082025_03_50_14_9995.jpg', 2), ('/mnt/data/07082025/03/49/image_07082025_03_50_04_9135.jpg', 2), ('/mnt/data/07082025/03/49/image_07082025_03_49_44_10050.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/50/image_07082025_03_50_44_10137.jpg', '/mnt/data/07082025/03/50/image_07082025_03_50_34_10056.jpg', '/mnt/data/07082025/03/50/image_07082025_03_50_24_10007.jpg', '/mnt/data/07082025/03/50/image_07082025_03_50_14_9995.jpg', '/mnt/data/07082025/03/49/image_07082025_03_50_04_9135.jpg', '/mnt/data/07082025/03/49/image_07082025_03_49_44_10050.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/50/image_07082025_03_50_44_10137.jpg', '/mnt/data/07082025/03/50/image_07082025_03_50_34_10056.jpg', '/mnt/data/07082025/03/50/image_07082025_03_50_24_10007.jpg', '/mnt/data/07082025/03/50/image_07082025_03_50_14_9995.jpg', '/mnt/data/07082025/03/49/image_07082025_03_50_04_9135.jpg', '/mnt/data/07082025/03/49/image_07082025_03_49_44_10050.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/50/image_07082025_03_50_44_10137.jpg
/mnt/data/07082025/03/50/image_07082025_03_50_34_10056.jpg
/mnt/data/07082025/03/50/image_07082025_03_50_24_10007.jpg
/mnt/data/07082025/03/50/image_07082025_03_50_14_9995.jpg
/mnt/data/07082025/03/49/image_07082025_03_50_04_9135.jpg
/mnt/data/07082025/03/49/image_07082025_03_49_44_10050.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":["1375563564","1375563572","1375563569","1375563566","1375563574","1375563562"],"photo_ids_order":["1375563562","1375563564","1375563566","1375563569","1375563572","1375563574"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/b08760ce3a7c302c5b80d3702f187d2b.jpg","text":"TemporaryFile(/tmp/multipartBody8845813900912068326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531548605,"filename":"image_07082025_03_50_34_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/7/5587497e71477c1b3406d1e44d17c664.jpg","text":"TemporaryFile(/tmp/multipartBody3850720871748872895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531548605,"filename":"image_07082025_03_50_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/7/7125e3591c4041b408b0ba317031a9f4.jpg","text":"TemporaryFile(/tmp/multipartBody1344285501686207932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531548605,"filename":"image_07082025_03_50_14_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/7/a7aa12492aaeab9c4c5b6def1f6eaea5.jpg","text":"TemporaryFile(/tmp/multipartBody4075246180913718068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531548605,"filename":"image_07082025_03_50_24_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/7/647aef4735435177e4a37324ec69d28b.jpg","text":"TemporaryFile(/tmp/multipartBody661294050813960780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531548605,"filename":"image_07082025_03_49_44_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/7/4667bb6a283d797f3ba84916706c3607.jpg","text":"TemporaryFile(/tmp/multipartBody4793560382138091883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531548605,"filename":"image_07082025_03_50_44_10137.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375563566","file1":"1375563564","file0":"1375563562","file4":"1375563572","file5":"1375563574","file3":"1375563569"},"map_files_photo_id_array":[{"photo_id":"1375563574","filename":"file5"},{"photo_id":"1375563566","filename":"file2"},{"photo_id":"1375563572","filename":"file4"},{"photo_id":"1375563564","filename":"file1"},{"photo_id":"1375563562","filename":"file0"},{"photo_id":"1375563569","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375563564":["hashtag1","hashtag2"]},{"1375563572":["hashtag1","hashtag2"]},{"1375563569":["hashtag1","hashtag2"]},{"1375563566":["hashtag1","hashtag2"]},{"1375563574":["hashtag1","hashtag2"]},{"1375563562":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375563564, 1375563572, 1375563569, 1375563566, 1375563574, 1375563562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.14886331558228 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:53:02.749158
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/52/image_07082025_03_52_45_9997.jpg', 2), ('/mnt/data/07082025/03/52/image_07082025_03_52_35_10019.jpg', 2), ('/mnt/data/07082025/03/52/image_07082025_03_52_25_10034.jpg', 2), ('/mnt/data/07082025/03/52/image_07082025_03_52_15_10017.jpg', 2), ('/mnt/data/07082025/03/51/image_07082025_03_52_05_10147.jpg', 2), ('/mnt/data/07082025/03/51/image_07082025_03_51_55_9952.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/52/image_07082025_03_52_45_9997.jpg', '/mnt/data/07082025/03/52/image_07082025_03_52_35_10019.jpg', '/mnt/data/07082025/03/52/image_07082025_03_52_25_10034.jpg', '/mnt/data/07082025/03/52/image_07082025_03_52_15_10017.jpg', '/mnt/data/07082025/03/51/image_07082025_03_52_05_10147.jpg', '/mnt/data/07082025/03/51/image_07082025_03_51_55_9952.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/52/image_07082025_03_52_45_9997.jpg', '/mnt/data/07082025/03/52/image_07082025_03_52_35_10019.jpg', '/mnt/data/07082025/03/52/image_07082025_03_52_25_10034.jpg', '/mnt/data/07082025/03/52/image_07082025_03_52_15_10017.jpg', '/mnt/data/07082025/03/51/image_07082025_03_52_05_10147.jpg', '/mnt/data/07082025/03/51/image_07082025_03_51_55_9952.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/52/image_07082025_03_52_45_9997.jpg
/mnt/data/07082025/03/52/image_07082025_03_52_35_10019.jpg
/mnt/data/07082025/03/52/image_07082025_03_52_25_10034.jpg
/mnt/data/07082025/03/52/image_07082025_03_52_15_10017.jpg
/mnt/data/07082025/03/51/image_07082025_03_52_05_10147.jpg
/mnt/data/07082025/03/51/image_07082025_03_51_55_9952.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375563609","1375563600","1375563611","1375563614","1375563604","1375563607"],"photo_ids_order":["1375563600","1375563604","1375563607","1375563609","1375563611","1375563614"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/2405146bf6c8256cc48172b993275c15.jpg","text":"TemporaryFile(/tmp/multipartBody6766905947953253732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531657182,"filename":"image_07082025_03_52_15_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/7/12e525c69dd7ab631850517f93fea67c.jpg","text":"TemporaryFile(/tmp/multipartBody4936967808167384400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531657182,"filename":"image_07082025_03_52_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/7/083397b3cd0cbe3c341fc6d56148ef82.jpg","text":"TemporaryFile(/tmp/multipartBody7541481862594394084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531657182,"filename":"image_07082025_03_52_05_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/7/d5f2f9093ebf8874df946266befb6b17.jpg","text":"TemporaryFile(/tmp/multipartBody5003106472084661483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531657182,"filename":"image_07082025_03_51_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/7/22d376d6cd9db22d47c3335fe5830419.jpg","text":"TemporaryFile(/tmp/multipartBody1689272121476873088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531657182,"filename":"image_07082025_03_52_35_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/7/825932ec6ca79598ca82f79d01e1fda4.jpg","text":"TemporaryFile(/tmp/multipartBody6782490679164242964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531657182,"filename":"image_07082025_03_52_25_10034.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375563607","file1":"1375563604","file0":"1375563600","file4":"1375563611","file5":"1375563614","file3":"1375563609"},"map_files_photo_id_array":[{"photo_id":"1375563614","filename":"file5"},{"photo_id":"1375563607","filename":"file2"},{"photo_id":"1375563611","filename":"file4"},{"photo_id":"1375563604","filename":"file1"},{"photo_id":"1375563600","filename":"file0"},{"photo_id":"1375563609","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375563609":["hashtag1","hashtag2"]},{"1375563600":["hashtag1","hashtag2"]},{"1375563611":["hashtag1","hashtag2"]},{"1375563614":["hashtag1","hashtag2"]},{"1375563604":["hashtag1","hashtag2"]},{"1375563607":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375563609, 1375563600, 1375563611, 1375563614, 1375563604, 1375563607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.58664894104004 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:54:03.094251
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/53/image_07082025_03_53_45_9997.jpg', 2), ('/mnt/data/07082025/03/53/image_07082025_03_53_35_9967.jpg', 2), ('/mnt/data/07082025/03/53/image_07082025_03_53_25_9970.jpg', 2), ('/mnt/data/07082025/03/53/image_07082025_03_53_15_10051.jpg', 2), ('/mnt/data/07082025/03/52/image_07082025_03_53_05_9999.jpg', 2), ('/mnt/data/07082025/03/52/image_07082025_03_52_55_9935.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/53/image_07082025_03_53_45_9997.jpg', '/mnt/data/07082025/03/53/image_07082025_03_53_35_9967.jpg', '/mnt/data/07082025/03/53/image_07082025_03_53_25_9970.jpg', '/mnt/data/07082025/03/53/image_07082025_03_53_15_10051.jpg', '/mnt/data/07082025/03/52/image_07082025_03_53_05_9999.jpg', '/mnt/data/07082025/03/52/image_07082025_03_52_55_9935.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/53/image_07082025_03_53_45_9997.jpg', '/mnt/data/07082025/03/53/image_07082025_03_53_35_9967.jpg', '/mnt/data/07082025/03/53/image_07082025_03_53_25_9970.jpg', '/mnt/data/07082025/03/53/image_07082025_03_53_15_10051.jpg', '/mnt/data/07082025/03/52/image_07082025_03_53_05_9999.jpg', '/mnt/data/07082025/03/52/image_07082025_03_52_55_9935.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/53/image_07082025_03_53_45_9997.jpg
/mnt/data/07082025/03/53/image_07082025_03_53_35_9967.jpg
/mnt/data/07082025/03/53/image_07082025_03_53_25_9970.jpg
/mnt/data/07082025/03/53/image_07082025_03_53_15_10051.jpg
/mnt/data/07082025/03/52/image_07082025_03_53_05_9999.jpg
/mnt/data/07082025/03/52/image_07082025_03_52_55_9935.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375563636","1375563621","1375563641","1375563626","1375563631","1375563619"],"photo_ids_order":["1375563619","1375563621","1375563626","1375563631","1375563636","1375563641"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/edc08c27639fc18599ba785b2233ebfd.jpg","text":"TemporaryFile(/tmp/multipartBody3349966100761390449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531706911,"filename":"image_07082025_03_53_05_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/7/09960e3fd89b1be5e287ada726fa4e7a.jpg","text":"TemporaryFile(/tmp/multipartBody9058752417864928021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531706911,"filename":"image_07082025_03_53_35_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/7/0007a4bbdabdcdda3c2765eab4ac8a4c.jpg","text":"TemporaryFile(/tmp/multipartBody8019506407727190146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531706911,"filename":"image_07082025_03_52_55_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/7/732b4e9825e37fe4c686b1d495daf158.jpg","text":"TemporaryFile(/tmp/multipartBody8031731090403636863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531706911,"filename":"image_07082025_03_53_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/7/2f756bccdd5aaf56a0f54970f8cba416.jpg","text":"TemporaryFile(/tmp/multipartBody6681583530030661482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531706911,"filename":"image_07082025_03_53_15_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/7/ae2c1a409cf53d62e9ae9417a61cea39.jpg","text":"TemporaryFile(/tmp/multipartBody886552692917694957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531706911,"filename":"image_07082025_03_53_45_9997.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375563626","file1":"1375563621","file0":"1375563619","file4":"1375563636","file5":"1375563641","file3":"1375563631"},"map_files_photo_id_array":[{"photo_id":"1375563641","filename":"file5"},{"photo_id":"1375563626","filename":"file2"},{"photo_id":"1375563636","filename":"file4"},{"photo_id":"1375563621","filename":"file1"},{"photo_id":"1375563619","filename":"file0"},{"photo_id":"1375563631","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375563636":["hashtag1","hashtag2"]},{"1375563621":["hashtag1","hashtag2"]},{"1375563641":["hashtag1","hashtag2"]},{"1375563626":["hashtag1","hashtag2"]},{"1375563631":["hashtag1","hashtag2"]},{"1375563619":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375563636, 1375563621, 1375563641, 1375563626, 1375563631, 1375563619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.353026390075684 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:55:03.008202
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/54/image_07082025_03_54_44_10061.jpg', 2), ('/mnt/data/07082025/03/54/image_07082025_03_54_34_10080.jpg', 2), ('/mnt/data/07082025/03/54/image_07082025_03_54_24_10071.jpg', 2), ('/mnt/data/07082025/03/54/image_07082025_03_54_14_9969.jpg', 2), ('/mnt/data/07082025/03/53/image_07082025_03_54_04_9051.jpg', 2), ('/mnt/data/07082025/03/53/image_07082025_03_53_55_9995.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/54/image_07082025_03_54_44_10061.jpg', '/mnt/data/07082025/03/54/image_07082025_03_54_34_10080.jpg', '/mnt/data/07082025/03/54/image_07082025_03_54_24_10071.jpg', '/mnt/data/07082025/03/54/image_07082025_03_54_14_9969.jpg', '/mnt/data/07082025/03/53/image_07082025_03_54_04_9051.jpg', '/mnt/data/07082025/03/53/image_07082025_03_53_55_9995.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/54/image_07082025_03_54_44_10061.jpg', '/mnt/data/07082025/03/54/image_07082025_03_54_34_10080.jpg', '/mnt/data/07082025/03/54/image_07082025_03_54_24_10071.jpg', '/mnt/data/07082025/03/54/image_07082025_03_54_14_9969.jpg', '/mnt/data/07082025/03/53/image_07082025_03_54_04_9051.jpg', '/mnt/data/07082025/03/53/image_07082025_03_53_55_9995.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/54/image_07082025_03_54_44_10061.jpg
/mnt/data/07082025/03/54/image_07082025_03_54_34_10080.jpg
/mnt/data/07082025/03/54/image_07082025_03_54_24_10071.jpg
/mnt/data/07082025/03/54/image_07082025_03_54_14_9969.jpg
/mnt/data/07082025/03/53/image_07082025_03_54_04_9051.jpg
/mnt/data/07082025/03/53/image_07082025_03_53_55_9995.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":["1375563657","1375563653","1375563662","1375563659","1375563661","1375563655"],"photo_ids_order":["1375563653","1375563655","1375563657","1375563659","1375563661","1375563662"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/872bfd718213a6ee640890dd88778b5e.jpg","text":"TemporaryFile(/tmp/multipartBody6383586137000037133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531787246,"filename":"image_07082025_03_54_24_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/7/74d5ec587de46ba6064d8317c25e7ab2.jpg","text":"TemporaryFile(/tmp/multipartBody4264346878509933473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531787246,"filename":"image_07082025_03_54_44_10061.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/7c19aeab16c272c96559609041176b1b.jpg","text":"TemporaryFile(/tmp/multipartBody1178113095713178138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531787246,"filename":"image_07082025_03_53_55_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/7/76751433b568b3d7ef9025a16062c5dd.jpg","text":"TemporaryFile(/tmp/multipartBody4203919964079374692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531787246,"filename":"image_07082025_03_54_14_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/7/5e073f2869fab4fce62a777fbb69954f.jpg","text":"TemporaryFile(/tmp/multipartBody5599272076491526550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531787246,"filename":"image_07082025_03_54_04_9051.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/10b4bdd98c91dc2a80d71d7976e0ad3c.jpg","text":"TemporaryFile(/tmp/multipartBody7363536491988357685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531787246,"filename":"image_07082025_03_54_34_10080.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375563657","file1":"1375563655","file0":"1375563653","file4":"1375563661","file5":"1375563662","file3":"1375563659"},"map_files_photo_id_array":[{"photo_id":"1375563662","filename":"file5"},{"photo_id":"1375563657","filename":"file2"},{"photo_id":"1375563661","filename":"file4"},{"photo_id":"1375563655","filename":"file1"},{"photo_id":"1375563653","filename":"file0"},{"photo_id":"1375563659","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375563657":["hashtag1","hashtag2"]},{"1375563653":["hashtag1","hashtag2"]},{"1375563662":["hashtag1","hashtag2"]},{"1375563659":["hashtag1","hashtag2"]},{"1375563661":["hashtag1","hashtag2"]},{"1375563655":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375563657, 1375563653, 1375563662, 1375563659, 1375563661, 1375563655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.4313485622406 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:57:02.966531
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/56/image_07082025_03_56_35_9984.jpg', 2), ('/mnt/data/07082025/03/56/image_07082025_03_56_25_10000.jpg', 2), ('/mnt/data/07082025/03/56/image_07082025_03_56_15_10004.jpg', 2), ('/mnt/data/07082025/03/55/image_07082025_03_56_05_10197.jpg', 2), ('/mnt/data/07082025/03/55/image_07082025_03_55_54_9956.jpg', 2), ('/mnt/data/07082025/03/55/image_07082025_03_55_44_9976.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/56/image_07082025_03_56_35_9984.jpg', '/mnt/data/07082025/03/56/image_07082025_03_56_25_10000.jpg', '/mnt/data/07082025/03/56/image_07082025_03_56_15_10004.jpg', '/mnt/data/07082025/03/55/image_07082025_03_56_05_10197.jpg', '/mnt/data/07082025/03/55/image_07082025_03_55_54_9956.jpg', '/mnt/data/07082025/03/55/image_07082025_03_55_44_9976.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/56/image_07082025_03_56_35_9984.jpg', '/mnt/data/07082025/03/56/image_07082025_03_56_25_10000.jpg', '/mnt/data/07082025/03/56/image_07082025_03_56_15_10004.jpg', '/mnt/data/07082025/03/55/image_07082025_03_56_05_10197.jpg', '/mnt/data/07082025/03/55/image_07082025_03_55_54_9956.jpg', '/mnt/data/07082025/03/55/image_07082025_03_55_44_9976.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/56/image_07082025_03_56_35_9984.jpg
/mnt/data/07082025/03/56/image_07082025_03_56_25_10000.jpg
/mnt/data/07082025/03/56/image_07082025_03_56_15_10004.jpg
/mnt/data/07082025/03/55/image_07082025_03_56_05_10197.jpg
/mnt/data/07082025/03/55/image_07082025_03_55_54_9956.jpg
/mnt/data/07082025/03/55/image_07082025_03_55_44_9976.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375564037","1375564004","1375563941","1375563973","1375563905","1375563874"],"photo_ids_order":["1375563874","1375563905","1375563941","1375563973","1375564004","1375564037"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/7720ae916f4f57b3b966066cce2d50ef.jpg","text":"TemporaryFile(/tmp/multipartBody214347924125379348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531897781,"filename":"image_07082025_03_55_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/7/0209046f7be72a92faa3729e714938b8.jpg","text":"TemporaryFile(/tmp/multipartBody6855304992269138604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531897781,"filename":"image_07082025_03_55_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/7/de44e32245e35e64ab1a1b74841aee4c.jpg","text":"TemporaryFile(/tmp/multipartBody5840578833070765606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531897781,"filename":"image_07082025_03_56_15_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/7/8b74a6ea6e4319e9b633658ef9f4a728.jpg","text":"TemporaryFile(/tmp/multipartBody780783061230957369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531897781,"filename":"image_07082025_03_56_05_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/7/4bcc0f972bb4ce1b15b9f124ecbd7fc2.jpg","text":"TemporaryFile(/tmp/multipartBody3112063252339404979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531897781,"filename":"image_07082025_03_56_25_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/7/21cd4a9a46edf3e3a12953f7ea68b66b.jpg","text":"TemporaryFile(/tmp/multipartBody6403015314609205920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754531897781,"filename":"image_07082025_03_56_35_9984.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375563941","file1":"1375563905","file0":"1375563874","file4":"1375564004","file5":"1375564037","file3":"1375563973"},"map_files_photo_id_array":[{"photo_id":"1375564037","filename":"file5"},{"photo_id":"1375563941","filename":"file2"},{"photo_id":"1375564004","filename":"file4"},{"photo_id":"1375563905","filename":"file1"},{"photo_id":"1375563874","filename":"file0"},{"photo_id":"1375563973","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375564037":["hashtag1","hashtag2"]},{"1375564004":["hashtag1","hashtag2"]},{"1375563941":["hashtag1","hashtag2"]},{"1375563973":["hashtag1","hashtag2"]},{"1375563905":["hashtag1","hashtag2"]},{"1375563874":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375564037, 1375564004, 1375563941, 1375563973, 1375563905, 1375563874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.610331535339355 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 03:59:02.654964
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/55/image_07082025_03_55_34_9981.jpg', 2), ('/mnt/data/07082025/03/55/image_07082025_03_55_24_10099.jpg', 2), ('/mnt/data/07082025/03/55/image_07082025_03_55_14_10083.jpg', 2), ('/mnt/data/07082025/03/54/image_07082025_03_55_04_10102.jpg', 2), ('/mnt/data/07082025/03/54/image_07082025_03_54_54_10093.jpg', 2), ('/mnt/data/07082025/03/51/image_07082025_03_51_45_10067.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/55/image_07082025_03_55_34_9981.jpg', '/mnt/data/07082025/03/55/image_07082025_03_55_24_10099.jpg', '/mnt/data/07082025/03/55/image_07082025_03_55_14_10083.jpg', '/mnt/data/07082025/03/54/image_07082025_03_55_04_10102.jpg', '/mnt/data/07082025/03/54/image_07082025_03_54_54_10093.jpg', '/mnt/data/07082025/03/51/image_07082025_03_51_45_10067.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/55/image_07082025_03_55_34_9981.jpg', '/mnt/data/07082025/03/55/image_07082025_03_55_24_10099.jpg', '/mnt/data/07082025/03/55/image_07082025_03_55_14_10083.jpg', '/mnt/data/07082025/03/54/image_07082025_03_55_04_10102.jpg', '/mnt/data/07082025/03/54/image_07082025_03_54_54_10093.jpg', '/mnt/data/07082025/03/51/image_07082025_03_51_45_10067.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/55/image_07082025_03_55_34_9981.jpg
/mnt/data/07082025/03/55/image_07082025_03_55_24_10099.jpg
/mnt/data/07082025/03/55/image_07082025_03_55_14_10083.jpg
/mnt/data/07082025/03/54/image_07082025_03_55_04_10102.jpg
/mnt/data/07082025/03/54/image_07082025_03_54_54_10093.jpg
/mnt/data/07082025/03/51/image_07082025_03_51_45_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":["1375565231","1375565254","1375565256","1375565244","1375565253","1375565198"],"photo_ids_order":["1375565198","1375565231","1375565244","1375565253","1375565254","1375565256"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/9a39373e855eb3e41d82cffcc36063a2.jpg","text":"TemporaryFile(/tmp/multipartBody3600986719432408736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754532037808,"filename":"image_07082025_03_55_24_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/7/a91dd7a1bdcc3af49cec8482c27ba69d.jpg","text":"TemporaryFile(/tmp/multipartBody5059499539116401633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754532037808,"filename":"image_07082025_03_54_54_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/7/11df9c9619bec9b497147ac8963671cd.jpg","text":"TemporaryFile(/tmp/multipartBody1077641512173134971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754532037808,"filename":"image_07082025_03_51_45_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/7/de18a33db6840c3b633df9a2e6dc463b.jpg","text":"TemporaryFile(/tmp/multipartBody1700560197330272095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754532037808,"filename":"image_07082025_03_55_14_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/7/05235cf53e2dc53e1d048ed1192dd3d7.jpg","text":"TemporaryFile(/tmp/multipartBody4546679026446855561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754532037808,"filename":"image_07082025_03_55_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/7/e5a54c7c3d6915d5d711ea9d0c1da5f6.jpg","text":"TemporaryFile(/tmp/multipartBody8983430463594663876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754532037808,"filename":"image_07082025_03_55_34_9981.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375565244","file1":"1375565231","file0":"1375565198","file4":"1375565254","file5":"1375565256","file3":"1375565253"},"map_files_photo_id_array":[{"photo_id":"1375565256","filename":"file5"},{"photo_id":"1375565244","filename":"file2"},{"photo_id":"1375565254","filename":"file4"},{"photo_id":"1375565231","filename":"file1"},{"photo_id":"1375565198","filename":"file0"},{"photo_id":"1375565253","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375565231":["hashtag1","hashtag2"]},{"1375565254":["hashtag1","hashtag2"]},{"1375565256":["hashtag1","hashtag2"]},{"1375565244":["hashtag1","hashtag2"]},{"1375565253":["hashtag1","hashtag2"]},{"1375565198":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375565231, 1375565254, 1375565256, 1375565244, 1375565253, 1375565198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 75.74059009552002 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:01:02.913657
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/00/image_07082025_04_00_44_9929.jpg', 2), ('/mnt/data/07082025/04/00/image_07082025_04_00_34_9940.jpg', 2), ('/mnt/data/07082025/04/00/image_07082025_04_00_25_9984.jpg', 2), ('/mnt/data/07082025/04/00/image_07082025_04_00_15_9927.jpg', 2), ('/mnt/data/07082025/03/59/image_07082025_04_00_05_10051.jpg', 2), ('/mnt/data/07082025/03/59/image_07082025_03_59_55_9995.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/00/image_07082025_04_00_44_9929.jpg', '/mnt/data/07082025/04/00/image_07082025_04_00_34_9940.jpg', '/mnt/data/07082025/04/00/image_07082025_04_00_25_9984.jpg', '/mnt/data/07082025/04/00/image_07082025_04_00_15_9927.jpg', '/mnt/data/07082025/03/59/image_07082025_04_00_05_10051.jpg', '/mnt/data/07082025/03/59/image_07082025_03_59_55_9995.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/00/image_07082025_04_00_44_9929.jpg', '/mnt/data/07082025/04/00/image_07082025_04_00_34_9940.jpg', '/mnt/data/07082025/04/00/image_07082025_04_00_25_9984.jpg', '/mnt/data/07082025/04/00/image_07082025_04_00_15_9927.jpg', '/mnt/data/07082025/03/59/image_07082025_04_00_05_10051.jpg', '/mnt/data/07082025/03/59/image_07082025_03_59_55_9995.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/00/image_07082025_04_00_44_9929.jpg
/mnt/data/07082025/04/00/image_07082025_04_00_34_9940.jpg
/mnt/data/07082025/04/00/image_07082025_04_00_25_9984.jpg
/mnt/data/07082025/04/00/image_07082025_04_00_15_9927.jpg
/mnt/data/07082025/03/59/image_07082025_04_00_05_10051.jpg
/mnt/data/07082025/03/59/image_07082025_03_59_55_9995.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375565741","1375565663","1375565711","1375565659","1375565709","1375565681"],"photo_ids_order":["1375565659","1375565663","1375565681","1375565709","1375565711","1375565741"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/45a113432803a5b44620c87cc437ab83.jpg","text":"TemporaryFile(/tmp/multipartBody4578453789615786586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754532140660,"filename":"image_07082025_03_59_55_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/7/3af1cf730bcbf0c0b6fbe0de537478fa.jpg","text":"TemporaryFile(/tmp/multipartBody1352472568478037809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754532140660,"filename":"image_07082025_04_00_34_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/7/6bec9bbf53a95d013a6f56bb9197d1be.jpg","text":"TemporaryFile(/tmp/multipartBody2987040139105763319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754532140660,"filename":"image_07082025_04_00_05_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/7/e9000b67ee8d08692fcf0ec16e0c7c1b.jpg","text":"TemporaryFile(/tmp/multipartBody415580669987661851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754532140660,"filename":"image_07082025_04_00_44_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/7/57371413e3d33340598b3c3a3c69294a.jpg","text":"TemporaryFile(/tmp/multipartBody7524035362265968704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754532140660,"filename":"image_07082025_04_00_15_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/7/54da40b26c6fcf11a67af485112b153b.jpg","text":"TemporaryFile(/tmp/multipartBody1998866342184663071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754532140660,"filename":"image_07082025_04_00_25_9984.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375565681","file1":"1375565663","file0":"1375565659","file4":"1375565711","file5":"1375565741","file3":"1375565709"},"map_files_photo_id_array":[{"photo_id":"1375565741","filename":"file5"},{"photo_id":"1375565681","filename":"file2"},{"photo_id":"1375565711","filename":"file4"},{"photo_id":"1375565663","filename":"file1"},{"photo_id":"1375565659","filename":"file0"},{"photo_id":"1375565709","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375565741":["hashtag1","hashtag2"]},{"1375565663":["hashtag1","hashtag2"]},{"1375565711":["hashtag1","hashtag2"]},{"1375565659":["hashtag1","hashtag2"]},{"1375565709":["hashtag1","hashtag2"]},{"1375565681":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375565741, 1375565663, 1375565711, 1375565659, 1375565709, 1375565681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.22862935066223 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:02:02.329497
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/01/image_07082025_04_01_45_10092.jpg', 2), ('/mnt/data/07082025/04/01/image_07082025_04_01_35_10104.jpg', 2), ('/mnt/data/07082025/04/01/image_07082025_04_01_25_10107.jpg', 2), ('/mnt/data/07082025/04/01/image_07082025_04_01_15_10090.jpg', 2), ('/mnt/data/07082025/04/00/image_07082025_04_01_04_10057.jpg', 2), ('/mnt/data/07082025/04/00/image_07082025_04_00_54_9979.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/01/image_07082025_04_01_45_10092.jpg', '/mnt/data/07082025/04/01/image_07082025_04_01_35_10104.jpg', '/mnt/data/07082025/04/01/image_07082025_04_01_25_10107.jpg', '/mnt/data/07082025/04/01/image_07082025_04_01_15_10090.jpg', '/mnt/data/07082025/04/00/image_07082025_04_01_04_10057.jpg', '/mnt/data/07082025/04/00/image_07082025_04_00_54_9979.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/01/image_07082025_04_01_45_10092.jpg', '/mnt/data/07082025/04/01/image_07082025_04_01_35_10104.jpg', '/mnt/data/07082025/04/01/image_07082025_04_01_25_10107.jpg', '/mnt/data/07082025/04/01/image_07082025_04_01_15_10090.jpg', '/mnt/data/07082025/04/00/image_07082025_04_01_04_10057.jpg', '/mnt/data/07082025/04/00/image_07082025_04_00_54_9979.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/01/image_07082025_04_01_45_10092.jpg
/mnt/data/07082025/04/01/image_07082025_04_01_35_10104.jpg
/mnt/data/07082025/04/01/image_07082025_04_01_25_10107.jpg
/mnt/data/07082025/04/01/image_07082025_04_01_15_10090.jpg
/mnt/data/07082025/04/00/image_07082025_04_01_04_10057.jpg
/mnt/data/07082025/04/00/image_07082025_04_00_54_9979.jpg
uploaded 0 photos
time to upload: 12.328155279159546 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-07 04:03:02.538664
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/02/image_07082025_04_02_45_10116.jpg', 2), ('/mnt/data/07082025/04/02/image_07082025_04_02_35_10168.jpg', 2), ('/mnt/data/07082025/04/02/image_07082025_04_02_25_10117.jpg', 2), ('/mnt/data/07082025/04/02/image_07082025_04_02_14_10122.jpg', 2), ('/mnt/data/07082025/04/01/image_07082025_04_02_04_10574.jpg', 2), ('/mnt/data/07082025/04/01/image_07082025_04_01_54_8917.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/02/image_07082025_04_02_45_10116.jpg', '/mnt/data/07082025/04/02/image_07082025_04_02_35_10168.jpg', '/mnt/data/07082025/04/02/image_07082025_04_02_25_10117.jpg', '/mnt/data/07082025/04/02/image_07082025_04_02_14_10122.jpg', '/mnt/data/07082025/04/01/image_07082025_04_02_04_10574.jpg', '/mnt/data/07082025/04/01/image_07082025_04_01_54_8917.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/02/image_07082025_04_02_45_10116.jpg', '/mnt/data/07082025/04/02/image_07082025_04_02_35_10168.jpg', '/mnt/data/07082025/04/02/image_07082025_04_02_25_10117.jpg', '/mnt/data/07082025/04/02/image_07082025_04_02_14_10122.jpg', '/mnt/data/07082025/04/01/image_07082025_04_02_04_10574.jpg', '/mnt/data/07082025/04/01/image_07082025_04_01_54_8917.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/02/image_07082025_04_02_45_10116.jpg
/mnt/data/07082025/04/02/image_07082025_04_02_35_10168.jpg
/mnt/data/07082025/04/02/image_07082025_04_02_25_10117.jpg
/mnt/data/07082025/04/02/image_07082025_04_02_14_10122.jpg
/mnt/data/07082025/04/01/image_07082025_04_02_04_10574.jpg
/mnt/data/07082025/04/01/image_07082025_04_01_54_8917.jpg
uploaded 0 photos
time to upload: 31.43341088294983 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:04:03.344382
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/03/image_07082025_04_03_44_10116.jpg', 2), ('/mnt/data/07082025/04/03/image_07082025_04_03_34_10114.jpg', 2), ('/mnt/data/07082025/04/03/image_07082025_04_03_24_10104.jpg', 2), ('/mnt/data/07082025/04/03/image_07082025_04_03_14_10039.jpg', 2), ('/mnt/data/07082025/04/02/image_07082025_04_03_04_10174.jpg', 2), ('/mnt/data/07082025/04/02/image_07082025_04_02_54_8956.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/03/image_07082025_04_03_44_10116.jpg', '/mnt/data/07082025/04/03/image_07082025_04_03_34_10114.jpg', '/mnt/data/07082025/04/03/image_07082025_04_03_24_10104.jpg', '/mnt/data/07082025/04/03/image_07082025_04_03_14_10039.jpg', '/mnt/data/07082025/04/02/image_07082025_04_03_04_10174.jpg', '/mnt/data/07082025/04/02/image_07082025_04_02_54_8956.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/03/image_07082025_04_03_44_10116.jpg', '/mnt/data/07082025/04/03/image_07082025_04_03_34_10114.jpg', '/mnt/data/07082025/04/03/image_07082025_04_03_24_10104.jpg', '/mnt/data/07082025/04/03/image_07082025_04_03_14_10039.jpg', '/mnt/data/07082025/04/02/image_07082025_04_03_04_10174.jpg', '/mnt/data/07082025/04/02/image_07082025_04_02_54_8956.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/03/image_07082025_04_03_44_10116.jpg
/mnt/data/07082025/04/03/image_07082025_04_03_34_10114.jpg
/mnt/data/07082025/04/03/image_07082025_04_03_24_10104.jpg
/mnt/data/07082025/04/03/image_07082025_04_03_14_10039.jpg
/mnt/data/07082025/04/02/image_07082025_04_03_04_10174.jpg
/mnt/data/07082025/04/02/image_07082025_04_02_54_8956.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":["1375565840","1375565834","1375565845","1375565842","1375565838","1375565847"],"photo_ids_order":["1375565834","1375565838","1375565840","1375565842","1375565845","1375565847"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/6fad233ce75ca0f744e0ff275d7d2138.jpg","text":"TemporaryFile(/tmp/multipartBody8006540577247560947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754532327703,"filename":"image_07082025_04_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/7/23156830878a23dde8c0d757e9266459.jpg","text":"TemporaryFile(/tmp/multipartBody6187808225775379017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754532327703,"filename":"image_07082025_04_03_44_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/7/77483ce1cac7239f739315d6c6b3e5f6.jpg","text":"TemporaryFile(/tmp/multipartBody1016524376287636572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754532327703,"filename":"image_07082025_04_03_04_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/7/2125e1e21d130cf39121a50ec9062bb2.jpg","text":"TemporaryFile(/tmp/multipartBody8707645351056672390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754532327703,"filename":"image_07082025_04_03_14_10039.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/df62b5c7f4c4ab61e1643e51e8585ad6.jpg","text":"TemporaryFile(/tmp/multipartBody5561006452983488574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754532327703,"filename":"image_07082025_04_03_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/7/e698e1b0122d611c4a3eefbfb7a1aa3d.jpg","text":"TemporaryFile(/tmp/multipartBody1225696653208047508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754532327703,"filename":"image_07082025_04_02_54_8956.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375565840","file1":"1375565838","file0":"1375565834","file4":"1375565845","file5":"1375565847","file3":"1375565842"},"map_files_photo_id_array":[{"photo_id":"1375565847","filename":"file5"},{"photo_id":"1375565840","filename":"file2"},{"photo_id":"1375565845","filename":"file4"},{"photo_id":"1375565838","filename":"file1"},{"photo_id":"1375565834","filename":"file0"},{"photo_id":"1375565842","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375565840":["hashtag1","hashtag2"]},{"1375565834":["hashtag1","hashtag2"]},{"1375565845":["hashtag1","hashtag2"]},{"1375565842":["hashtag1","hashtag2"]},{"1375565838":["hashtag1","hashtag2"]},{"1375565847":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375565840, 1375565834, 1375565845, 1375565842, 1375565838, 1375565847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.17980170249939 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:06:02.634027
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/05/image_07082025_04_05_44_10007.jpg', 2), ('/mnt/data/07082025/04/05/image_07082025_04_05_34_9996.jpg', 2), ('/mnt/data/07082025/04/05/image_07082025_04_05_24_8953.jpg', 2), ('/mnt/data/07082025/04/05/image_07082025_04_05_15_11165.jpg', 2), ('/mnt/data/07082025/04/04/image_07082025_04_05_04_8833.jpg', 2), ('/mnt/data/07082025/04/04/image_07082025_04_04_55_11162.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/05/image_07082025_04_05_44_10007.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_34_9996.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_24_8953.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_15_11165.jpg', '/mnt/data/07082025/04/04/image_07082025_04_05_04_8833.jpg', '/mnt/data/07082025/04/04/image_07082025_04_04_55_11162.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/05/image_07082025_04_05_44_10007.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_34_9996.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_24_8953.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_15_11165.jpg', '/mnt/data/07082025/04/04/image_07082025_04_05_04_8833.jpg', '/mnt/data/07082025/04/04/image_07082025_04_04_55_11162.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/05/image_07082025_04_05_44_10007.jpg
/mnt/data/07082025/04/05/image_07082025_04_05_34_9996.jpg
/mnt/data/07082025/04/05/image_07082025_04_05_24_8953.jpg
/mnt/data/07082025/04/05/image_07082025_04_05_15_11165.jpg
/mnt/data/07082025/04/04/image_07082025_04_05_04_8833.jpg
/mnt/data/07082025/04/04/image_07082025_04_04_55_11162.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 137.05468845367432 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-07 04:09:03.373422
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_34_10164.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_24_8903.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_15_10170.jpg', 2), ('/mnt/data/07082025/04/07/image_07082025_04_08_05_10474.jpg', 2), ('/mnt/data/07082025/04/07/image_07082025_04_07_54_10209.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_34_10164.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_24_8903.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_15_10170.jpg', '/mnt/data/07082025/04/07/image_07082025_04_08_05_10474.jpg', '/mnt/data/07082025/04/07/image_07082025_04_07_54_10209.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_34_10164.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_24_8903.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_15_10170.jpg', '/mnt/data/07082025/04/07/image_07082025_04_08_05_10474.jpg', '/mnt/data/07082025/04/07/image_07082025_04_07_54_10209.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_34_10164.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_24_8903.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_15_10170.jpg
/mnt/data/07082025/04/07/image_07082025_04_08_05_10474.jpg
/mnt/data/07082025/04/07/image_07082025_04_07_54_10209.jpg
uploaded 0 photos
time to upload: 30.220736980438232 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:10:02.553669
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg', 2), ('/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg', 2), ('/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg', '/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg', '/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg
/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg
/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg
/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg
uploaded 0 photos
time to upload: 31.212096214294434 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:11:03.157340
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/10/image_07082025_04_10_44_10203.jpg', 2), ('/mnt/data/07082025/04/10/image_07082025_04_10_34_10082.jpg', 2), ('/mnt/data/07082025/04/10/image_07082025_04_10_24_10187.jpg', 2), ('/mnt/data/07082025/04/10/image_07082025_04_10_14_9015.jpg', 2), ('/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg', 2), ('/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/10/image_07082025_04_10_44_10203.jpg', '/mnt/data/07082025/04/10/image_07082025_04_10_34_10082.jpg', '/mnt/data/07082025/04/10/image_07082025_04_10_24_10187.jpg', '/mnt/data/07082025/04/10/image_07082025_04_10_14_9015.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/10/image_07082025_04_10_44_10203.jpg', '/mnt/data/07082025/04/10/image_07082025_04_10_34_10082.jpg', '/mnt/data/07082025/04/10/image_07082025_04_10_24_10187.jpg', '/mnt/data/07082025/04/10/image_07082025_04_10_14_9015.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/10/image_07082025_04_10_44_10203.jpg
/mnt/data/07082025/04/10/image_07082025_04_10_34_10082.jpg
/mnt/data/07082025/04/10/image_07082025_04_10_24_10187.jpg
/mnt/data/07082025/04/10/image_07082025_04_10_14_9015.jpg
/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg
/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg
uploaded 0 photos
time to upload: 30.204484224319458 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:12:02.237102
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/11/image_07082025_04_11_44_9993.jpg', 2), ('/mnt/data/07082025/04/11/image_07082025_04_11_34_10010.jpg', 2), ('/mnt/data/07082025/04/11/image_07082025_04_11_24_9975.jpg', 2), ('/mnt/data/07082025/04/11/image_07082025_04_11_14_9959.jpg', 2), ('/mnt/data/07082025/04/10/image_07082025_04_11_04_9968.jpg', 2), ('/mnt/data/07082025/04/10/image_07082025_04_10_54_10076.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/11/image_07082025_04_11_44_9993.jpg', '/mnt/data/07082025/04/11/image_07082025_04_11_34_10010.jpg', '/mnt/data/07082025/04/11/image_07082025_04_11_24_9975.jpg', '/mnt/data/07082025/04/11/image_07082025_04_11_14_9959.jpg', '/mnt/data/07082025/04/10/image_07082025_04_11_04_9968.jpg', '/mnt/data/07082025/04/10/image_07082025_04_10_54_10076.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/11/image_07082025_04_11_44_9993.jpg', '/mnt/data/07082025/04/11/image_07082025_04_11_34_10010.jpg', '/mnt/data/07082025/04/11/image_07082025_04_11_24_9975.jpg', '/mnt/data/07082025/04/11/image_07082025_04_11_14_9959.jpg', '/mnt/data/07082025/04/10/image_07082025_04_11_04_9968.jpg', '/mnt/data/07082025/04/10/image_07082025_04_10_54_10076.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/11/image_07082025_04_11_44_9993.jpg
/mnt/data/07082025/04/11/image_07082025_04_11_34_10010.jpg
/mnt/data/07082025/04/11/image_07082025_04_11_24_9975.jpg
/mnt/data/07082025/04/11/image_07082025_04_11_14_9959.jpg
/mnt/data/07082025/04/10/image_07082025_04_11_04_9968.jpg
/mnt/data/07082025/04/10/image_07082025_04_10_54_10076.jpg
uploaded 0 photos
time to upload: 30.197007656097412 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:13:02.990124
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/12/image_07082025_04_12_35_10231.jpg', 2), ('/mnt/data/07082025/04/12/image_07082025_04_12_24_10298.jpg', 2), ('/mnt/data/07082025/04/11/image_07082025_04_11_54_10101.jpg', 2), ('/mnt/data/07082025/04/11/image_07082025_04_11_44_9993.jpg', 2), ('/mnt/data/07082025/04/11/image_07082025_04_11_34_10010.jpg', 2), ('/mnt/data/07082025/04/11/image_07082025_04_11_24_9975.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/12/image_07082025_04_12_35_10231.jpg', '/mnt/data/07082025/04/12/image_07082025_04_12_24_10298.jpg', '/mnt/data/07082025/04/11/image_07082025_04_11_54_10101.jpg', '/mnt/data/07082025/04/11/image_07082025_04_11_44_9993.jpg', '/mnt/data/07082025/04/11/image_07082025_04_11_34_10010.jpg', '/mnt/data/07082025/04/11/image_07082025_04_11_24_9975.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/12/image_07082025_04_12_35_10231.jpg', '/mnt/data/07082025/04/12/image_07082025_04_12_24_10298.jpg', '/mnt/data/07082025/04/11/image_07082025_04_11_54_10101.jpg', '/mnt/data/07082025/04/11/image_07082025_04_11_44_9993.jpg', '/mnt/data/07082025/04/11/image_07082025_04_11_34_10010.jpg', '/mnt/data/07082025/04/11/image_07082025_04_11_24_9975.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/12/image_07082025_04_12_35_10231.jpg
/mnt/data/07082025/04/12/image_07082025_04_12_24_10298.jpg
/mnt/data/07082025/04/11/image_07082025_04_11_54_10101.jpg
/mnt/data/07082025/04/11/image_07082025_04_11_44_9993.jpg
/mnt/data/07082025/04/11/image_07082025_04_11_34_10010.jpg
/mnt/data/07082025/04/11/image_07082025_04_11_24_9975.jpg
uploaded 0 photos
time to upload: 32.224634408950806 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:14:02.535376
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/13/image_07082025_04_13_44_10171.jpg', 2), ('/mnt/data/07082025/04/13/image_07082025_04_13_34_10019.jpg', 2), ('/mnt/data/07082025/04/13/image_07082025_04_13_24_10047.jpg', 2), ('/mnt/data/07082025/04/13/image_07082025_04_13_14_9996.jpg', 2), ('/mnt/data/07082025/04/12/image_07082025_04_13_04_9041.jpg', 2), ('/mnt/data/07082025/04/12/image_07082025_04_12_55_10223.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/13/image_07082025_04_13_44_10171.jpg', '/mnt/data/07082025/04/13/image_07082025_04_13_34_10019.jpg', '/mnt/data/07082025/04/13/image_07082025_04_13_24_10047.jpg', '/mnt/data/07082025/04/13/image_07082025_04_13_14_9996.jpg', '/mnt/data/07082025/04/12/image_07082025_04_13_04_9041.jpg', '/mnt/data/07082025/04/12/image_07082025_04_12_55_10223.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/13/image_07082025_04_13_44_10171.jpg', '/mnt/data/07082025/04/13/image_07082025_04_13_34_10019.jpg', '/mnt/data/07082025/04/13/image_07082025_04_13_24_10047.jpg', '/mnt/data/07082025/04/13/image_07082025_04_13_14_9996.jpg', '/mnt/data/07082025/04/12/image_07082025_04_13_04_9041.jpg', '/mnt/data/07082025/04/12/image_07082025_04_12_55_10223.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/13/image_07082025_04_13_44_10171.jpg
/mnt/data/07082025/04/13/image_07082025_04_13_34_10019.jpg
/mnt/data/07082025/04/13/image_07082025_04_13_24_10047.jpg
/mnt/data/07082025/04/13/image_07082025_04_13_14_9996.jpg
/mnt/data/07082025/04/12/image_07082025_04_13_04_9041.jpg
/mnt/data/07082025/04/12/image_07082025_04_12_55_10223.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375566130","1375566133","1375566136","1375566141","1375566144","1375566138"],"photo_ids_order":["1375566130","1375566133","1375566136","1375566138","1375566141","1375566144"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/ee3e1def41db3752ae63edca562abd1b.jpg","text":"TemporaryFile(/tmp/multipartBody637277372802202638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754532916899,"filename":"image_07082025_04_13_44_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/7/a2a8510a68a23f4414b0f06309159586.jpg","text":"TemporaryFile(/tmp/multipartBody6083851710159806742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754532916899,"filename":"image_07082025_04_13_34_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/7/c5f2dd68eec539c7a0f77f9b14d5068b.jpg","text":"TemporaryFile(/tmp/multipartBody402040341120603733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754532916899,"filename":"image_07082025_04_13_24_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/7/2dae10b4fe8789ed872445db4fe11db5.jpg","text":"TemporaryFile(/tmp/multipartBody1290665095602613143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754532916899,"filename":"image_07082025_04_13_04_9041.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/8c75c7b341660e2958c1512cd973a2a8.jpg","text":"TemporaryFile(/tmp/multipartBody608430184781779232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754532916899,"filename":"image_07082025_04_12_55_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/7/253ff1663b2035d7b0b39e1263655666.jpg","text":"TemporaryFile(/tmp/multipartBody6267777726515990583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754532916899,"filename":"image_07082025_04_13_14_9996.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375566136","file1":"1375566133","file0":"1375566130","file4":"1375566141","file5":"1375566144","file3":"1375566138"},"map_files_photo_id_array":[{"photo_id":"1375566144","filename":"file5"},{"photo_id":"1375566136","filename":"file2"},{"photo_id":"1375566141","filename":"file4"},{"photo_id":"1375566133","filename":"file1"},{"photo_id":"1375566130","filename":"file0"},{"photo_id":"1375566138","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375566130":["hashtag1","hashtag2"]},{"1375566133":["hashtag1","hashtag2"]},{"1375566136":["hashtag1","hashtag2"]},{"1375566141":["hashtag1","hashtag2"]},{"1375566144":["hashtag1","hashtag2"]},{"1375566138":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375566130, 1375566133, 1375566136, 1375566141, 1375566144, 1375566138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.29271483421326 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:15:02.907221
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/14/image_07082025_04_14_44_10065.jpg', 2), ('/mnt/data/07082025/04/14/image_07082025_04_14_34_8867.jpg', 2), ('/mnt/data/07082025/04/14/image_07082025_04_14_25_10106.jpg', 2), ('/mnt/data/07082025/04/14/image_07082025_04_14_15_10197.jpg', 2), ('/mnt/data/07082025/04/13/image_07082025_04_14_05_10267.jpg', 2), ('/mnt/data/07082025/04/13/image_07082025_04_13_54_10098.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/14/image_07082025_04_14_44_10065.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_34_8867.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_25_10106.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_15_10197.jpg', '/mnt/data/07082025/04/13/image_07082025_04_14_05_10267.jpg', '/mnt/data/07082025/04/13/image_07082025_04_13_54_10098.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/14/image_07082025_04_14_44_10065.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_34_8867.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_25_10106.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_15_10197.jpg', '/mnt/data/07082025/04/13/image_07082025_04_14_05_10267.jpg', '/mnt/data/07082025/04/13/image_07082025_04_13_54_10098.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/14/image_07082025_04_14_44_10065.jpg
/mnt/data/07082025/04/14/image_07082025_04_14_34_8867.jpg
/mnt/data/07082025/04/14/image_07082025_04_14_25_10106.jpg
/mnt/data/07082025/04/14/image_07082025_04_14_15_10197.jpg
/mnt/data/07082025/04/13/image_07082025_04_14_05_10267.jpg
/mnt/data/07082025/04/13/image_07082025_04_13_54_10098.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 146.45790266990662 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-07 04:18:02.298279
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/17/image_07082025_04_17_45_10141.jpg', 2), ('/mnt/data/07082025/04/17/image_07082025_04_17_35_10297.jpg', 2), ('/mnt/data/07082025/04/17/image_07082025_04_17_25_10196.jpg', 2), ('/mnt/data/07082025/04/17/image_07082025_04_17_14_10177.jpg', 2), ('/mnt/data/07082025/04/16/image_07082025_04_17_04_10178.jpg', 2), ('/mnt/data/07082025/04/16/image_07082025_04_16_54_9073.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/17/image_07082025_04_17_45_10141.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_35_10297.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_25_10196.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_14_10177.jpg', '/mnt/data/07082025/04/16/image_07082025_04_17_04_10178.jpg', '/mnt/data/07082025/04/16/image_07082025_04_16_54_9073.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/17/image_07082025_04_17_45_10141.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_35_10297.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_25_10196.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_14_10177.jpg', '/mnt/data/07082025/04/16/image_07082025_04_17_04_10178.jpg', '/mnt/data/07082025/04/16/image_07082025_04_16_54_9073.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/17/image_07082025_04_17_45_10141.jpg
/mnt/data/07082025/04/17/image_07082025_04_17_35_10297.jpg
/mnt/data/07082025/04/17/image_07082025_04_17_25_10196.jpg
/mnt/data/07082025/04/17/image_07082025_04_17_14_10177.jpg
/mnt/data/07082025/04/16/image_07082025_04_17_04_10178.jpg
/mnt/data/07082025/04/16/image_07082025_04_16_54_9073.jpg
uploaded 0 photos
time to upload: 30.198651552200317 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:19:03.232371
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/18/image_07082025_04_18_34_9026.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_18_25_10208.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_18_15_10185.jpg', 2), ('/mnt/data/07082025/04/17/image_07082025_04_18_04_10460.jpg', 2), ('/mnt/data/07082025/04/17/image_07082025_04_17_54_8958.jpg', 2), ('/mnt/data/07082025/04/17/image_07082025_04_17_45_10141.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/18/image_07082025_04_18_34_9026.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_25_10208.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_15_10185.jpg', '/mnt/data/07082025/04/17/image_07082025_04_18_04_10460.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_54_8958.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_45_10141.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/18/image_07082025_04_18_34_9026.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_25_10208.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_15_10185.jpg', '/mnt/data/07082025/04/17/image_07082025_04_18_04_10460.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_54_8958.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_45_10141.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/18/image_07082025_04_18_34_9026.jpg
/mnt/data/07082025/04/18/image_07082025_04_18_25_10208.jpg
/mnt/data/07082025/04/18/image_07082025_04_18_15_10185.jpg
/mnt/data/07082025/04/17/image_07082025_04_18_04_10460.jpg
/mnt/data/07082025/04/17/image_07082025_04_17_54_8958.jpg
/mnt/data/07082025/04/17/image_07082025_04_17_45_10141.jpg
uploaded 0 photos
time to upload: 30.201183080673218 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:20:02.233247
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/19/image_07082025_04_19_45_9966.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_35_10118.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/19/image_07082025_04_19_45_9966.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_35_10118.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/19/image_07082025_04_19_45_9966.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_35_10118.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/19/image_07082025_04_19_45_9966.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_35_10118.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg
/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg
/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg
uploaded 0 photos
time to upload: 32.041664361953735 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:21:02.519008
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/20/image_07082025_04_20_44_8849.jpg', 2), ('/mnt/data/07082025/04/20/image_07082025_04_20_35_10039.jpg', 2), ('/mnt/data/07082025/04/20/image_07082025_04_20_25_9985.jpg', 2), ('/mnt/data/07082025/04/20/image_07082025_04_20_15_9989.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_20_05_10078.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_55_9965.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/20/image_07082025_04_20_44_8849.jpg', '/mnt/data/07082025/04/20/image_07082025_04_20_35_10039.jpg', '/mnt/data/07082025/04/20/image_07082025_04_20_25_9985.jpg', '/mnt/data/07082025/04/20/image_07082025_04_20_15_9989.jpg', '/mnt/data/07082025/04/19/image_07082025_04_20_05_10078.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_55_9965.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/20/image_07082025_04_20_44_8849.jpg', '/mnt/data/07082025/04/20/image_07082025_04_20_35_10039.jpg', '/mnt/data/07082025/04/20/image_07082025_04_20_25_9985.jpg', '/mnt/data/07082025/04/20/image_07082025_04_20_15_9989.jpg', '/mnt/data/07082025/04/19/image_07082025_04_20_05_10078.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_55_9965.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/20/image_07082025_04_20_44_8849.jpg
/mnt/data/07082025/04/20/image_07082025_04_20_35_10039.jpg
/mnt/data/07082025/04/20/image_07082025_04_20_25_9985.jpg
/mnt/data/07082025/04/20/image_07082025_04_20_15_9989.jpg
/mnt/data/07082025/04/19/image_07082025_04_20_05_10078.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_55_9965.jpg
uploaded 0 photos
time to upload: 32.64307260513306 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:22:02.665471
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/21/image_07082025_04_21_35_10216.jpg', 2), ('/mnt/data/07082025/04/20/image_07082025_04_20_55_11099.jpg', 2), ('/mnt/data/07082025/04/20/image_07082025_04_20_44_8849.jpg', 2), ('/mnt/data/07082025/04/20/image_07082025_04_20_35_10039.jpg', 2), ('/mnt/data/07082025/04/20/image_07082025_04_20_25_9985.jpg', 2), ('/mnt/data/07082025/04/20/image_07082025_04_20_15_9989.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/21/image_07082025_04_21_35_10216.jpg', '/mnt/data/07082025/04/20/image_07082025_04_20_55_11099.jpg', '/mnt/data/07082025/04/20/image_07082025_04_20_44_8849.jpg', '/mnt/data/07082025/04/20/image_07082025_04_20_35_10039.jpg', '/mnt/data/07082025/04/20/image_07082025_04_20_25_9985.jpg', '/mnt/data/07082025/04/20/image_07082025_04_20_15_9989.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/21/image_07082025_04_21_35_10216.jpg', '/mnt/data/07082025/04/20/image_07082025_04_20_55_11099.jpg', '/mnt/data/07082025/04/20/image_07082025_04_20_44_8849.jpg', '/mnt/data/07082025/04/20/image_07082025_04_20_35_10039.jpg', '/mnt/data/07082025/04/20/image_07082025_04_20_25_9985.jpg', '/mnt/data/07082025/04/20/image_07082025_04_20_15_9989.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/21/image_07082025_04_21_35_10216.jpg
/mnt/data/07082025/04/20/image_07082025_04_20_55_11099.jpg
/mnt/data/07082025/04/20/image_07082025_04_20_44_8849.jpg
/mnt/data/07082025/04/20/image_07082025_04_20_35_10039.jpg
/mnt/data/07082025/04/20/image_07082025_04_20_25_9985.jpg
/mnt/data/07082025/04/20/image_07082025_04_20_15_9989.jpg
uploaded 0 photos
time to upload: 10.984252691268921 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-07 04:23:02.371016
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/22/image_07082025_04_22_14_10234.jpg', 2), ('/mnt/data/07082025/04/21/image_07082025_04_21_45_10109.jpg', 2), ('/mnt/data/07082025/04/21/image_07082025_04_21_35_10216.jpg', 2), ('/mnt/data/07082025/04/20/image_07082025_04_20_55_11099.jpg', 2), ('/mnt/data/07082025/04/20/image_07082025_04_20_44_8849.jpg', 2), ('/mnt/data/07082025/04/20/image_07082025_04_20_35_10039.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/22/image_07082025_04_22_14_10234.jpg', '/mnt/data/07082025/04/21/image_07082025_04_21_45_10109.jpg', '/mnt/data/07082025/04/21/image_07082025_04_21_35_10216.jpg', '/mnt/data/07082025/04/20/image_07082025_04_20_55_11099.jpg', '/mnt/data/07082025/04/20/image_07082025_04_20_44_8849.jpg', '/mnt/data/07082025/04/20/image_07082025_04_20_35_10039.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/22/image_07082025_04_22_14_10234.jpg', '/mnt/data/07082025/04/21/image_07082025_04_21_45_10109.jpg', '/mnt/data/07082025/04/21/image_07082025_04_21_35_10216.jpg', '/mnt/data/07082025/04/20/image_07082025_04_20_55_11099.jpg', '/mnt/data/07082025/04/20/image_07082025_04_20_44_8849.jpg', '/mnt/data/07082025/04/20/image_07082025_04_20_35_10039.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/22/image_07082025_04_22_14_10234.jpg
/mnt/data/07082025/04/21/image_07082025_04_21_45_10109.jpg
/mnt/data/07082025/04/21/image_07082025_04_21_35_10216.jpg
/mnt/data/07082025/04/20/image_07082025_04_20_55_11099.jpg
/mnt/data/07082025/04/20/image_07082025_04_20_44_8849.jpg
/mnt/data/07082025/04/20/image_07082025_04_20_35_10039.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375566428","1375566421","1375566424","1375566418","1375566412","1375566415"],"photo_ids_order":["1375566412","1375566415","1375566418","1375566421","1375566424","1375566428"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/6d29472851a904c52b7f98d849fba274.jpg","text":"TemporaryFile(/tmp/multipartBody805712421686390852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754533457777,"filename":"image_07082025_04_20_35_10039.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/4eb3108ec251435b7bc08aba82f69d4f.jpg","text":"TemporaryFile(/tmp/multipartBody2714249823779193405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754533457777,"filename":"image_07082025_04_20_55_11099.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/3eafe0b4f0c1a5d507df5d2d5e8595af.jpg","text":"TemporaryFile(/tmp/multipartBody5390285966920457578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754533457777,"filename":"image_07082025_04_20_44_8849.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/8a8b324e4d85fc289a4cd1aa67a00cc4.jpg","text":"TemporaryFile(/tmp/multipartBody891461527263086589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754533457777,"filename":"image_07082025_04_21_35_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/7/662542e706c8d768894aeb9632a83282.jpg","text":"TemporaryFile(/tmp/multipartBody8341906602485788061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754533457777,"filename":"image_07082025_04_22_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/7/01384af48602b845dbf7748065e1932c.jpg","text":"TemporaryFile(/tmp/multipartBody1124187128502602490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754533457777,"filename":"image_07082025_04_21_45_10109.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375566418","file1":"1375566415","file0":"1375566412","file4":"1375566424","file5":"1375566428","file3":"1375566421"},"map_files_photo_id_array":[{"photo_id":"1375566428","filename":"file5"},{"photo_id":"1375566418","filename":"file2"},{"photo_id":"1375566424","filename":"file4"},{"photo_id":"1375566415","filename":"file1"},{"photo_id":"1375566412","filename":"file0"},{"photo_id":"1375566421","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375566428":["hashtag1","hashtag2"]},{"1375566421":["hashtag1","hashtag2"]},{"1375566424":["hashtag1","hashtag2"]},{"1375566418":["hashtag1","hashtag2"]},{"1375566412":["hashtag1","hashtag2"]},{"1375566415":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375566428, 1375566421, 1375566424, 1375566418, 1375566412, 1375566415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.360973834991455 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:24:02.818603
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/20/image_07082025_04_20_25_9985.jpg', 2), ('/mnt/data/07082025/04/20/image_07082025_04_20_15_9989.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_20_05_10078.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_55_9965.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_45_9966.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_35_10118.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/20/image_07082025_04_20_25_9985.jpg', '/mnt/data/07082025/04/20/image_07082025_04_20_15_9989.jpg', '/mnt/data/07082025/04/19/image_07082025_04_20_05_10078.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_55_9965.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_45_9966.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_35_10118.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/20/image_07082025_04_20_25_9985.jpg', '/mnt/data/07082025/04/20/image_07082025_04_20_15_9989.jpg', '/mnt/data/07082025/04/19/image_07082025_04_20_05_10078.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_55_9965.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_45_9966.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_35_10118.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/20/image_07082025_04_20_25_9985.jpg
/mnt/data/07082025/04/20/image_07082025_04_20_15_9989.jpg
/mnt/data/07082025/04/19/image_07082025_04_20_05_10078.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_55_9965.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_45_9966.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_35_10118.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375566449","1375566440","1375566454","1375566447","1375566443","1375566437"],"photo_ids_order":["1375566437","1375566440","1375566443","1375566447","1375566449","1375566454"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/848c525003a030e5428d12dd44616d37.jpg","text":"TemporaryFile(/tmp/multipartBody1127755133365184467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754533521446,"filename":"image_07082025_04_19_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/7/fef7a4cc42e992447f2205f5b287d7b2.jpg","text":"TemporaryFile(/tmp/multipartBody7957963751351089534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754533521446,"filename":"image_07082025_04_20_15_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/7/a63c1c736a1148f83c9a9ab677db0ae2.jpg","text":"TemporaryFile(/tmp/multipartBody6752027589895698562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754533521446,"filename":"image_07082025_04_19_35_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/7/79b887c71119fa1d144fa594ef6872d3.jpg","text":"TemporaryFile(/tmp/multipartBody7614204503878481665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754533521446,"filename":"image_07082025_04_19_55_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/7/8d4e33905dc9053ee93806d83e55d44d.jpg","text":"TemporaryFile(/tmp/multipartBody8062248028114669508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754533521446,"filename":"image_07082025_04_20_05_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/7/50822bcd85c61f237114b6f0e37c9878.jpg","text":"TemporaryFile(/tmp/multipartBody6874104268446396489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754533521446,"filename":"image_07082025_04_20_25_9985.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375566443","file1":"1375566440","file0":"1375566437","file4":"1375566449","file5":"1375566454","file3":"1375566447"},"map_files_photo_id_array":[{"photo_id":"1375566454","filename":"file5"},{"photo_id":"1375566443","filename":"file2"},{"photo_id":"1375566449","filename":"file4"},{"photo_id":"1375566440","filename":"file1"},{"photo_id":"1375566437","filename":"file0"},{"photo_id":"1375566447","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375566449":["hashtag1","hashtag2"]},{"1375566440":["hashtag1","hashtag2"]},{"1375566454":["hashtag1","hashtag2"]},{"1375566447":["hashtag1","hashtag2"]},{"1375566443":["hashtag1","hashtag2"]},{"1375566437":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375566449, 1375566440, 1375566454, 1375566447, 1375566443, 1375566437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.83392024040222 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:25:02.433420
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg', 2), ('/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg', 2), ('/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', 2), ('/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg', '/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg', '/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg', '/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg', '/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg
/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg
/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg
/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg
uploaded 0 photos
time to upload: 30.21961784362793 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:26:03.146052
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/25/image_07082025_04_25_45_10116.jpg', 2), ('/mnt/data/07082025/04/25/image_07082025_04_25_35_10151.jpg', 2), ('/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg', 2), ('/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg', 2), ('/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg', 2), ('/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/25/image_07082025_04_25_45_10116.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_35_10151.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg', '/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/25/image_07082025_04_25_45_10116.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_35_10151.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg', '/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/25/image_07082025_04_25_45_10116.jpg
/mnt/data/07082025/04/25/image_07082025_04_25_35_10151.jpg
/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg
/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg
/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg
/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg
uploaded 0 photos
time to upload: 30.221973419189453 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:27:02.807813
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/26/image_07082025_04_26_44_10317.jpg', 2), ('/mnt/data/07082025/04/26/image_07082025_04_26_34_10234.jpg', 2), ('/mnt/data/07082025/04/26/image_07082025_04_26_24_10119.jpg', 2), ('/mnt/data/07082025/04/26/image_07082025_04_26_14_8939.jpg', 2), ('/mnt/data/07082025/04/25/image_07082025_04_26_05_9985.jpg', 2), ('/mnt/data/07082025/04/25/image_07082025_04_25_55_9924.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/26/image_07082025_04_26_44_10317.jpg', '/mnt/data/07082025/04/26/image_07082025_04_26_34_10234.jpg', '/mnt/data/07082025/04/26/image_07082025_04_26_24_10119.jpg', '/mnt/data/07082025/04/26/image_07082025_04_26_14_8939.jpg', '/mnt/data/07082025/04/25/image_07082025_04_26_05_9985.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_55_9924.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/26/image_07082025_04_26_44_10317.jpg', '/mnt/data/07082025/04/26/image_07082025_04_26_34_10234.jpg', '/mnt/data/07082025/04/26/image_07082025_04_26_24_10119.jpg', '/mnt/data/07082025/04/26/image_07082025_04_26_14_8939.jpg', '/mnt/data/07082025/04/25/image_07082025_04_26_05_9985.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_55_9924.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/26/image_07082025_04_26_44_10317.jpg
/mnt/data/07082025/04/26/image_07082025_04_26_34_10234.jpg
/mnt/data/07082025/04/26/image_07082025_04_26_24_10119.jpg
/mnt/data/07082025/04/26/image_07082025_04_26_14_8939.jpg
/mnt/data/07082025/04/25/image_07082025_04_26_05_9985.jpg
/mnt/data/07082025/04/25/image_07082025_04_25_55_9924.jpg
uploaded 0 photos
time to upload: 31.363901376724243 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:28:02.279472
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/27/image_07082025_04_27_45_10215.jpg', 2), ('/mnt/data/07082025/04/27/image_07082025_04_27_24_10168.jpg', 2), ('/mnt/data/07082025/04/27/image_07082025_04_27_14_8951.jpg', 2), ('/mnt/data/07082025/04/26/image_07082025_04_27_05_10211.jpg', 2), ('/mnt/data/07082025/04/26/image_07082025_04_26_55_10174.jpg', 2), ('/mnt/data/07082025/04/26/image_07082025_04_26_44_10317.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/27/image_07082025_04_27_45_10215.jpg', '/mnt/data/07082025/04/27/image_07082025_04_27_24_10168.jpg', '/mnt/data/07082025/04/27/image_07082025_04_27_14_8951.jpg', '/mnt/data/07082025/04/26/image_07082025_04_27_05_10211.jpg', '/mnt/data/07082025/04/26/image_07082025_04_26_55_10174.jpg', '/mnt/data/07082025/04/26/image_07082025_04_26_44_10317.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/27/image_07082025_04_27_45_10215.jpg', '/mnt/data/07082025/04/27/image_07082025_04_27_24_10168.jpg', '/mnt/data/07082025/04/27/image_07082025_04_27_14_8951.jpg', '/mnt/data/07082025/04/26/image_07082025_04_27_05_10211.jpg', '/mnt/data/07082025/04/26/image_07082025_04_26_55_10174.jpg', '/mnt/data/07082025/04/26/image_07082025_04_26_44_10317.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/27/image_07082025_04_27_45_10215.jpg
/mnt/data/07082025/04/27/image_07082025_04_27_24_10168.jpg
/mnt/data/07082025/04/27/image_07082025_04_27_14_8951.jpg
/mnt/data/07082025/04/26/image_07082025_04_27_05_10211.jpg
/mnt/data/07082025/04/26/image_07082025_04_26_55_10174.jpg
/mnt/data/07082025/04/26/image_07082025_04_26_44_10317.jpg
uploaded 0 photos
time to upload: 30.18848729133606 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:29:03.196709
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/27/image_07082025_04_27_45_10215.jpg', 2), ('/mnt/data/07082025/04/27/image_07082025_04_27_24_10168.jpg', 2), ('/mnt/data/07082025/04/27/image_07082025_04_27_14_8951.jpg', 2), ('/mnt/data/07082025/04/26/image_07082025_04_27_05_10211.jpg', 2), ('/mnt/data/07082025/04/26/image_07082025_04_26_55_10174.jpg', 2), ('/mnt/data/07082025/04/26/image_07082025_04_26_44_10317.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/27/image_07082025_04_27_45_10215.jpg', '/mnt/data/07082025/04/27/image_07082025_04_27_24_10168.jpg', '/mnt/data/07082025/04/27/image_07082025_04_27_14_8951.jpg', '/mnt/data/07082025/04/26/image_07082025_04_27_05_10211.jpg', '/mnt/data/07082025/04/26/image_07082025_04_26_55_10174.jpg', '/mnt/data/07082025/04/26/image_07082025_04_26_44_10317.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/27/image_07082025_04_27_45_10215.jpg', '/mnt/data/07082025/04/27/image_07082025_04_27_24_10168.jpg', '/mnt/data/07082025/04/27/image_07082025_04_27_14_8951.jpg', '/mnt/data/07082025/04/26/image_07082025_04_27_05_10211.jpg', '/mnt/data/07082025/04/26/image_07082025_04_26_55_10174.jpg', '/mnt/data/07082025/04/26/image_07082025_04_26_44_10317.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/27/image_07082025_04_27_45_10215.jpg
/mnt/data/07082025/04/27/image_07082025_04_27_24_10168.jpg
/mnt/data/07082025/04/27/image_07082025_04_27_14_8951.jpg
/mnt/data/07082025/04/26/image_07082025_04_27_05_10211.jpg
/mnt/data/07082025/04/26/image_07082025_04_26_55_10174.jpg
/mnt/data/07082025/04/26/image_07082025_04_26_44_10317.jpg
uploaded 0 photos
time to upload: 30.222269535064697 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:30:02.576676
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/29/image_07082025_04_29_44_9972.jpg', 2), ('/mnt/data/07082025/04/29/image_07082025_04_29_35_10035.jpg', 2), ('/mnt/data/07082025/04/29/image_07082025_04_29_24_10126.jpg', 2), ('/mnt/data/07082025/04/29/image_07082025_04_29_14_10229.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/29/image_07082025_04_29_44_9972.jpg', '/mnt/data/07082025/04/29/image_07082025_04_29_35_10035.jpg', '/mnt/data/07082025/04/29/image_07082025_04_29_24_10126.jpg', '/mnt/data/07082025/04/29/image_07082025_04_29_14_10229.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/29/image_07082025_04_29_44_9972.jpg', '/mnt/data/07082025/04/29/image_07082025_04_29_35_10035.jpg', '/mnt/data/07082025/04/29/image_07082025_04_29_24_10126.jpg', '/mnt/data/07082025/04/29/image_07082025_04_29_14_10229.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/29/image_07082025_04_29_44_9972.jpg
/mnt/data/07082025/04/29/image_07082025_04_29_35_10035.jpg
/mnt/data/07082025/04/29/image_07082025_04_29_24_10126.jpg
/mnt/data/07082025/04/29/image_07082025_04_29_14_10229.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.195472240447998 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:31:02.482595
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/29/image_07082025_04_30_04_10025.jpg', 2), ('/mnt/data/07082025/04/29/image_07082025_04_29_54_9974.jpg', 2), ('/mnt/data/07082025/04/29/image_07082025_04_29_44_9972.jpg', 2), ('/mnt/data/07082025/04/29/image_07082025_04_29_35_10035.jpg', 2), ('/mnt/data/07082025/04/29/image_07082025_04_29_24_10126.jpg', 2), ('/mnt/data/07082025/04/29/image_07082025_04_29_14_10229.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/29/image_07082025_04_30_04_10025.jpg', '/mnt/data/07082025/04/29/image_07082025_04_29_54_9974.jpg', '/mnt/data/07082025/04/29/image_07082025_04_29_44_9972.jpg', '/mnt/data/07082025/04/29/image_07082025_04_29_35_10035.jpg', '/mnt/data/07082025/04/29/image_07082025_04_29_24_10126.jpg', '/mnt/data/07082025/04/29/image_07082025_04_29_14_10229.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/29/image_07082025_04_30_04_10025.jpg', '/mnt/data/07082025/04/29/image_07082025_04_29_54_9974.jpg', '/mnt/data/07082025/04/29/image_07082025_04_29_44_9972.jpg', '/mnt/data/07082025/04/29/image_07082025_04_29_35_10035.jpg', '/mnt/data/07082025/04/29/image_07082025_04_29_24_10126.jpg', '/mnt/data/07082025/04/29/image_07082025_04_29_14_10229.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/29/image_07082025_04_30_04_10025.jpg
/mnt/data/07082025/04/29/image_07082025_04_29_54_9974.jpg
/mnt/data/07082025/04/29/image_07082025_04_29_44_9972.jpg
/mnt/data/07082025/04/29/image_07082025_04_29_35_10035.jpg
/mnt/data/07082025/04/29/image_07082025_04_29_24_10126.jpg
/mnt/data/07082025/04/29/image_07082025_04_29_14_10229.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":["1375566646","1375566643","1375566657","1375566654","1375566648","1375566650"],"photo_ids_order":["1375566643","1375566646","1375566648","1375566650","1375566654","1375566657"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/07a22387435baebb97cbd51a2c50418d.jpg","text":"TemporaryFile(/tmp/multipartBody7242251176108737498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754533942525,"filename":"image_07082025_04_29_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/7/314b98bfb92c42396736bf29ddbba465.jpg","text":"TemporaryFile(/tmp/multipartBody3742629525448182095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754533942525,"filename":"image_07082025_04_30_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/7/559be0d394f6bf8e5c30361f8b34a9be.jpg","text":"TemporaryFile(/tmp/multipartBody4342890850067137714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754533942525,"filename":"image_07082025_04_29_14_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/7/41ef5c48496418b941e3020a63df1e49.jpg","text":"TemporaryFile(/tmp/multipartBody8690729807515585187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754533942525,"filename":"image_07082025_04_29_24_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/7/4c8c906811c5a18fc87a6fea9a327885.jpg","text":"TemporaryFile(/tmp/multipartBody8330867913265324535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754533942525,"filename":"image_07082025_04_29_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/7/90513e2981ba70475f894591f8779db4.jpg","text":"TemporaryFile(/tmp/multipartBody4220307688801736897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754533942525,"filename":"image_07082025_04_29_35_10035.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375566648","file1":"1375566646","file0":"1375566643","file4":"1375566654","file5":"1375566657","file3":"1375566650"},"map_files_photo_id_array":[{"photo_id":"1375566657","filename":"file5"},{"photo_id":"1375566648","filename":"file2"},{"photo_id":"1375566654","filename":"file4"},{"photo_id":"1375566646","filename":"file1"},{"photo_id":"1375566643","filename":"file0"},{"photo_id":"1375566650","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375566646":["hashtag1","hashtag2"]},{"1375566643":["hashtag1","hashtag2"]},{"1375566657":["hashtag1","hashtag2"]},{"1375566654":["hashtag1","hashtag2"]},{"1375566648":["hashtag1","hashtag2"]},{"1375566650":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375566646, 1375566643, 1375566657, 1375566654, 1375566648, 1375566650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.238426208496094 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:33:02.838430
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_35_10169.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_24_10641.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_35_10169.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_24_10641.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_35_10169.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_24_10641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_35_10169.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_24_10641.jpg
uploaded 0 photos
time to upload: 30.220672130584717 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:34:03.020570
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 34.1394681930542 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:35:03.311299
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', 2), ('/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg', 2), ('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', '/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg', '/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', '/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg', '/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg
/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
uploaded 0 photos
time to upload: 31.760840892791748 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:36:02.588818
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', 2), ('/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg', 2), ('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', '/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg', '/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', '/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg', '/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg
/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
uploaded 0 photos
time to upload: 32.03918123245239 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:37:02.789003
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', 2), ('/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg', 2), ('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', '/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg', '/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', '/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg', '/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg
/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
uploaded 0 photos
time to upload: 30.189343214035034 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:38:02.953299
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg', 2), ('/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg', 2), ('/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg', '/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg', '/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg', '/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg', '/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg
/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg
/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg
uploaded 0 photos
time to upload: 30.20888662338257 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:39:02.764288
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg', 2), ('/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg', '/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg', '/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg
/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg
/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg
uploaded 0 photos
time to upload: 30.217002153396606 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:40:02.762774
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg', 2), ('/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg', '/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg', '/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg
/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg
/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg
uploaded 0 photos
time to upload: 30.223307609558105 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:41:02.429611
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg', 2), ('/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', 2), ('/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg
/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg
/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg
/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg
uploaded 0 photos
time to upload: 32.547252893447876 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:42:02.701008
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', 2), ('/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', 2), ('/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg', 2), ('/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', 2), ('/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg
/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg
/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg
/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg
/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg
/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg
uploaded 0 photos
time to upload: 30.190295696258545 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:43:02.378000
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', 2), ('/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', 2), ('/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg', 2), ('/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', 2), ('/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg
/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg
/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg
/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg
/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg
uploaded 0 photos
time to upload: 4.139471054077148 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-07 04:44:03.005305
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', 2), ('/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', 2), ('/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg
/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg
/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg
/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg
uploaded 0 photos
time to upload: 33.12360692024231 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:45:03.340457
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', 2), ('/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', 2), ('/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg
/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg
/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg
/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg
uploaded 0 photos
time to upload: 30.220654487609863 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:46:02.556599
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', 2), ('/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', 2), ('/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg
/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg
/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg
/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg
uploaded 0 photos
time to upload: 30.199459075927734 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:47:03.355191
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', 2), ('/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', 2), ('/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg
/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg
/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg
/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg
uploaded 0 photos
time to upload: 30.18703842163086 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:48:02.621736
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', 2), ('/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', 2), ('/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg
/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg
/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg
/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 26.00652813911438 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-07 04:49:02.547533
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', 2), ('/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', 2), ('/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg
/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg
/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg
/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg
uploaded 0 photos
time to upload: 30.35145378112793 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:50:02.251401
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', 2), ('/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', 2), ('/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg
/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg
/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg
/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg
uploaded 0 photos
time to upload: 30.2329523563385 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:51:02.891195
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', 2), ('/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', 2), ('/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg
/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg
/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg
/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg
uploaded 0 photos
time to upload: 30.217434883117676 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:52:02.891614
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', 2), ('/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', 2), ('/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg
/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg
/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg
/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg
uploaded 0 photos
time to upload: 30.224720239639282 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:53:02.394607
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', 2), ('/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', 2), ('/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg
/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg
/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg
/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg
uploaded 0 photos
time to upload: 3.626187324523926 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-07 04:54:02.931546
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', 2), ('/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', 2), ('/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg
/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg
/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg
/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg
uploaded 0 photos
time to upload: 30.21592402458191 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:55:02.599297
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', 2), ('/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', 2), ('/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg
/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg
/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg
/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg
uploaded 0 photos
time to upload: 30.206543922424316 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:56:02.159274
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', 2), ('/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', 2), ('/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg
/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg
/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg
/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg
uploaded 0 photos
time to upload: 30.212706089019775 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:57:03.057822
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', 2), ('/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', 2), ('/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg
/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg
/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg
/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg
uploaded 0 photos
time to upload: 31.526018142700195 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 04:59:02.618511
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', 2), ('/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', 2), ('/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', 2), ('/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg', '/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg', '/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg', '/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg', '/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/43/image_07082025_04_43_44_10205.jpg
/mnt/data/07082025/04/41/image_07082025_04_42_04_10177.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_54_10181.jpg
/mnt/data/07082025/04/41/image_07082025_04_41_44_10203.jpg
/mnt/data/07082025/04/40/image_07082025_04_40_14_10195.jpg
/mnt/data/07082025/04/39/image_07082025_04_40_04_9331.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":["1375568305","1375568206","1375568412","1375568111","1375568473","1375568050"],"photo_ids_order":["1375568050","1375568111","1375568206","1375568305","1375568412","1375568473"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/073418d7a8f3f47a9e0f8fd91fb709fc.jpg","text":"TemporaryFile(/tmp/multipartBody7891990272239767474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754535628562,"filename":"image_07082025_04_41_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/7/91acd05a1a5123fb36f0ff07521ca167.jpg","text":"TemporaryFile(/tmp/multipartBody7823790021264676152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754535628562,"filename":"image_07082025_04_41_54_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/7/d4ad2738778fa6de7b31e223fe229c42.jpg","text":"TemporaryFile(/tmp/multipartBody6455696696176915031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754535628562,"filename":"image_07082025_04_40_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/7/62d54d6793eab612ed1348add3599006.jpg","text":"TemporaryFile(/tmp/multipartBody1009752825749153462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754535628562,"filename":"image_07082025_04_42_04_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/7/ffec3bad54b4619e02ce9395ad7d2260.jpg","text":"TemporaryFile(/tmp/multipartBody5449536677927471581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754535628562,"filename":"image_07082025_04_40_04_9331.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/96ce3e6f083a2be3fe6196e1c241f63a.jpg","text":"TemporaryFile(/tmp/multipartBody6957628517177087404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754535628562,"filename":"image_07082025_04_43_44_10205.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375568206","file1":"1375568111","file0":"1375568050","file4":"1375568412","file5":"1375568473","file3":"1375568305"},"map_files_photo_id_array":[{"photo_id":"1375568473","filename":"file5"},{"photo_id":"1375568206","filename":"file2"},{"photo_id":"1375568412","filename":"file4"},{"photo_id":"1375568111","filename":"file1"},{"photo_id":"1375568050","filename":"file0"},{"photo_id":"1375568305","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375568305":["hashtag1","hashtag2"]},{"1375568206":["hashtag1","hashtag2"]},{"1375568412":["hashtag1","hashtag2"]},{"1375568111":["hashtag1","hashtag2"]},{"1375568473":["hashtag1","hashtag2"]},{"1375568050":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375568305, 1375568206, 1375568412, 1375568111, 1375568473, 1375568050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.81035900115967 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:01:02.560876
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', 2), ('/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg
/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg
/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg
uploaded 0 photos
time to upload: 30.210158348083496 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:02:02.134111
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', 2), ('/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg
/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg
/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg
uploaded 0 photos
time to upload: 11.918937921524048 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-07 05:03:03.068000
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', 2), ('/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg
/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg
/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg
uploaded 0 photos
time to upload: 30.197263479232788 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:04:02.216981
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', 2), ('/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg
/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg
/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg
uploaded 0 photos
time to upload: 30.207694053649902 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:05:02.933995
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', 2), ('/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg
/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg
/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg
uploaded 0 photos
time to upload: 30.21888566017151 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:06:03.205741
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', 2), ('/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg
/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg
/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg
uploaded 0 photos
time to upload: 30.191556453704834 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:07:02.729142
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', 2), ('/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg
/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg
/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg
uploaded 0 photos
time to upload: 30.223116636276245 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:08:02.708461
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', 2), ('/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg
/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg
/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg
uploaded 0 photos
time to upload: 30.20786714553833 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:09:03.369807
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', 2), ('/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg
/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg
/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg
uploaded 0 photos
time to upload: 30.230064153671265 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:10:02.264805
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', 2), ('/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg
/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg
/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg
uploaded 0 photos
time to upload: 30.215254545211792 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:11:02.823043
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', 2), ('/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg
/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg
/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg
uploaded 0 photos
time to upload: 30.232479095458984 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:12:02.168127
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', 2), ('/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg
/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg
/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg
uploaded 0 photos
time to upload: 30.215946435928345 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:13:02.772707
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', 2), ('/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg
/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg
/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg
uploaded 0 photos
time to upload: 2.4020533561706543 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-07 05:14:02.909795
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', 2), ('/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', 2), ('/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg', '/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg', '/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg', '/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/38/image_07082025_04_38_45_10230.jpg
/mnt/data/07082025/04/38/image_07082025_04_38_24_10199.jpg
/mnt/data/07082025/04/37/image_07082025_04_38_04_9134.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_55_10233.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_24_10263.jpg
/mnt/data/07082025/04/37/image_07082025_04_37_14_9026.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375569711","1375569705","1375569715","1375569709","1375569718","1375569703"],"photo_ids_order":["1375569703","1375569705","1375569709","1375569711","1375569715","1375569718"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/f3300aea99c2511a1f66303e11856ba9.jpg","text":"TemporaryFile(/tmp/multipartBody236946566198940968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754536516433,"filename":"image_07082025_04_37_55_10233.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/db8dabc4bd7571e5e8c3073c92c48b8c.jpg","text":"TemporaryFile(/tmp/multipartBody2258611181684199759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754536516433,"filename":"image_07082025_04_38_24_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/7/38798f16603de5aa1844faaae0f90ae6.jpg","text":"TemporaryFile(/tmp/multipartBody3121725912660842899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754536516433,"filename":"image_07082025_04_37_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/7/3b5617c21d7e8cbe16073de9700959ba.jpg","text":"TemporaryFile(/tmp/multipartBody4337501393968980203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754536516433,"filename":"image_07082025_04_38_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/7/775bcfa7563effc294d950b5c73aad1e.jpg","text":"TemporaryFile(/tmp/multipartBody5481024190960641372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754536516433,"filename":"image_07082025_04_37_14_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/7/b3fa3bffac8bed2c2da8e8a5e5c9d90d.jpg","text":"TemporaryFile(/tmp/multipartBody8530958131682213657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754536516433,"filename":"image_07082025_04_38_45_10230.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375569709","file1":"1375569705","file0":"1375569703","file4":"1375569715","file5":"1375569718","file3":"1375569711"},"map_files_photo_id_array":[{"photo_id":"1375569718","filename":"file5"},{"photo_id":"1375569709","filename":"file2"},{"photo_id":"1375569715","filename":"file4"},{"photo_id":"1375569705","filename":"file1"},{"photo_id":"1375569703","filename":"file0"},{"photo_id":"1375569711","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375569711":["hashtag1","hashtag2"]},{"1375569705":["hashtag1","hashtag2"]},{"1375569715":["hashtag1","hashtag2"]},{"1375569709":["hashtag1","hashtag2"]},{"1375569718":["hashtag1","hashtag2"]},{"1375569703":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375569711, 1375569705, 1375569715, 1375569709, 1375569718, 1375569703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.30972337722778 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:15:02.733208
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg', 2), ('/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', 2), ('/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg', '/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', '/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg', '/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', '/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg
/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg
/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg
uploaded 0 photos
time to upload: 30.19541025161743 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:16:02.868322
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg', 2), ('/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', 2), ('/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg', '/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', '/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg', '/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', '/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg
/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg
/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg
uploaded 0 photos
time to upload: 30.22399878501892 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:17:02.365286
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg', 2), ('/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', 2), ('/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg', '/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', '/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg', '/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', '/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg
/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg
/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg
uploaded 0 photos
time to upload: 30.222644090652466 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:18:02.686516
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg', 2), ('/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', 2), ('/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg', '/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', '/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg', '/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', '/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg
/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg
/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg
uploaded 0 photos
time to upload: 30.226152181625366 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:19:03.368405
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg', 2), ('/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', 2), ('/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg', '/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', '/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg', '/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', '/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg
/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg
/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg
uploaded 0 photos
time to upload: 30.224310159683228 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:20:02.560177
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg', 2), ('/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', 2), ('/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', 2), ('/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg', '/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', '/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg', '/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg', '/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg', '/mnt/data/07082025/04/33/image_07082025_04_33_34_10194.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/36/image_07082025_04_36_34_10216.jpg
/mnt/data/07082025/04/35/image_07082025_04_35_36_10392.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_54_10183.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_34_10225.jpg
/mnt/data/07082025/04/34/image_07082025_04_34_15_10195.jpg
/mnt/data/07082025/04/33/image_07082025_04_33_34_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":["1375569881","1375569890","1375569886","1375569883","1375569879","1375569888"],"photo_ids_order":["1375569879","1375569881","1375569883","1375569886","1375569888","1375569890"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/1a50dce848766bbfc10182364f8e5d19.jpg","text":"TemporaryFile(/tmp/multipartBody1660082362170978764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754536891538,"filename":"image_07082025_04_35_36_10392.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/62e4b05863a2a4cfbd6391aceb66542c.jpg","text":"TemporaryFile(/tmp/multipartBody8831900745693639389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754536891538,"filename":"image_07082025_04_33_34_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/7/cf048a885e7881834d0a25a4d7124ade.jpg","text":"TemporaryFile(/tmp/multipartBody5299957470105099450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754536891538,"filename":"image_07082025_04_34_34_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/7/4be289a8bdd4753ee7861a20491ed3c3.jpg","text":"TemporaryFile(/tmp/multipartBody4425891372626723365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754536891538,"filename":"image_07082025_04_34_54_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/7/62ab9bc2a2c457bacd9ba6bc5e1bc33c.jpg","text":"TemporaryFile(/tmp/multipartBody5028851545906387208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754536891538,"filename":"image_07082025_04_36_34_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/7/a370248d31e480fbf2699ba8eb515986.jpg","text":"TemporaryFile(/tmp/multipartBody639110094991892683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754536891538,"filename":"image_07082025_04_34_15_10195.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375569883","file1":"1375569881","file0":"1375569879","file4":"1375569888","file5":"1375569890","file3":"1375569886"},"map_files_photo_id_array":[{"photo_id":"1375569890","filename":"file5"},{"photo_id":"1375569883","filename":"file2"},{"photo_id":"1375569888","filename":"file4"},{"photo_id":"1375569881","filename":"file1"},{"photo_id":"1375569879","filename":"file0"},{"photo_id":"1375569886","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375569881":["hashtag1","hashtag2"]},{"1375569890":["hashtag1","hashtag2"]},{"1375569886":["hashtag1","hashtag2"]},{"1375569883":["hashtag1","hashtag2"]},{"1375569879":["hashtag1","hashtag2"]},{"1375569888":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375569881, 1375569890, 1375569886, 1375569883, 1375569879, 1375569888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.99306011199951 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:22:03.049791
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.226386547088623 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:23:02.396282
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.20276713371277 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:24:03.038016
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.202272415161133 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:25:02.784261
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.204100370407104 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:26:03.040977
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.230956315994263 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:27:02.690137
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.206140279769897 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:28:02.906764
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.21707773208618 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:29:02.596336
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.2236225605011 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:30:02.841941
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.214620351791382 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:31:02.483149
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.22955322265625 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:32:02.532439
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.25158405303955 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:33:03.116741
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.2308030128479 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:34:02.525980
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.222549200057983 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:35:02.460262
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.204002141952515 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:36:02.395706
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.217085123062134 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:37:03.162293
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.201982975006104 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:38:02.187816
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.227962255477905 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:39:03.034062
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.202410459518433 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:40:02.583277
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.2013943195343 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:41:03.296369
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.19271683692932 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:42:02.447115
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.233779430389404 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:43:02.941196
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 5.7157301902771 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-07 05:44:03.221241
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.19690704345703 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:45:03.083412
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.197928190231323 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:46:02.142526
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.213135480880737 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:47:02.660869
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.231536149978638 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:48:03.185224
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.19920825958252 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:49:02.791719
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.224624633789062 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:50:03.133713
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.19804573059082 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:51:02.699629
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.201408624649048 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:52:02.926971
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.201303958892822 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:53:02.663902
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.196928024291992 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:54:02.926138
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.195878982543945 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:55:02.491029
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.201342821121216 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:56:02.613791
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.23037552833557 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:57:03.341068
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.1996967792511 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 05:59:03.081899
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.202226638793945 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:00:02.104407
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.21204686164856 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:01:02.741229
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.19748044013977 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:02:02.927602
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 18.47009539604187 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-07 06:03:02.841427
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 2.7093582153320312 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-07 06:04:08.724300
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg
uploaded 0 photos
time to upload: 30.200276851654053 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:05:03.258407
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', 2), ('/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', 2), ('/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg', '/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg', '/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/32/image_07082025_04_32_24_8965.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_34_8966.jpg
/mnt/data/07082025/04/31/image_07082025_04_31_25_10185.jpg
/mnt/data/07082025/04/30/image_07082025_04_30_15_10082.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_55_10191.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_45_10168.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":["1375573072","1375573075","1375573071","1375573074","1375573068","1375573073"],"photo_ids_order":["1375573068","1375573071","1375573072","1375573073","1375573074","1375573075"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/4d7dd54f790fd5a42b74d970ae4142c0.jpg","text":"TemporaryFile(/tmp/multipartBody3452390677036980721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754539591338,"filename":"image_07082025_04_31_25_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/7/a13e6ed169a6952b2d8b37239c2597da.jpg","text":"TemporaryFile(/tmp/multipartBody6973315189274590813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754539591338,"filename":"image_07082025_04_28_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/7/883a1d2197feee6065d269c50796a841.jpg","text":"TemporaryFile(/tmp/multipartBody2494911668190598110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754539591338,"filename":"image_07082025_04_31_34_8966.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/11bf2898ebed401d37394c787b9127aa.jpg","text":"TemporaryFile(/tmp/multipartBody3205352140090450131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754539591338,"filename":"image_07082025_04_28_55_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/7/90c0b1f0ac87deebe0b0329ddd146e4b.jpg","text":"TemporaryFile(/tmp/multipartBody5805599243442872744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754539591338,"filename":"image_07082025_04_32_24_8965.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/6074ca8c64b83202ceaedec6f07aac9f.jpg","text":"TemporaryFile(/tmp/multipartBody4451476398162693882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754539591338,"filename":"image_07082025_04_30_15_10082.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375573072","file1":"1375573071","file0":"1375573068","file4":"1375573074","file5":"1375573075","file3":"1375573073"},"map_files_photo_id_array":[{"photo_id":"1375573075","filename":"file5"},{"photo_id":"1375573072","filename":"file2"},{"photo_id":"1375573074","filename":"file4"},{"photo_id":"1375573071","filename":"file1"},{"photo_id":"1375573068","filename":"file0"},{"photo_id":"1375573073","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375573072":["hashtag1","hashtag2"]},{"1375573075":["hashtag1","hashtag2"]},{"1375573071":["hashtag1","hashtag2"]},{"1375573074":["hashtag1","hashtag2"]},{"1375573068":["hashtag1","hashtag2"]},{"1375573073":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375573072, 1375573075, 1375573071, 1375573074, 1375573068, 1375573073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.64651656150818 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:07:02.878013
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/28/image_07082025_04_28_35_10169.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_24_10641.jpg', 2), ('/mnt/data/07082025/04/28/image_07082025_04_28_14_9037.jpg', 2), ('/mnt/data/07082025/04/27/image_07082025_04_28_05_10158.jpg', 2), ('/mnt/data/07082025/04/27/image_07082025_04_27_55_9972.jpg', 2), ('/mnt/data/07082025/04/27/image_07082025_04_27_45_10215.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/28/image_07082025_04_28_35_10169.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_24_10641.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_14_9037.jpg', '/mnt/data/07082025/04/27/image_07082025_04_28_05_10158.jpg', '/mnt/data/07082025/04/27/image_07082025_04_27_55_9972.jpg', '/mnt/data/07082025/04/27/image_07082025_04_27_45_10215.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/28/image_07082025_04_28_35_10169.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_24_10641.jpg', '/mnt/data/07082025/04/28/image_07082025_04_28_14_9037.jpg', '/mnt/data/07082025/04/27/image_07082025_04_28_05_10158.jpg', '/mnt/data/07082025/04/27/image_07082025_04_27_55_9972.jpg', '/mnt/data/07082025/04/27/image_07082025_04_27_45_10215.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/28/image_07082025_04_28_35_10169.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_24_10641.jpg
/mnt/data/07082025/04/28/image_07082025_04_28_14_9037.jpg
/mnt/data/07082025/04/27/image_07082025_04_28_05_10158.jpg
/mnt/data/07082025/04/27/image_07082025_04_27_55_9972.jpg
/mnt/data/07082025/04/27/image_07082025_04_27_45_10215.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":["1375573136","1375573135","1375573138","1375573132","1375573134","1375573137"],"photo_ids_order":["1375573132","1375573134","1375573135","1375573136","1375573137","1375573138"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/4ca2dfdc59d97aac60c1b12688b4d249.jpg","text":"TemporaryFile(/tmp/multipartBody4671519446763419356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754539712904,"filename":"image_07082025_04_28_05_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/7/880c572150890b9bbbe1eff8bfb0fc99.jpg","text":"TemporaryFile(/tmp/multipartBody958098729760032819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754539712904,"filename":"image_07082025_04_28_14_9037.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/e45f6fed5cfbee3df6f60862d7adacc9.jpg","text":"TemporaryFile(/tmp/multipartBody2735808537201349120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754539712904,"filename":"image_07082025_04_27_45_10215.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/700dcd1f7ad7fa7e7bf6749ef2cba605.jpg","text":"TemporaryFile(/tmp/multipartBody28024818462705808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754539712904,"filename":"image_07082025_04_28_35_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/7/33746ef69e984df81dcc5f4563024693.jpg","text":"TemporaryFile(/tmp/multipartBody3482073716328674700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754539712904,"filename":"image_07082025_04_28_24_10641.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/9f951f6090ff943aa1e76ff1eedd0c78.jpg","text":"TemporaryFile(/tmp/multipartBody2204762876006426028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754539712904,"filename":"image_07082025_04_27_55_9972.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375573135","file1":"1375573134","file0":"1375573132","file4":"1375573137","file5":"1375573138","file3":"1375573136"},"map_files_photo_id_array":[{"photo_id":"1375573138","filename":"file5"},{"photo_id":"1375573135","filename":"file2"},{"photo_id":"1375573137","filename":"file4"},{"photo_id":"1375573134","filename":"file1"},{"photo_id":"1375573132","filename":"file0"},{"photo_id":"1375573136","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375573136":["hashtag1","hashtag2"]},{"1375573135":["hashtag1","hashtag2"]},{"1375573138":["hashtag1","hashtag2"]},{"1375573132":["hashtag1","hashtag2"]},{"1375573134":["hashtag1","hashtag2"]},{"1375573137":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375573136, 1375573135, 1375573138, 1375573132, 1375573134, 1375573137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.48889112472534 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:09:02.587662
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/27/image_07082025_04_27_24_10168.jpg', 2), ('/mnt/data/07082025/04/27/image_07082025_04_27_14_8951.jpg', 2), ('/mnt/data/07082025/04/26/image_07082025_04_27_05_10211.jpg', 2), ('/mnt/data/07082025/04/26/image_07082025_04_26_55_10174.jpg', 2), ('/mnt/data/07082025/04/26/image_07082025_04_26_44_10317.jpg', 2), ('/mnt/data/07082025/04/26/image_07082025_04_26_34_10234.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/27/image_07082025_04_27_24_10168.jpg', '/mnt/data/07082025/04/27/image_07082025_04_27_14_8951.jpg', '/mnt/data/07082025/04/26/image_07082025_04_27_05_10211.jpg', '/mnt/data/07082025/04/26/image_07082025_04_26_55_10174.jpg', '/mnt/data/07082025/04/26/image_07082025_04_26_44_10317.jpg', '/mnt/data/07082025/04/26/image_07082025_04_26_34_10234.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/27/image_07082025_04_27_24_10168.jpg', '/mnt/data/07082025/04/27/image_07082025_04_27_14_8951.jpg', '/mnt/data/07082025/04/26/image_07082025_04_27_05_10211.jpg', '/mnt/data/07082025/04/26/image_07082025_04_26_55_10174.jpg', '/mnt/data/07082025/04/26/image_07082025_04_26_44_10317.jpg', '/mnt/data/07082025/04/26/image_07082025_04_26_34_10234.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/27/image_07082025_04_27_24_10168.jpg
/mnt/data/07082025/04/27/image_07082025_04_27_14_8951.jpg
/mnt/data/07082025/04/26/image_07082025_04_27_05_10211.jpg
/mnt/data/07082025/04/26/image_07082025_04_26_55_10174.jpg
/mnt/data/07082025/04/26/image_07082025_04_26_44_10317.jpg
/mnt/data/07082025/04/26/image_07082025_04_26_34_10234.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":["1375573184","1375573210","1375573185","1375573209","1375573187","1375573181"],"photo_ids_order":["1375573181","1375573184","1375573185","1375573187","1375573209","1375573210"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/af599d6b2b54a6a430d1504a277ba143.jpg","text":"TemporaryFile(/tmp/multipartBody2710116633048108199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754539829703,"filename":"image_07082025_04_27_14_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/7/83a20ea931d0d36c81a6fa50da5647e5.jpg","text":"TemporaryFile(/tmp/multipartBody1072331097805421707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754539829703,"filename":"image_07082025_04_26_34_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/7/0dd10591a97dd87562275500186a234d.jpg","text":"TemporaryFile(/tmp/multipartBody8127046201992271811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754539829703,"filename":"image_07082025_04_27_05_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/7/6413985a8dbb310fee72a8b1c3a6998a.jpg","text":"TemporaryFile(/tmp/multipartBody1595178167299296311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754539829703,"filename":"image_07082025_04_26_44_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/7/8f6b68f19369f740ba0819cec264bf5a.jpg","text":"TemporaryFile(/tmp/multipartBody358781037297689681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754539829703,"filename":"image_07082025_04_26_55_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/7/00a7c22dcf4f3dcf0aee88b24f6a175e.jpg","text":"TemporaryFile(/tmp/multipartBody6058916259013338601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754539829703,"filename":"image_07082025_04_27_24_10168.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375573185","file1":"1375573184","file0":"1375573181","file4":"1375573209","file5":"1375573210","file3":"1375573187"},"map_files_photo_id_array":[{"photo_id":"1375573210","filename":"file5"},{"photo_id":"1375573185","filename":"file2"},{"photo_id":"1375573209","filename":"file4"},{"photo_id":"1375573184","filename":"file1"},{"photo_id":"1375573181","filename":"file0"},{"photo_id":"1375573187","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375573184":["hashtag1","hashtag2"]},{"1375573210":["hashtag1","hashtag2"]},{"1375573185":["hashtag1","hashtag2"]},{"1375573209":["hashtag1","hashtag2"]},{"1375573187":["hashtag1","hashtag2"]},{"1375573181":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375573184, 1375573210, 1375573185, 1375573209, 1375573187, 1375573181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.63966464996338 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:11:02.658905
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/26/image_07082025_04_26_24_10119.jpg', 2), ('/mnt/data/07082025/04/26/image_07082025_04_26_14_8939.jpg', 2), ('/mnt/data/07082025/04/25/image_07082025_04_26_05_9985.jpg', 2), ('/mnt/data/07082025/04/25/image_07082025_04_25_55_9924.jpg', 2), ('/mnt/data/07082025/04/25/image_07082025_04_25_45_10116.jpg', 2), ('/mnt/data/07082025/04/25/image_07082025_04_25_35_10151.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/26/image_07082025_04_26_24_10119.jpg', '/mnt/data/07082025/04/26/image_07082025_04_26_14_8939.jpg', '/mnt/data/07082025/04/25/image_07082025_04_26_05_9985.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_55_9924.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_45_10116.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_35_10151.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/26/image_07082025_04_26_24_10119.jpg', '/mnt/data/07082025/04/26/image_07082025_04_26_14_8939.jpg', '/mnt/data/07082025/04/25/image_07082025_04_26_05_9985.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_55_9924.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_45_10116.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_35_10151.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/26/image_07082025_04_26_24_10119.jpg
/mnt/data/07082025/04/26/image_07082025_04_26_14_8939.jpg
/mnt/data/07082025/04/25/image_07082025_04_26_05_9985.jpg
/mnt/data/07082025/04/25/image_07082025_04_25_55_9924.jpg
/mnt/data/07082025/04/25/image_07082025_04_25_45_10116.jpg
/mnt/data/07082025/04/25/image_07082025_04_25_35_10151.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375573256","1375573269","1375573260","1375573263","1375573266","1375573253"],"photo_ids_order":["1375573253","1375573256","1375573260","1375573263","1375573266","1375573269"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/cb10126af1302c0d1c479afd16744cc1.jpg","text":"TemporaryFile(/tmp/multipartBody6056366184265603726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754539932994,"filename":"image_07082025_04_26_14_8939.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/27e9e66ab523af4caa163c951eb1250f.jpg","text":"TemporaryFile(/tmp/multipartBody3084249604103028329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754539932994,"filename":"image_07082025_04_25_35_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/7/9d6f904b8a2dd95a526e59c9967ebd80.jpg","text":"TemporaryFile(/tmp/multipartBody2000554826055631627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754539932994,"filename":"image_07082025_04_26_05_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/7/c24f7f49a32e760f32d04fb81cdcb558.jpg","text":"TemporaryFile(/tmp/multipartBody6567317090537571193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754539932994,"filename":"image_07082025_04_25_55_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/7/efa2de5a37db00db8c5a20a8be64820d.jpg","text":"TemporaryFile(/tmp/multipartBody1149543086104500746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754539932994,"filename":"image_07082025_04_25_45_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/7/ac04554ac4d1e3d05e699f3124be444c.jpg","text":"TemporaryFile(/tmp/multipartBody2480491199058728636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754539932994,"filename":"image_07082025_04_26_24_10119.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375573260","file1":"1375573256","file0":"1375573253","file4":"1375573266","file5":"1375573269","file3":"1375573263"},"map_files_photo_id_array":[{"photo_id":"1375573269","filename":"file5"},{"photo_id":"1375573260","filename":"file2"},{"photo_id":"1375573266","filename":"file4"},{"photo_id":"1375573256","filename":"file1"},{"photo_id":"1375573253","filename":"file0"},{"photo_id":"1375573263","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375573256":["hashtag1","hashtag2"]},{"1375573269":["hashtag1","hashtag2"]},{"1375573260":["hashtag1","hashtag2"]},{"1375573263":["hashtag1","hashtag2"]},{"1375573266":["hashtag1","hashtag2"]},{"1375573253":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375573256, 1375573269, 1375573260, 1375573263, 1375573266, 1375573253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.16801142692566 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:12:02.791056
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg', 2), ('/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg', 2), ('/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg', 2), ('/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg', 2), ('/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg', 2), ('/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg', '/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg', '/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg', '/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg', '/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg
/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg
/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg
/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg
/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg
/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg
uploaded 0 photos
time to upload: 30.190292596817017 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:13:02.573934
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg', 2), ('/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg', 2), ('/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg', 2), ('/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg', 2), ('/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg', 2), ('/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg', '/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg', '/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg', '/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg', '/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg
/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg
/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg
/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg
/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg
/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg
uploaded 0 photos
time to upload: 2.980120897293091 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-07 06:14:03.284197
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg', 2), ('/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg', 2), ('/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg', 2), ('/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg', 2), ('/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg', 2), ('/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg', '/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg', '/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg', '/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg', '/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg
/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg
/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg
/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg
/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg
/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg
uploaded 0 photos
time to upload: 30.19599747657776 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:15:02.933087
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg', 2), ('/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg', 2), ('/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg', 2), ('/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg', 2), ('/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg', 2), ('/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg', '/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg', '/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg', '/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg', '/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg
/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg
/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg
/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg
/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg
/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg
uploaded 0 photos
time to upload: 30.22290563583374 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:16:02.932740
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg', 2), ('/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg', 2), ('/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg', 2), ('/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg', 2), ('/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg', 2), ('/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg', '/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg', '/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg', '/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg', '/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg
/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg
/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg
/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg
/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg
/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg
uploaded 0 photos
time to upload: 30.207658290863037 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:17:02.741123
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg', 2), ('/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg', 2), ('/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg', 2), ('/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg', 2), ('/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg', 2), ('/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg', '/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg', '/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg', '/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg', '/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg
/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg
/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg
/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg
/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg
/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg
uploaded 0 photos
time to upload: 30.233941793441772 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:18:02.896782
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg', 2), ('/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg', 2), ('/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg', 2), ('/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg', 2), ('/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg', 2), ('/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg', '/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg', '/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg', '/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg', '/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg', '/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg', '/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/25/image_07082025_04_25_25_10054.jpg
/mnt/data/07082025/04/25/image_07082025_04_25_15_10052.jpg
/mnt/data/07082025/04/24/image_07082025_04_25_05_10204.jpg
/mnt/data/07082025/04/24/image_07082025_04_24_34_8991.jpg
/mnt/data/07082025/04/24/image_07082025_04_24_25_10282.jpg
/mnt/data/07082025/04/23/image_07082025_04_23_35_10200.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375573433","1375573436","1375573438","1375573441","1375573429","1375573425"],"photo_ids_order":["1375573425","1375573429","1375573433","1375573436","1375573438","1375573441"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/549e835f3976ad4a7d3e45456e03b883.jpg","text":"TemporaryFile(/tmp/multipartBody2573165537670725489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754540360251,"filename":"image_07082025_04_25_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/7/165f720a4a27c10a3a6568da4ace844e.jpg","text":"TemporaryFile(/tmp/multipartBody307869541023948951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754540360251,"filename":"image_07082025_04_24_34_8991.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d947542e089302b78a3ea678f8de7b3a.jpg","text":"TemporaryFile(/tmp/multipartBody4509316249996535074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754540360251,"filename":"image_07082025_04_24_25_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/7/64eaa6a2cbdd6741d4dff6e3f516a6ca.jpg","text":"TemporaryFile(/tmp/multipartBody6806768657250890427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754540360251,"filename":"image_07082025_04_23_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/7/a3a23cc4aa21a90fb8202ce25e6a7186.jpg","text":"TemporaryFile(/tmp/multipartBody807163708526603936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754540360251,"filename":"image_07082025_04_25_15_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/7/bc70e9f3ec0638d2424c93af4f7b3d9c.jpg","text":"TemporaryFile(/tmp/multipartBody6975478896819181453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754540360251,"filename":"image_07082025_04_25_25_10054.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375573433","file1":"1375573429","file0":"1375573425","file4":"1375573438","file5":"1375573441","file3":"1375573436"},"map_files_photo_id_array":[{"photo_id":"1375573441","filename":"file5"},{"photo_id":"1375573433","filename":"file2"},{"photo_id":"1375573438","filename":"file4"},{"photo_id":"1375573429","filename":"file1"},{"photo_id":"1375573425","filename":"file0"},{"photo_id":"1375573436","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375573433":["hashtag1","hashtag2"]},{"1375573436":["hashtag1","hashtag2"]},{"1375573438":["hashtag1","hashtag2"]},{"1375573441":["hashtag1","hashtag2"]},{"1375573429":["hashtag1","hashtag2"]},{"1375573425":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375573433, 1375573436, 1375573438, 1375573441, 1375573429, 1375573425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.883544921875 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:19:02.736419
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', 2), ('/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg
/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg
/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg
/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 28.26836371421814 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-07 06:20:02.825740
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', 2), ('/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg
/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg
/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg
/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg
uploaded 0 photos
time to upload: 30.20337414741516 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:21:02.533026
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', 2), ('/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg
/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg
/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg
/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg
uploaded 0 photos
time to upload: 30.21937870979309 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:22:02.734638
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', 2), ('/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg
/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg
/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg
/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 147.1150906085968 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-07 06:25:02.554091
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', 2), ('/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg
/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg
/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg
/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg
uploaded 0 photos
time to upload: 30.225077390670776 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:26:02.657432
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', 2), ('/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg
/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg
/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg
/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg
uploaded 0 photos
time to upload: 30.199605226516724 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:27:03.224779
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', 2), ('/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg
/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg
/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg
/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg
uploaded 0 photos
time to upload: 30.224143505096436 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:28:02.386989
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', 2), ('/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg
/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg
/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg
/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg
uploaded 0 photos
time to upload: 30.204246282577515 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:29:03.581180
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', 2), ('/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg
/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg
/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg
/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg
uploaded 0 photos
time to upload: 30.240812063217163 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:30:02.482552
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', 2), ('/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg
/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg
/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg
/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg
uploaded 0 photos
time to upload: 30.19810175895691 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:31:03.542725
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', 2), ('/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg
/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg
/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg
/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg
uploaded 0 photos
time to upload: 30.201807260513306 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:32:02.486834
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', 2), ('/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', 2), ('/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg', '/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg', '/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg', '/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/23/image_07082025_04_23_14_10217.jpg
/mnt/data/07082025/04/22/image_07082025_04_22_25_10203.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_25_10231.jpg
/mnt/data/07082025/04/19/image_07082025_04_19_15_10090.jpg
/mnt/data/07082025/04/18/image_07082025_04_19_04_10189.jpg
/mnt/data/07082025/04/18/image_07082025_04_18_44_10212.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375573844","1375573838","1375573849","1375573833","1375573836","1375573841"],"photo_ids_order":["1375573833","1375573836","1375573838","1375573841","1375573844","1375573849"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/e89d2b445bd95d3b6f3210fa9919d73c.jpg","text":"TemporaryFile(/tmp/multipartBody8609887554900608975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541201524,"filename":"image_07082025_04_19_04_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/7/e5b18f0404ed86bee75057a6870e8f8c.jpg","text":"TemporaryFile(/tmp/multipartBody1277096606483360420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541201524,"filename":"image_07082025_04_19_25_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/7/0049debd620679a61c8d76a21b6f1028.jpg","text":"TemporaryFile(/tmp/multipartBody7250880379944170566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541201524,"filename":"image_07082025_04_18_44_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/7/e03bd39c8c5a5f3d8900ec97c15e58c2.jpg","text":"TemporaryFile(/tmp/multipartBody1218380219896892131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541201524,"filename":"image_07082025_04_23_14_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/7/75b419c8b93a6d437254b039f9e322f0.jpg","text":"TemporaryFile(/tmp/multipartBody1113472188463687125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541201524,"filename":"image_07082025_04_22_25_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/7/fab89f0b92987e7e22b4a609b821f80b.jpg","text":"TemporaryFile(/tmp/multipartBody2118376160350610863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541201524,"filename":"image_07082025_04_19_15_10090.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375573838","file1":"1375573836","file0":"1375573833","file4":"1375573844","file5":"1375573849","file3":"1375573841"},"map_files_photo_id_array":[{"photo_id":"1375573849","filename":"file5"},{"photo_id":"1375573838","filename":"file2"},{"photo_id":"1375573844","filename":"file4"},{"photo_id":"1375573836","filename":"file1"},{"photo_id":"1375573833","filename":"file0"},{"photo_id":"1375573841","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375573844":["hashtag1","hashtag2"]},{"1375573838":["hashtag1","hashtag2"]},{"1375573849":["hashtag1","hashtag2"]},{"1375573833":["hashtag1","hashtag2"]},{"1375573836":["hashtag1","hashtag2"]},{"1375573841":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375573844, 1375573838, 1375573849, 1375573833, 1375573836, 1375573841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.10604405403137 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:33:03.249205
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/18/image_07082025_04_18_34_9026.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_18_25_10208.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_18_15_10185.jpg', 2), ('/mnt/data/07082025/04/17/image_07082025_04_18_04_10460.jpg', 2), ('/mnt/data/07082025/04/17/image_07082025_04_17_54_8958.jpg', 2), ('/mnt/data/07082025/04/17/image_07082025_04_17_45_10141.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/18/image_07082025_04_18_34_9026.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_25_10208.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_15_10185.jpg', '/mnt/data/07082025/04/17/image_07082025_04_18_04_10460.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_54_8958.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_45_10141.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/18/image_07082025_04_18_34_9026.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_25_10208.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_15_10185.jpg', '/mnt/data/07082025/04/17/image_07082025_04_18_04_10460.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_54_8958.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_45_10141.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/18/image_07082025_04_18_34_9026.jpg
/mnt/data/07082025/04/18/image_07082025_04_18_25_10208.jpg
/mnt/data/07082025/04/18/image_07082025_04_18_15_10185.jpg
/mnt/data/07082025/04/17/image_07082025_04_18_04_10460.jpg
/mnt/data/07082025/04/17/image_07082025_04_17_54_8958.jpg
/mnt/data/07082025/04/17/image_07082025_04_17_45_10141.jpg
uploaded 0 photos
time to upload: 2.386254072189331 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-07 06:34:02.993802
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/18/image_07082025_04_18_34_9026.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_18_25_10208.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_18_15_10185.jpg', 2), ('/mnt/data/07082025/04/17/image_07082025_04_18_04_10460.jpg', 2), ('/mnt/data/07082025/04/17/image_07082025_04_17_54_8958.jpg', 2), ('/mnt/data/07082025/04/17/image_07082025_04_17_45_10141.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/18/image_07082025_04_18_34_9026.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_25_10208.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_15_10185.jpg', '/mnt/data/07082025/04/17/image_07082025_04_18_04_10460.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_54_8958.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_45_10141.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/18/image_07082025_04_18_34_9026.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_25_10208.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_15_10185.jpg', '/mnt/data/07082025/04/17/image_07082025_04_18_04_10460.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_54_8958.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_45_10141.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/18/image_07082025_04_18_34_9026.jpg
/mnt/data/07082025/04/18/image_07082025_04_18_25_10208.jpg
/mnt/data/07082025/04/18/image_07082025_04_18_15_10185.jpg
/mnt/data/07082025/04/17/image_07082025_04_18_04_10460.jpg
/mnt/data/07082025/04/17/image_07082025_04_17_54_8958.jpg
/mnt/data/07082025/04/17/image_07082025_04_17_45_10141.jpg
uploaded 0 photos
time to upload: 30.206294536590576 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:35:02.924724
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/18/image_07082025_04_18_34_9026.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_18_25_10208.jpg', 2), ('/mnt/data/07082025/04/18/image_07082025_04_18_15_10185.jpg', 2), ('/mnt/data/07082025/04/17/image_07082025_04_18_04_10460.jpg', 2), ('/mnt/data/07082025/04/17/image_07082025_04_17_54_8958.jpg', 2), ('/mnt/data/07082025/04/17/image_07082025_04_17_45_10141.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/18/image_07082025_04_18_34_9026.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_25_10208.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_15_10185.jpg', '/mnt/data/07082025/04/17/image_07082025_04_18_04_10460.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_54_8958.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_45_10141.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/18/image_07082025_04_18_34_9026.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_25_10208.jpg', '/mnt/data/07082025/04/18/image_07082025_04_18_15_10185.jpg', '/mnt/data/07082025/04/17/image_07082025_04_18_04_10460.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_54_8958.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_45_10141.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/18/image_07082025_04_18_34_9026.jpg
/mnt/data/07082025/04/18/image_07082025_04_18_25_10208.jpg
/mnt/data/07082025/04/18/image_07082025_04_18_15_10185.jpg
/mnt/data/07082025/04/17/image_07082025_04_18_04_10460.jpg
/mnt/data/07082025/04/17/image_07082025_04_17_54_8958.jpg
/mnt/data/07082025/04/17/image_07082025_04_17_45_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":["1375573933","1375573942","1375573936","1375573939","1375573941","1375573929"],"photo_ids_order":["1375573929","1375573933","1375573936","1375573939","1375573941","1375573942"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/6776f129c8b81dd8fc513c70b93b52f6.jpg","text":"TemporaryFile(/tmp/multipartBody4445440529425005973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541390227,"filename":"image_07082025_04_18_25_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/7/299f472dac10fc978966fe18eb8badb7.jpg","text":"TemporaryFile(/tmp/multipartBody6244971066246157372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541390227,"filename":"image_07082025_04_17_45_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/7/33e1df840a657e66db2a8586350672ea.jpg","text":"TemporaryFile(/tmp/multipartBody744695446498560799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541390227,"filename":"image_07082025_04_18_15_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/7/09f852773786b2c059d7147ce614d732.jpg","text":"TemporaryFile(/tmp/multipartBody1109459712913011138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541390227,"filename":"image_07082025_04_18_04_10460.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/1e76680bb7388282abd08726b6161ad5.jpg","text":"TemporaryFile(/tmp/multipartBody7601297172634686308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541390227,"filename":"image_07082025_04_17_54_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/7/e9946420888a007b92a0ad244d4b17d3.jpg","text":"TemporaryFile(/tmp/multipartBody5302972668649663337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541390227,"filename":"image_07082025_04_18_34_9026.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375573936","file1":"1375573933","file0":"1375573929","file4":"1375573941","file5":"1375573942","file3":"1375573939"},"map_files_photo_id_array":[{"photo_id":"1375573942","filename":"file5"},{"photo_id":"1375573936","filename":"file2"},{"photo_id":"1375573941","filename":"file4"},{"photo_id":"1375573933","filename":"file1"},{"photo_id":"1375573929","filename":"file0"},{"photo_id":"1375573939","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375573933":["hashtag1","hashtag2"]},{"1375573942":["hashtag1","hashtag2"]},{"1375573936":["hashtag1","hashtag2"]},{"1375573939":["hashtag1","hashtag2"]},{"1375573941":["hashtag1","hashtag2"]},{"1375573929":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375573933, 1375573942, 1375573936, 1375573939, 1375573941, 1375573929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.54958152770996 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:37:03.415612
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/17/image_07082025_04_17_35_10297.jpg', 2), ('/mnt/data/07082025/04/17/image_07082025_04_17_25_10196.jpg', 2), ('/mnt/data/07082025/04/17/image_07082025_04_17_14_10177.jpg', 2), ('/mnt/data/07082025/04/16/image_07082025_04_17_04_10178.jpg', 2), ('/mnt/data/07082025/04/16/image_07082025_04_16_54_9073.jpg', 2), ('/mnt/data/07082025/04/16/image_07082025_04_16_45_10180.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/17/image_07082025_04_17_35_10297.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_25_10196.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_14_10177.jpg', '/mnt/data/07082025/04/16/image_07082025_04_17_04_10178.jpg', '/mnt/data/07082025/04/16/image_07082025_04_16_54_9073.jpg', '/mnt/data/07082025/04/16/image_07082025_04_16_45_10180.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/17/image_07082025_04_17_35_10297.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_25_10196.jpg', '/mnt/data/07082025/04/17/image_07082025_04_17_14_10177.jpg', '/mnt/data/07082025/04/16/image_07082025_04_17_04_10178.jpg', '/mnt/data/07082025/04/16/image_07082025_04_16_54_9073.jpg', '/mnt/data/07082025/04/16/image_07082025_04_16_45_10180.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/17/image_07082025_04_17_35_10297.jpg
/mnt/data/07082025/04/17/image_07082025_04_17_25_10196.jpg
/mnt/data/07082025/04/17/image_07082025_04_17_14_10177.jpg
/mnt/data/07082025/04/16/image_07082025_04_17_04_10178.jpg
/mnt/data/07082025/04/16/image_07082025_04_16_54_9073.jpg
/mnt/data/07082025/04/16/image_07082025_04_16_45_10180.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":["1375574012","1375574015","1375574026","1375574025","1375574021","1375574018"],"photo_ids_order":["1375574012","1375574015","1375574018","1375574021","1375574025","1375574026"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/2d930da4610c163f354240eba4f04360.jpg","text":"TemporaryFile(/tmp/multipartBody74280677972835586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541512594,"filename":"image_07082025_04_17_35_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/7/4287b78b138c7611b426d8aa070b0284.jpg","text":"TemporaryFile(/tmp/multipartBody5410199224242103446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541512594,"filename":"image_07082025_04_17_25_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/7/a3fecc9a704ce7971eb2299d3cbf01d3.jpg","text":"TemporaryFile(/tmp/multipartBody6369988761858025192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541512594,"filename":"image_07082025_04_16_45_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/7/53e2ed62de38b20693eb105dea2970f0.jpg","text":"TemporaryFile(/tmp/multipartBody7601730647133660175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541512594,"filename":"image_07082025_04_16_54_9073.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/fe1469a603807a5ff2bc29fc04b1ce93.jpg","text":"TemporaryFile(/tmp/multipartBody8009213574914300417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541512594,"filename":"image_07082025_04_17_04_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/7/e5d10c6c601aba331a0d020742236e49.jpg","text":"TemporaryFile(/tmp/multipartBody2801459039752556156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541512594,"filename":"image_07082025_04_17_14_10177.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375574018","file1":"1375574015","file0":"1375574012","file4":"1375574025","file5":"1375574026","file3":"1375574021"},"map_files_photo_id_array":[{"photo_id":"1375574026","filename":"file5"},{"photo_id":"1375574018","filename":"file2"},{"photo_id":"1375574025","filename":"file4"},{"photo_id":"1375574015","filename":"file1"},{"photo_id":"1375574012","filename":"file0"},{"photo_id":"1375574021","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375574012":["hashtag1","hashtag2"]},{"1375574015":["hashtag1","hashtag2"]},{"1375574026":["hashtag1","hashtag2"]},{"1375574025":["hashtag1","hashtag2"]},{"1375574021":["hashtag1","hashtag2"]},{"1375574018":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375574012, 1375574015, 1375574026, 1375574025, 1375574021, 1375574018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.55870199203491 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:39:02.784839
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/16/image_07082025_04_16_35_10186.jpg', 2), ('/mnt/data/07082025/04/16/image_07082025_04_16_25_10209.jpg', 2), ('/mnt/data/07082025/04/16/image_07082025_04_16_14_10304.jpg', 2), ('/mnt/data/07082025/04/15/image_07082025_04_16_04_9077.jpg', 2), ('/mnt/data/07082025/04/15/image_07082025_04_15_55_10112.jpg', 2), ('/mnt/data/07082025/04/15/image_07082025_04_15_45_10141.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/16/image_07082025_04_16_35_10186.jpg', '/mnt/data/07082025/04/16/image_07082025_04_16_25_10209.jpg', '/mnt/data/07082025/04/16/image_07082025_04_16_14_10304.jpg', '/mnt/data/07082025/04/15/image_07082025_04_16_04_9077.jpg', '/mnt/data/07082025/04/15/image_07082025_04_15_55_10112.jpg', '/mnt/data/07082025/04/15/image_07082025_04_15_45_10141.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/16/image_07082025_04_16_35_10186.jpg', '/mnt/data/07082025/04/16/image_07082025_04_16_25_10209.jpg', '/mnt/data/07082025/04/16/image_07082025_04_16_14_10304.jpg', '/mnt/data/07082025/04/15/image_07082025_04_16_04_9077.jpg', '/mnt/data/07082025/04/15/image_07082025_04_15_55_10112.jpg', '/mnt/data/07082025/04/15/image_07082025_04_15_45_10141.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/16/image_07082025_04_16_35_10186.jpg
/mnt/data/07082025/04/16/image_07082025_04_16_25_10209.jpg
/mnt/data/07082025/04/16/image_07082025_04_16_14_10304.jpg
/mnt/data/07082025/04/15/image_07082025_04_16_04_9077.jpg
/mnt/data/07082025/04/15/image_07082025_04_15_55_10112.jpg
/mnt/data/07082025/04/15/image_07082025_04_15_45_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":["1375574077","1375574073","1375574079","1375574066","1375574081","1375574069"],"photo_ids_order":["1375574066","1375574069","1375574073","1375574077","1375574079","1375574081"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/f2caf9c40a00a2adb6457aca37a2f9f4.jpg","text":"TemporaryFile(/tmp/multipartBody8143624047068378217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541625017,"filename":"image_07082025_04_16_04_9077.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/4e2de967cee7b84e605a430dd126bca7.jpg","text":"TemporaryFile(/tmp/multipartBody7312965293931802081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541625017,"filename":"image_07082025_04_16_14_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/7/0bd5e2086ba8f3e0afb1724c87f4a464.jpg","text":"TemporaryFile(/tmp/multipartBody9206422845997877537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541625017,"filename":"image_07082025_04_15_55_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/7/ed56671f998d06bd23a4aa248d373aa0.jpg","text":"TemporaryFile(/tmp/multipartBody5409152786443139937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541625017,"filename":"image_07082025_04_16_35_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/7/76bb8d7654e0e5375700e93ea436a3a6.jpg","text":"TemporaryFile(/tmp/multipartBody5075458346621232851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541625017,"filename":"image_07082025_04_15_45_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/7/3e7712d9300e2012951fd96947b7afed.jpg","text":"TemporaryFile(/tmp/multipartBody3545262373015954449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541625017,"filename":"image_07082025_04_16_25_10209.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375574073","file1":"1375574069","file0":"1375574066","file4":"1375574079","file5":"1375574081","file3":"1375574077"},"map_files_photo_id_array":[{"photo_id":"1375574081","filename":"file5"},{"photo_id":"1375574073","filename":"file2"},{"photo_id":"1375574079","filename":"file4"},{"photo_id":"1375574069","filename":"file1"},{"photo_id":"1375574066","filename":"file0"},{"photo_id":"1375574077","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375574077":["hashtag1","hashtag2"]},{"1375574073":["hashtag1","hashtag2"]},{"1375574079":["hashtag1","hashtag2"]},{"1375574066":["hashtag1","hashtag2"]},{"1375574081":["hashtag1","hashtag2"]},{"1375574069":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375574077, 1375574073, 1375574079, 1375574066, 1375574081, 1375574069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.379658937454224 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:41:03.137162
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/15/image_07082025_04_15_35_10157.jpg', 2), ('/mnt/data/07082025/04/15/image_07082025_04_15_25_10134.jpg', 2), ('/mnt/data/07082025/04/15/image_07082025_04_15_14_10097.jpg', 2), ('/mnt/data/07082025/04/14/image_07082025_04_15_04_10276.jpg', 2), ('/mnt/data/07082025/04/14/image_07082025_04_14_54_10154.jpg', 2), ('/mnt/data/07082025/04/14/image_07082025_04_14_44_10065.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/15/image_07082025_04_15_35_10157.jpg', '/mnt/data/07082025/04/15/image_07082025_04_15_25_10134.jpg', '/mnt/data/07082025/04/15/image_07082025_04_15_14_10097.jpg', '/mnt/data/07082025/04/14/image_07082025_04_15_04_10276.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_54_10154.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_44_10065.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/15/image_07082025_04_15_35_10157.jpg', '/mnt/data/07082025/04/15/image_07082025_04_15_25_10134.jpg', '/mnt/data/07082025/04/15/image_07082025_04_15_14_10097.jpg', '/mnt/data/07082025/04/14/image_07082025_04_15_04_10276.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_54_10154.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_44_10065.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/15/image_07082025_04_15_35_10157.jpg
/mnt/data/07082025/04/15/image_07082025_04_15_25_10134.jpg
/mnt/data/07082025/04/15/image_07082025_04_15_14_10097.jpg
/mnt/data/07082025/04/14/image_07082025_04_15_04_10276.jpg
/mnt/data/07082025/04/14/image_07082025_04_14_54_10154.jpg
/mnt/data/07082025/04/14/image_07082025_04_14_44_10065.jpg
uploaded 0 photos
time to upload: 30.199295043945312 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:42:02.592612
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/15/image_07082025_04_15_35_10157.jpg', 2), ('/mnt/data/07082025/04/15/image_07082025_04_15_25_10134.jpg', 2), ('/mnt/data/07082025/04/15/image_07082025_04_15_14_10097.jpg', 2), ('/mnt/data/07082025/04/14/image_07082025_04_15_04_10276.jpg', 2), ('/mnt/data/07082025/04/14/image_07082025_04_14_54_10154.jpg', 2), ('/mnt/data/07082025/04/14/image_07082025_04_14_44_10065.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/15/image_07082025_04_15_35_10157.jpg', '/mnt/data/07082025/04/15/image_07082025_04_15_25_10134.jpg', '/mnt/data/07082025/04/15/image_07082025_04_15_14_10097.jpg', '/mnt/data/07082025/04/14/image_07082025_04_15_04_10276.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_54_10154.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_44_10065.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/15/image_07082025_04_15_35_10157.jpg', '/mnt/data/07082025/04/15/image_07082025_04_15_25_10134.jpg', '/mnt/data/07082025/04/15/image_07082025_04_15_14_10097.jpg', '/mnt/data/07082025/04/14/image_07082025_04_15_04_10276.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_54_10154.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_44_10065.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/15/image_07082025_04_15_35_10157.jpg
/mnt/data/07082025/04/15/image_07082025_04_15_25_10134.jpg
/mnt/data/07082025/04/15/image_07082025_04_15_14_10097.jpg
/mnt/data/07082025/04/14/image_07082025_04_15_04_10276.jpg
/mnt/data/07082025/04/14/image_07082025_04_14_54_10154.jpg
/mnt/data/07082025/04/14/image_07082025_04_14_44_10065.jpg
uploaded 0 photos
time to upload: 30.203377723693848 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:43:03.467669
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/15/image_07082025_04_15_35_10157.jpg', 2), ('/mnt/data/07082025/04/15/image_07082025_04_15_25_10134.jpg', 2), ('/mnt/data/07082025/04/15/image_07082025_04_15_14_10097.jpg', 2), ('/mnt/data/07082025/04/14/image_07082025_04_15_04_10276.jpg', 2), ('/mnt/data/07082025/04/14/image_07082025_04_14_54_10154.jpg', 2), ('/mnt/data/07082025/04/14/image_07082025_04_14_44_10065.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/15/image_07082025_04_15_35_10157.jpg', '/mnt/data/07082025/04/15/image_07082025_04_15_25_10134.jpg', '/mnt/data/07082025/04/15/image_07082025_04_15_14_10097.jpg', '/mnt/data/07082025/04/14/image_07082025_04_15_04_10276.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_54_10154.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_44_10065.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/15/image_07082025_04_15_35_10157.jpg', '/mnt/data/07082025/04/15/image_07082025_04_15_25_10134.jpg', '/mnt/data/07082025/04/15/image_07082025_04_15_14_10097.jpg', '/mnt/data/07082025/04/14/image_07082025_04_15_04_10276.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_54_10154.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_44_10065.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/15/image_07082025_04_15_35_10157.jpg
/mnt/data/07082025/04/15/image_07082025_04_15_25_10134.jpg
/mnt/data/07082025/04/15/image_07082025_04_15_14_10097.jpg
/mnt/data/07082025/04/14/image_07082025_04_15_04_10276.jpg
/mnt/data/07082025/04/14/image_07082025_04_14_54_10154.jpg
/mnt/data/07082025/04/14/image_07082025_04_14_44_10065.jpg
uploaded 0 photos
time to upload: 1.9092416763305664 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-07 06:44:03.059703
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/15/image_07082025_04_15_35_10157.jpg', 2), ('/mnt/data/07082025/04/15/image_07082025_04_15_25_10134.jpg', 2), ('/mnt/data/07082025/04/15/image_07082025_04_15_14_10097.jpg', 2), ('/mnt/data/07082025/04/14/image_07082025_04_15_04_10276.jpg', 2), ('/mnt/data/07082025/04/14/image_07082025_04_14_54_10154.jpg', 2), ('/mnt/data/07082025/04/14/image_07082025_04_14_44_10065.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/15/image_07082025_04_15_35_10157.jpg', '/mnt/data/07082025/04/15/image_07082025_04_15_25_10134.jpg', '/mnt/data/07082025/04/15/image_07082025_04_15_14_10097.jpg', '/mnt/data/07082025/04/14/image_07082025_04_15_04_10276.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_54_10154.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_44_10065.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/15/image_07082025_04_15_35_10157.jpg', '/mnt/data/07082025/04/15/image_07082025_04_15_25_10134.jpg', '/mnt/data/07082025/04/15/image_07082025_04_15_14_10097.jpg', '/mnt/data/07082025/04/14/image_07082025_04_15_04_10276.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_54_10154.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_44_10065.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/15/image_07082025_04_15_35_10157.jpg
/mnt/data/07082025/04/15/image_07082025_04_15_25_10134.jpg
/mnt/data/07082025/04/15/image_07082025_04_15_14_10097.jpg
/mnt/data/07082025/04/14/image_07082025_04_15_04_10276.jpg
/mnt/data/07082025/04/14/image_07082025_04_14_54_10154.jpg
/mnt/data/07082025/04/14/image_07082025_04_14_44_10065.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":["1375574210","1375574207","1375574197","1375574200","1375574203","1375574211"],"photo_ids_order":["1375574197","1375574200","1375574203","1375574207","1375574210","1375574211"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/17cd891ff230e6dc584f27d5a1a281f1.jpg","text":"TemporaryFile(/tmp/multipartBody6833591740757383061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541934707,"filename":"image_07082025_04_14_54_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/7/591440b1c4725e042f2b19f860cc31d9.jpg","text":"TemporaryFile(/tmp/multipartBody4320329995826497893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541934707,"filename":"image_07082025_04_15_04_10276.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/cc73b38e39daa32e1a2183900f3565fd.jpg","text":"TemporaryFile(/tmp/multipartBody5017435989136239698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541934707,"filename":"image_07082025_04_15_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/7/c8c251fc3488fa60a76230f73a12ff12.jpg","text":"TemporaryFile(/tmp/multipartBody394989809815045312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541934707,"filename":"image_07082025_04_15_25_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/7/c4feb58a9643f41011347487ae5bbfa4.jpg","text":"TemporaryFile(/tmp/multipartBody5327298807272278520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541934707,"filename":"image_07082025_04_15_14_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/7/10ea57ff3d0afcd33bf6ee0966323784.jpg","text":"TemporaryFile(/tmp/multipartBody625457468443192434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754541934707,"filename":"image_07082025_04_14_44_10065.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375574203","file1":"1375574200","file0":"1375574197","file4":"1375574210","file5":"1375574211","file3":"1375574207"},"map_files_photo_id_array":[{"photo_id":"1375574211","filename":"file5"},{"photo_id":"1375574203","filename":"file2"},{"photo_id":"1375574210","filename":"file4"},{"photo_id":"1375574200","filename":"file1"},{"photo_id":"1375574197","filename":"file0"},{"photo_id":"1375574207","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375574210":["hashtag1","hashtag2"]},{"1375574207":["hashtag1","hashtag2"]},{"1375574197":["hashtag1","hashtag2"]},{"1375574200":["hashtag1","hashtag2"]},{"1375574203":["hashtag1","hashtag2"]},{"1375574211":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375574210, 1375574207, 1375574197, 1375574200, 1375574203, 1375574211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.88537883758545 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:46:02.537239
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/14/image_07082025_04_14_34_8867.jpg', 2), ('/mnt/data/07082025/04/14/image_07082025_04_14_25_10106.jpg', 2), ('/mnt/data/07082025/04/14/image_07082025_04_14_15_10197.jpg', 2), ('/mnt/data/07082025/04/13/image_07082025_04_14_05_10267.jpg', 2), ('/mnt/data/07082025/04/13/image_07082025_04_13_54_10098.jpg', 2), ('/mnt/data/07082025/04/12/image_07082025_04_12_35_10231.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/14/image_07082025_04_14_34_8867.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_25_10106.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_15_10197.jpg', '/mnt/data/07082025/04/13/image_07082025_04_14_05_10267.jpg', '/mnt/data/07082025/04/13/image_07082025_04_13_54_10098.jpg', '/mnt/data/07082025/04/12/image_07082025_04_12_35_10231.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/14/image_07082025_04_14_34_8867.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_25_10106.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_15_10197.jpg', '/mnt/data/07082025/04/13/image_07082025_04_14_05_10267.jpg', '/mnt/data/07082025/04/13/image_07082025_04_13_54_10098.jpg', '/mnt/data/07082025/04/12/image_07082025_04_12_35_10231.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/14/image_07082025_04_14_34_8867.jpg
/mnt/data/07082025/04/14/image_07082025_04_14_25_10106.jpg
/mnt/data/07082025/04/14/image_07082025_04_14_15_10197.jpg
/mnt/data/07082025/04/13/image_07082025_04_14_05_10267.jpg
/mnt/data/07082025/04/13/image_07082025_04_13_54_10098.jpg
/mnt/data/07082025/04/12/image_07082025_04_12_35_10231.jpg
uploaded 0 photos
time to upload: 30.20326542854309 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:47:03.013947
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/14/image_07082025_04_14_34_8867.jpg', 2), ('/mnt/data/07082025/04/14/image_07082025_04_14_25_10106.jpg', 2), ('/mnt/data/07082025/04/14/image_07082025_04_14_15_10197.jpg', 2), ('/mnt/data/07082025/04/13/image_07082025_04_14_05_10267.jpg', 2), ('/mnt/data/07082025/04/13/image_07082025_04_13_54_10098.jpg', 2), ('/mnt/data/07082025/04/12/image_07082025_04_12_35_10231.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/14/image_07082025_04_14_34_8867.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_25_10106.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_15_10197.jpg', '/mnt/data/07082025/04/13/image_07082025_04_14_05_10267.jpg', '/mnt/data/07082025/04/13/image_07082025_04_13_54_10098.jpg', '/mnt/data/07082025/04/12/image_07082025_04_12_35_10231.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/14/image_07082025_04_14_34_8867.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_25_10106.jpg', '/mnt/data/07082025/04/14/image_07082025_04_14_15_10197.jpg', '/mnt/data/07082025/04/13/image_07082025_04_14_05_10267.jpg', '/mnt/data/07082025/04/13/image_07082025_04_13_54_10098.jpg', '/mnt/data/07082025/04/12/image_07082025_04_12_35_10231.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/14/image_07082025_04_14_34_8867.jpg
/mnt/data/07082025/04/14/image_07082025_04_14_25_10106.jpg
/mnt/data/07082025/04/14/image_07082025_04_14_15_10197.jpg
/mnt/data/07082025/04/13/image_07082025_04_14_05_10267.jpg
/mnt/data/07082025/04/13/image_07082025_04_13_54_10098.jpg
/mnt/data/07082025/04/12/image_07082025_04_12_35_10231.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":["1375574305","1375574314","1375574298","1375574302","1375574312","1375574309"],"photo_ids_order":["1375574298","1375574302","1375574305","1375574309","1375574312","1375574314"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/129dc1dcd039e9e696336392a9befb0a.jpg","text":"TemporaryFile(/tmp/multipartBody2251806353347936383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754542108569,"filename":"image_07082025_04_14_15_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/7/68deaae7bbce65c9d27e658739b2454f.jpg","text":"TemporaryFile(/tmp/multipartBody339179096081427472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754542108569,"filename":"image_07082025_04_12_35_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/7/e78d92ff1d5f7fa6dc103499de401cb1.jpg","text":"TemporaryFile(/tmp/multipartBody3695076528981420116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754542108569,"filename":"image_07082025_04_14_34_8867.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d1c55d84dd7f2bfd6554eb892e38b2b5.jpg","text":"TemporaryFile(/tmp/multipartBody5034021027299233009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754542108569,"filename":"image_07082025_04_14_25_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/7/2d553f4567bcff87cba9b8fd13fffb69.jpg","text":"TemporaryFile(/tmp/multipartBody9222547269821427775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754542108569,"filename":"image_07082025_04_13_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/7/a2d8ec454625503e10e081b6e83b7564.jpg","text":"TemporaryFile(/tmp/multipartBody7282571566674266243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754542108569,"filename":"image_07082025_04_14_05_10267.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375574305","file1":"1375574302","file0":"1375574298","file4":"1375574312","file5":"1375574314","file3":"1375574309"},"map_files_photo_id_array":[{"photo_id":"1375574314","filename":"file5"},{"photo_id":"1375574305","filename":"file2"},{"photo_id":"1375574312","filename":"file4"},{"photo_id":"1375574302","filename":"file1"},{"photo_id":"1375574298","filename":"file0"},{"photo_id":"1375574309","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375574305":["hashtag1","hashtag2"]},{"1375574314":["hashtag1","hashtag2"]},{"1375574298":["hashtag1","hashtag2"]},{"1375574302":["hashtag1","hashtag2"]},{"1375574312":["hashtag1","hashtag2"]},{"1375574309":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375574305, 1375574314, 1375574298, 1375574302, 1375574312, 1375574309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.30383324623108 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:49:03.385465
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/12/image_07082025_04_12_24_10298.jpg', 2), ('/mnt/data/07082025/04/11/image_07082025_04_11_54_10101.jpg', 2), ('/mnt/data/07082025/04/11/image_07082025_04_11_44_9993.jpg', 2), ('/mnt/data/07082025/04/11/image_07082025_04_11_34_10010.jpg', 2), ('/mnt/data/07082025/04/11/image_07082025_04_11_24_9975.jpg', 2), ('/mnt/data/07082025/04/11/image_07082025_04_11_14_9959.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/12/image_07082025_04_12_24_10298.jpg', '/mnt/data/07082025/04/11/image_07082025_04_11_54_10101.jpg', '/mnt/data/07082025/04/11/image_07082025_04_11_44_9993.jpg', '/mnt/data/07082025/04/11/image_07082025_04_11_34_10010.jpg', '/mnt/data/07082025/04/11/image_07082025_04_11_24_9975.jpg', '/mnt/data/07082025/04/11/image_07082025_04_11_14_9959.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/12/image_07082025_04_12_24_10298.jpg', '/mnt/data/07082025/04/11/image_07082025_04_11_54_10101.jpg', '/mnt/data/07082025/04/11/image_07082025_04_11_44_9993.jpg', '/mnt/data/07082025/04/11/image_07082025_04_11_34_10010.jpg', '/mnt/data/07082025/04/11/image_07082025_04_11_24_9975.jpg', '/mnt/data/07082025/04/11/image_07082025_04_11_14_9959.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/12/image_07082025_04_12_24_10298.jpg
/mnt/data/07082025/04/11/image_07082025_04_11_54_10101.jpg
/mnt/data/07082025/04/11/image_07082025_04_11_44_9993.jpg
/mnt/data/07082025/04/11/image_07082025_04_11_34_10010.jpg
/mnt/data/07082025/04/11/image_07082025_04_11_24_9975.jpg
/mnt/data/07082025/04/11/image_07082025_04_11_14_9959.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":["1375574362","1375574356","1375574359","1375574379","1375574352","1375574381"],"photo_ids_order":["1375574352","1375574356","1375574359","1375574362","1375574379","1375574381"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/85355a635a4d5e66109537f0a2d3e655.jpg","text":"TemporaryFile(/tmp/multipartBody3344261967848016412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754542229606,"filename":"image_07082025_04_11_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/7/389fb777190b13295a52d31eff72d372.jpg","text":"TemporaryFile(/tmp/multipartBody8899038228432738994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754542229606,"filename":"image_07082025_04_11_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/7/e848845b7d40b504f721212712261da2.jpg","text":"TemporaryFile(/tmp/multipartBody2455226747389842895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754542229606,"filename":"image_07082025_04_11_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/7/779bf7c7431c72eae4d5181c49182e2e.jpg","text":"TemporaryFile(/tmp/multipartBody8425661418670516697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754542229606,"filename":"image_07082025_04_11_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/7/e955bea6e4c0e16907ebbe7358434ed8.jpg","text":"TemporaryFile(/tmp/multipartBody7922144044364317101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754542229606,"filename":"image_07082025_04_12_24_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/7/e317f2379c0caa684f81a57cfacd4064.jpg","text":"TemporaryFile(/tmp/multipartBody6177250648186024899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754542229606,"filename":"image_07082025_04_11_14_9959.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375574359","file1":"1375574356","file0":"1375574352","file4":"1375574379","file5":"1375574381","file3":"1375574362"},"map_files_photo_id_array":[{"photo_id":"1375574381","filename":"file5"},{"photo_id":"1375574359","filename":"file2"},{"photo_id":"1375574379","filename":"file4"},{"photo_id":"1375574356","filename":"file1"},{"photo_id":"1375574352","filename":"file0"},{"photo_id":"1375574362","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375574362":["hashtag1","hashtag2"]},{"1375574356":["hashtag1","hashtag2"]},{"1375574359":["hashtag1","hashtag2"]},{"1375574379":["hashtag1","hashtag2"]},{"1375574352":["hashtag1","hashtag2"]},{"1375574381":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375574362, 1375574356, 1375574359, 1375574379, 1375574352, 1375574381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.59633493423462 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:51:02.782209
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/10/image_07082025_04_11_04_9968.jpg', 2), ('/mnt/data/07082025/04/10/image_07082025_04_10_54_10076.jpg', 2), ('/mnt/data/07082025/04/10/image_07082025_04_10_44_10203.jpg', 2), ('/mnt/data/07082025/04/10/image_07082025_04_10_34_10082.jpg', 2), ('/mnt/data/07082025/04/10/image_07082025_04_10_24_10187.jpg', 2), ('/mnt/data/07082025/04/10/image_07082025_04_10_14_9015.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/10/image_07082025_04_11_04_9968.jpg', '/mnt/data/07082025/04/10/image_07082025_04_10_54_10076.jpg', '/mnt/data/07082025/04/10/image_07082025_04_10_44_10203.jpg', '/mnt/data/07082025/04/10/image_07082025_04_10_34_10082.jpg', '/mnt/data/07082025/04/10/image_07082025_04_10_24_10187.jpg', '/mnt/data/07082025/04/10/image_07082025_04_10_14_9015.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/10/image_07082025_04_11_04_9968.jpg', '/mnt/data/07082025/04/10/image_07082025_04_10_54_10076.jpg', '/mnt/data/07082025/04/10/image_07082025_04_10_44_10203.jpg', '/mnt/data/07082025/04/10/image_07082025_04_10_34_10082.jpg', '/mnt/data/07082025/04/10/image_07082025_04_10_24_10187.jpg', '/mnt/data/07082025/04/10/image_07082025_04_10_14_9015.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/10/image_07082025_04_11_04_9968.jpg
/mnt/data/07082025/04/10/image_07082025_04_10_54_10076.jpg
/mnt/data/07082025/04/10/image_07082025_04_10_44_10203.jpg
/mnt/data/07082025/04/10/image_07082025_04_10_34_10082.jpg
/mnt/data/07082025/04/10/image_07082025_04_10_24_10187.jpg
/mnt/data/07082025/04/10/image_07082025_04_10_14_9015.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":["1375574452","1375574446","1375574442","1375574450","1375574438","1375574432"],"photo_ids_order":["1375574432","1375574438","1375574442","1375574446","1375574450","1375574452"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/40a7edb723fa3529549c1485d347ad2d.jpg","text":"TemporaryFile(/tmp/multipartBody7459988548502251359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754542347211,"filename":"image_07082025_04_10_14_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/7/2bd6f535f9c81cf7d09baaa64c975a45.jpg","text":"TemporaryFile(/tmp/multipartBody507851489557279027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754542347211,"filename":"image_07082025_04_10_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/7/c57bd9c7569c5ee75d1d0795cd85dced.jpg","text":"TemporaryFile(/tmp/multipartBody3866592792175110020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754542347211,"filename":"image_07082025_04_10_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/7/6e320def6988ea072ec76a334aa6ea69.jpg","text":"TemporaryFile(/tmp/multipartBody6092985669703486477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754542347211,"filename":"image_07082025_04_10_24_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/7/a3995f80dae30ffaf7806ae7ccd87c6f.jpg","text":"TemporaryFile(/tmp/multipartBody4978928791716108608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754542347211,"filename":"image_07082025_04_10_54_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/7/9fb1f48990783b773ee5df1c14545e9b.jpg","text":"TemporaryFile(/tmp/multipartBody7292478241603820077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754542347211,"filename":"image_07082025_04_11_04_9968.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375574442","file1":"1375574438","file0":"1375574432","file4":"1375574450","file5":"1375574452","file3":"1375574446"},"map_files_photo_id_array":[{"photo_id":"1375574452","filename":"file5"},{"photo_id":"1375574442","filename":"file2"},{"photo_id":"1375574450","filename":"file4"},{"photo_id":"1375574438","filename":"file1"},{"photo_id":"1375574432","filename":"file0"},{"photo_id":"1375574446","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375574452":["hashtag1","hashtag2"]},{"1375574446":["hashtag1","hashtag2"]},{"1375574442":["hashtag1","hashtag2"]},{"1375574450":["hashtag1","hashtag2"]},{"1375574438":["hashtag1","hashtag2"]},{"1375574432":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375574452, 1375574446, 1375574442, 1375574450, 1375574438, 1375574432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.73512887954712 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:53:03.357804
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg', 2), ('/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg', 2), ('/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg', 2), ('/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg', '/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg', '/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg
/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg
/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg
/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg
/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg
uploaded 0 photos
time to upload: 2.572197914123535 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-07 06:54:03.026548
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg', 2), ('/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg', 2), ('/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg', 2), ('/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg', '/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg', '/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg
/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg
/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg
/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg
/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg
uploaded 0 photos
time to upload: 30.2298002243042 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:55:03.222153
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg', 2), ('/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg', 2), ('/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg', 2), ('/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg', '/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg', '/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg
/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg
/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg
/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg
/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg
uploaded 0 photos
time to upload: 30.226014375686646 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:56:02.743404
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg', 2), ('/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg', 2), ('/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg', 2), ('/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg', '/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg', '/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg
/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg
/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg
/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg
/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg
uploaded 0 photos
time to upload: 30.177130699157715 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-07 06:57:02.637216
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg', 2), ('/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg', 2), ('/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg', 2), ('/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg', '/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg', '/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg
/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg
/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg
/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg
/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg
uploaded 0 photos
time to upload: 30.226908206939697 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 06:59:03.287669
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg', 2), ('/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg', 2), ('/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg', 2), ('/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg', '/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg', '/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg', '/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/09/image_07082025_04_09_55_10196.jpg
/mnt/data/07082025/04/09/image_07082025_04_09_44_10158.jpg
/mnt/data/07082025/04/09/image_07082025_04_09_34_10291.jpg
/mnt/data/07082025/04/09/image_07082025_04_09_15_10186.jpg
/mnt/data/07082025/04/08/image_07082025_04_09_05_10204.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_54_10032.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":["1375575421","1375575387","1375575356","1375575290","1375575323","1375575254"],"photo_ids_order":["1375575254","1375575290","1375575323","1375575356","1375575387","1375575421"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/710b4a7cf75495a693481e2bd7142aa7.jpg","text":"TemporaryFile(/tmp/multipartBody8128363856198340182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754542834673,"filename":"image_07082025_04_08_54_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/7/e9dd87f62cbc744efac41cca23e819b1.jpg","text":"TemporaryFile(/tmp/multipartBody6700467842024421138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754542834673,"filename":"image_07082025_04_09_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/7/1ae92e12a0a096d1dc5b2e867d999378.jpg","text":"TemporaryFile(/tmp/multipartBody8918425695724469717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754542834673,"filename":"image_07082025_04_09_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/7/46f7902a4df47e23b30870b4f36a6852.jpg","text":"TemporaryFile(/tmp/multipartBody6739013860562777056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754542834673,"filename":"image_07082025_04_09_44_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/7/d7fe6eb2dc44d43aafcb8336adef6e32.jpg","text":"TemporaryFile(/tmp/multipartBody5166874411394734585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754542834673,"filename":"image_07082025_04_09_34_10291.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/84c6c1c1206af42b2c02d534cbb72c3a.jpg","text":"TemporaryFile(/tmp/multipartBody7505211547977891366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754542834673,"filename":"image_07082025_04_09_55_10196.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375575323","file1":"1375575290","file0":"1375575254","file4":"1375575387","file5":"1375575421","file3":"1375575356"},"map_files_photo_id_array":[{"photo_id":"1375575421","filename":"file5"},{"photo_id":"1375575323","filename":"file2"},{"photo_id":"1375575387","filename":"file4"},{"photo_id":"1375575290","filename":"file1"},{"photo_id":"1375575254","filename":"file0"},{"photo_id":"1375575356","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375575421":["hashtag1","hashtag2"]},{"1375575387":["hashtag1","hashtag2"]},{"1375575356":["hashtag1","hashtag2"]},{"1375575290":["hashtag1","hashtag2"]},{"1375575323":["hashtag1","hashtag2"]},{"1375575254":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375575421, 1375575387, 1375575356, 1375575290, 1375575323, 1375575254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.39782381057739 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:01:02.716247
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_34_10164.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_24_8903.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_15_10170.jpg', 2), ('/mnt/data/07082025/04/07/image_07082025_04_08_05_10474.jpg', 2), ('/mnt/data/07082025/04/07/image_07082025_04_07_54_10209.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_34_10164.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_24_8903.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_15_10170.jpg', '/mnt/data/07082025/04/07/image_07082025_04_08_05_10474.jpg', '/mnt/data/07082025/04/07/image_07082025_04_07_54_10209.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_34_10164.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_24_8903.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_15_10170.jpg', '/mnt/data/07082025/04/07/image_07082025_04_08_05_10474.jpg', '/mnt/data/07082025/04/07/image_07082025_04_07_54_10209.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_34_10164.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_24_8903.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_15_10170.jpg
/mnt/data/07082025/04/07/image_07082025_04_08_05_10474.jpg
/mnt/data/07082025/04/07/image_07082025_04_07_54_10209.jpg
uploaded 0 photos
time to upload: 30.20456075668335 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:02:03.250306
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_34_10164.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_24_8903.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_15_10170.jpg', 2), ('/mnt/data/07082025/04/07/image_07082025_04_08_05_10474.jpg', 2), ('/mnt/data/07082025/04/07/image_07082025_04_07_54_10209.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_34_10164.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_24_8903.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_15_10170.jpg', '/mnt/data/07082025/04/07/image_07082025_04_08_05_10474.jpg', '/mnt/data/07082025/04/07/image_07082025_04_07_54_10209.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_34_10164.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_24_8903.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_15_10170.jpg', '/mnt/data/07082025/04/07/image_07082025_04_08_05_10474.jpg', '/mnt/data/07082025/04/07/image_07082025_04_07_54_10209.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_34_10164.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_24_8903.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_15_10170.jpg
/mnt/data/07082025/04/07/image_07082025_04_08_05_10474.jpg
/mnt/data/07082025/04/07/image_07082025_04_07_54_10209.jpg
uploaded 0 photos
time to upload: 30.202554941177368 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:03:03.338979
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_34_10164.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_24_8903.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_15_10170.jpg', 2), ('/mnt/data/07082025/04/07/image_07082025_04_08_05_10474.jpg', 2), ('/mnt/data/07082025/04/07/image_07082025_04_07_54_10209.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_34_10164.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_24_8903.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_15_10170.jpg', '/mnt/data/07082025/04/07/image_07082025_04_08_05_10474.jpg', '/mnt/data/07082025/04/07/image_07082025_04_07_54_10209.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_34_10164.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_24_8903.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_15_10170.jpg', '/mnt/data/07082025/04/07/image_07082025_04_08_05_10474.jpg', '/mnt/data/07082025/04/07/image_07082025_04_07_54_10209.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_34_10164.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_24_8903.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_15_10170.jpg
/mnt/data/07082025/04/07/image_07082025_04_08_05_10474.jpg
/mnt/data/07082025/04/07/image_07082025_04_07_54_10209.jpg
uploaded 0 photos
time to upload: 2.434631586074829 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-07 07:04:02.956967
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_34_10164.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_24_8903.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_15_10170.jpg', 2), ('/mnt/data/07082025/04/07/image_07082025_04_08_05_10474.jpg', 2), ('/mnt/data/07082025/04/07/image_07082025_04_07_54_10209.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_34_10164.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_24_8903.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_15_10170.jpg', '/mnt/data/07082025/04/07/image_07082025_04_08_05_10474.jpg', '/mnt/data/07082025/04/07/image_07082025_04_07_54_10209.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_34_10164.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_24_8903.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_15_10170.jpg', '/mnt/data/07082025/04/07/image_07082025_04_08_05_10474.jpg', '/mnt/data/07082025/04/07/image_07082025_04_07_54_10209.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_34_10164.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_24_8903.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_15_10170.jpg
/mnt/data/07082025/04/07/image_07082025_04_08_05_10474.jpg
/mnt/data/07082025/04/07/image_07082025_04_07_54_10209.jpg
uploaded 0 photos
time to upload: 30.21471667289734 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:05:03.114490
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_34_10164.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_24_8903.jpg', 2), ('/mnt/data/07082025/04/08/image_07082025_04_08_15_10170.jpg', 2), ('/mnt/data/07082025/04/07/image_07082025_04_08_05_10474.jpg', 2), ('/mnt/data/07082025/04/07/image_07082025_04_07_54_10209.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_34_10164.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_24_8903.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_15_10170.jpg', '/mnt/data/07082025/04/07/image_07082025_04_08_05_10474.jpg', '/mnt/data/07082025/04/07/image_07082025_04_07_54_10209.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_34_10164.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_24_8903.jpg', '/mnt/data/07082025/04/08/image_07082025_04_08_15_10170.jpg', '/mnt/data/07082025/04/07/image_07082025_04_08_05_10474.jpg', '/mnt/data/07082025/04/07/image_07082025_04_07_54_10209.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/08/image_07082025_04_08_44_10426.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_34_10164.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_24_8903.jpg
/mnt/data/07082025/04/08/image_07082025_04_08_15_10170.jpg
/mnt/data/07082025/04/07/image_07082025_04_08_05_10474.jpg
/mnt/data/07082025/04/07/image_07082025_04_07_54_10209.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":["1375576260","1375576263","1375576266","1375576271","1375576268","1375576270"],"photo_ids_order":["1375576260","1375576263","1375576266","1375576268","1375576270","1375576271"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/6c8612841a36b0d7b2b0c0250a26f731.jpg","text":"TemporaryFile(/tmp/multipartBody3602669835949798492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543188133,"filename":"image_07082025_04_08_44_10426.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/0832ac33ffc447ab34b22ec4b4c0026d.jpg","text":"TemporaryFile(/tmp/multipartBody4515829584793030370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543188133,"filename":"image_07082025_04_08_34_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/7/bf71bf8ffd1844ed5a1c555cf447a22d.jpg","text":"TemporaryFile(/tmp/multipartBody6042000543919981773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543188133,"filename":"image_07082025_04_08_24_8903.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/dea457999703ea7d43fb6f066a42eeaf.jpg","text":"TemporaryFile(/tmp/multipartBody1861981666922053655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543188133,"filename":"image_07082025_04_07_54_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/7/c386a7e56ab6449eef98e1ab6b99b046.jpg","text":"TemporaryFile(/tmp/multipartBody2628540605326599725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543188133,"filename":"image_07082025_04_08_15_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/7/fe263d7a3441bb59c568e6467af81b92.jpg","text":"TemporaryFile(/tmp/multipartBody2142931636015410606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543188133,"filename":"image_07082025_04_08_05_10474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375576266","file1":"1375576263","file0":"1375576260","file4":"1375576270","file5":"1375576271","file3":"1375576268"},"map_files_photo_id_array":[{"photo_id":"1375576271","filename":"file5"},{"photo_id":"1375576266","filename":"file2"},{"photo_id":"1375576270","filename":"file4"},{"photo_id":"1375576263","filename":"file1"},{"photo_id":"1375576260","filename":"file0"},{"photo_id":"1375576268","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375576260":["hashtag1","hashtag2"]},{"1375576263":["hashtag1","hashtag2"]},{"1375576266":["hashtag1","hashtag2"]},{"1375576271":["hashtag1","hashtag2"]},{"1375576268":["hashtag1","hashtag2"]},{"1375576270":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375576260, 1375576263, 1375576266, 1375576271, 1375576268, 1375576270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.56829309463501 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:07:03.028288
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/07/image_07082025_04_07_44_10167.jpg', 2), ('/mnt/data/07082025/04/07/image_07082025_04_07_34_8947.jpg', 2), ('/mnt/data/07082025/04/07/image_07082025_04_07_25_10203.jpg', 2), ('/mnt/data/07082025/04/07/image_07082025_04_07_15_10036.jpg', 2), ('/mnt/data/07082025/04/06/image_07082025_04_07_05_10029.jpg', 2), ('/mnt/data/07082025/04/06/image_07082025_04_06_55_9963.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/07/image_07082025_04_07_44_10167.jpg', '/mnt/data/07082025/04/07/image_07082025_04_07_34_8947.jpg', '/mnt/data/07082025/04/07/image_07082025_04_07_25_10203.jpg', '/mnt/data/07082025/04/07/image_07082025_04_07_15_10036.jpg', '/mnt/data/07082025/04/06/image_07082025_04_07_05_10029.jpg', '/mnt/data/07082025/04/06/image_07082025_04_06_55_9963.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/07/image_07082025_04_07_44_10167.jpg', '/mnt/data/07082025/04/07/image_07082025_04_07_34_8947.jpg', '/mnt/data/07082025/04/07/image_07082025_04_07_25_10203.jpg', '/mnt/data/07082025/04/07/image_07082025_04_07_15_10036.jpg', '/mnt/data/07082025/04/06/image_07082025_04_07_05_10029.jpg', '/mnt/data/07082025/04/06/image_07082025_04_06_55_9963.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/07/image_07082025_04_07_44_10167.jpg
/mnt/data/07082025/04/07/image_07082025_04_07_34_8947.jpg
/mnt/data/07082025/04/07/image_07082025_04_07_25_10203.jpg
/mnt/data/07082025/04/07/image_07082025_04_07_15_10036.jpg
/mnt/data/07082025/04/06/image_07082025_04_07_05_10029.jpg
/mnt/data/07082025/04/06/image_07082025_04_06_55_9963.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":["1375576335","1375576320","1375576302","1375576334","1375576307","1375576336"],"photo_ids_order":["1375576302","1375576307","1375576320","1375576334","1375576335","1375576336"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/fbf572b0a7beb58e6493dbc056836987.jpg","text":"TemporaryFile(/tmp/multipartBody3319231812858795217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543302463,"filename":"image_07082025_04_07_05_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/7/cce6fd672bc6c5634822fb80ae4fa4cb.jpg","text":"TemporaryFile(/tmp/multipartBody7079237031161488360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543302463,"filename":"image_07082025_04_07_25_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/7/889824ca241e080f8a59aab013b9ee61.jpg","text":"TemporaryFile(/tmp/multipartBody4176405066437412390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543302463,"filename":"image_07082025_04_07_44_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/7/e3833333241e84ab7f4853bf6fa14bc5.jpg","text":"TemporaryFile(/tmp/multipartBody5979137628033781435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543302463,"filename":"image_07082025_04_07_15_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/7/133c0dbf330d247463fd463f1b9ee038.jpg","text":"TemporaryFile(/tmp/multipartBody2377244648895420983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543302463,"filename":"image_07082025_04_07_34_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/7/25425204a67b0a93c9886b3d44208669.jpg","text":"TemporaryFile(/tmp/multipartBody6009268106703183389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543302463,"filename":"image_07082025_04_06_55_9963.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375576320","file1":"1375576307","file0":"1375576302","file4":"1375576335","file5":"1375576336","file3":"1375576334"},"map_files_photo_id_array":[{"photo_id":"1375576336","filename":"file5"},{"photo_id":"1375576320","filename":"file2"},{"photo_id":"1375576335","filename":"file4"},{"photo_id":"1375576307","filename":"file1"},{"photo_id":"1375576302","filename":"file0"},{"photo_id":"1375576334","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375576335":["hashtag1","hashtag2"]},{"1375576320":["hashtag1","hashtag2"]},{"1375576302":["hashtag1","hashtag2"]},{"1375576334":["hashtag1","hashtag2"]},{"1375576307":["hashtag1","hashtag2"]},{"1375576336":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375576335, 1375576320, 1375576302, 1375576334, 1375576307, 1375576336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.49148607254028 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:09:02.808331
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/06/image_07082025_04_06_45_9931.jpg', 2), ('/mnt/data/07082025/04/06/image_07082025_04_06_35_10015.jpg', 2), ('/mnt/data/07082025/04/06/image_07082025_04_06_25_10024.jpg', 2), ('/mnt/data/07082025/04/06/image_07082025_04_06_15_10006.jpg', 2), ('/mnt/data/07082025/04/05/image_07082025_04_06_05_10825.jpg', 2), ('/mnt/data/07082025/04/05/image_07082025_04_05_54_10016.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/06/image_07082025_04_06_45_9931.jpg', '/mnt/data/07082025/04/06/image_07082025_04_06_35_10015.jpg', '/mnt/data/07082025/04/06/image_07082025_04_06_25_10024.jpg', '/mnt/data/07082025/04/06/image_07082025_04_06_15_10006.jpg', '/mnt/data/07082025/04/05/image_07082025_04_06_05_10825.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_54_10016.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/06/image_07082025_04_06_45_9931.jpg', '/mnt/data/07082025/04/06/image_07082025_04_06_35_10015.jpg', '/mnt/data/07082025/04/06/image_07082025_04_06_25_10024.jpg', '/mnt/data/07082025/04/06/image_07082025_04_06_15_10006.jpg', '/mnt/data/07082025/04/05/image_07082025_04_06_05_10825.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_54_10016.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/06/image_07082025_04_06_45_9931.jpg
/mnt/data/07082025/04/06/image_07082025_04_06_35_10015.jpg
/mnt/data/07082025/04/06/image_07082025_04_06_25_10024.jpg
/mnt/data/07082025/04/06/image_07082025_04_06_15_10006.jpg
/mnt/data/07082025/04/05/image_07082025_04_06_05_10825.jpg
/mnt/data/07082025/04/05/image_07082025_04_05_54_10016.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 26.535659551620483 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-07 07:10:02.364965
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/06/image_07082025_04_06_45_9931.jpg', 2), ('/mnt/data/07082025/04/06/image_07082025_04_06_35_10015.jpg', 2), ('/mnt/data/07082025/04/06/image_07082025_04_06_25_10024.jpg', 2), ('/mnt/data/07082025/04/06/image_07082025_04_06_15_10006.jpg', 2), ('/mnt/data/07082025/04/05/image_07082025_04_06_05_10825.jpg', 2), ('/mnt/data/07082025/04/05/image_07082025_04_05_54_10016.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/06/image_07082025_04_06_45_9931.jpg', '/mnt/data/07082025/04/06/image_07082025_04_06_35_10015.jpg', '/mnt/data/07082025/04/06/image_07082025_04_06_25_10024.jpg', '/mnt/data/07082025/04/06/image_07082025_04_06_15_10006.jpg', '/mnt/data/07082025/04/05/image_07082025_04_06_05_10825.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_54_10016.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/06/image_07082025_04_06_45_9931.jpg', '/mnt/data/07082025/04/06/image_07082025_04_06_35_10015.jpg', '/mnt/data/07082025/04/06/image_07082025_04_06_25_10024.jpg', '/mnt/data/07082025/04/06/image_07082025_04_06_15_10006.jpg', '/mnt/data/07082025/04/05/image_07082025_04_06_05_10825.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_54_10016.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/06/image_07082025_04_06_45_9931.jpg
/mnt/data/07082025/04/06/image_07082025_04_06_35_10015.jpg
/mnt/data/07082025/04/06/image_07082025_04_06_25_10024.jpg
/mnt/data/07082025/04/06/image_07082025_04_06_15_10006.jpg
/mnt/data/07082025/04/05/image_07082025_04_06_05_10825.jpg
/mnt/data/07082025/04/05/image_07082025_04_05_54_10016.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":["1375576530","1375576524","1375576526","1375576529","1375576517","1375576510"],"photo_ids_order":["1375576510","1375576517","1375576524","1375576526","1375576529","1375576530"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/e7e7eb823efcdc2f675e176ff1608435.jpg","text":"TemporaryFile(/tmp/multipartBody3253132310599786678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543482814,"filename":"image_07082025_04_05_54_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/7/0bdcccb3d85643b14b28a4411bfc4d47.jpg","text":"TemporaryFile(/tmp/multipartBody8396703492557944260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543482814,"filename":"image_07082025_04_06_25_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/7/486993b5b9000feaa43f781e46390de5.jpg","text":"TemporaryFile(/tmp/multipartBody381899968798680761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543482814,"filename":"image_07082025_04_06_15_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/7/e7aebc5b562a61ff05494ce314e27524.jpg","text":"TemporaryFile(/tmp/multipartBody4987471553718001045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543482814,"filename":"image_07082025_04_06_05_10825.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/5acea591c2778c27fb784bec6ef49cc2.jpg","text":"TemporaryFile(/tmp/multipartBody1987338596561520692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543482814,"filename":"image_07082025_04_06_35_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/7/b116aacb8457ff0726b8fb4f6eba5b39.jpg","text":"TemporaryFile(/tmp/multipartBody4137459706610334732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543482814,"filename":"image_07082025_04_06_45_9931.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375576524","file1":"1375576517","file0":"1375576510","file4":"1375576529","file5":"1375576530","file3":"1375576526"},"map_files_photo_id_array":[{"photo_id":"1375576530","filename":"file5"},{"photo_id":"1375576524","filename":"file2"},{"photo_id":"1375576529","filename":"file4"},{"photo_id":"1375576517","filename":"file1"},{"photo_id":"1375576510","filename":"file0"},{"photo_id":"1375576526","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375576530":["hashtag1","hashtag2"]},{"1375576524":["hashtag1","hashtag2"]},{"1375576526":["hashtag1","hashtag2"]},{"1375576529":["hashtag1","hashtag2"]},{"1375576517":["hashtag1","hashtag2"]},{"1375576510":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375576530, 1375576524, 1375576526, 1375576529, 1375576517, 1375576510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.831143856048584 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:12:02.888631
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/05/image_07082025_04_05_44_10007.jpg', 2), ('/mnt/data/07082025/04/05/image_07082025_04_05_34_9996.jpg', 2), ('/mnt/data/07082025/04/05/image_07082025_04_05_24_8953.jpg', 2), ('/mnt/data/07082025/04/05/image_07082025_04_05_15_11165.jpg', 2), ('/mnt/data/07082025/04/04/image_07082025_04_05_04_8833.jpg', 2), ('/mnt/data/07082025/04/04/image_07082025_04_04_55_11162.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/05/image_07082025_04_05_44_10007.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_34_9996.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_24_8953.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_15_11165.jpg', '/mnt/data/07082025/04/04/image_07082025_04_05_04_8833.jpg', '/mnt/data/07082025/04/04/image_07082025_04_04_55_11162.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/05/image_07082025_04_05_44_10007.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_34_9996.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_24_8953.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_15_11165.jpg', '/mnt/data/07082025/04/04/image_07082025_04_05_04_8833.jpg', '/mnt/data/07082025/04/04/image_07082025_04_04_55_11162.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/05/image_07082025_04_05_44_10007.jpg
/mnt/data/07082025/04/05/image_07082025_04_05_34_9996.jpg
/mnt/data/07082025/04/05/image_07082025_04_05_24_8953.jpg
/mnt/data/07082025/04/05/image_07082025_04_05_15_11165.jpg
/mnt/data/07082025/04/04/image_07082025_04_05_04_8833.jpg
/mnt/data/07082025/04/04/image_07082025_04_04_55_11162.jpg
uploaded 0 photos
time to upload: 30.214470148086548 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:13:02.603782
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/05/image_07082025_04_05_44_10007.jpg', 2), ('/mnt/data/07082025/04/05/image_07082025_04_05_34_9996.jpg', 2), ('/mnt/data/07082025/04/05/image_07082025_04_05_24_8953.jpg', 2), ('/mnt/data/07082025/04/05/image_07082025_04_05_15_11165.jpg', 2), ('/mnt/data/07082025/04/04/image_07082025_04_05_04_8833.jpg', 2), ('/mnt/data/07082025/04/04/image_07082025_04_04_55_11162.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/05/image_07082025_04_05_44_10007.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_34_9996.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_24_8953.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_15_11165.jpg', '/mnt/data/07082025/04/04/image_07082025_04_05_04_8833.jpg', '/mnt/data/07082025/04/04/image_07082025_04_04_55_11162.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/05/image_07082025_04_05_44_10007.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_34_9996.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_24_8953.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_15_11165.jpg', '/mnt/data/07082025/04/04/image_07082025_04_05_04_8833.jpg', '/mnt/data/07082025/04/04/image_07082025_04_04_55_11162.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/05/image_07082025_04_05_44_10007.jpg
/mnt/data/07082025/04/05/image_07082025_04_05_34_9996.jpg
/mnt/data/07082025/04/05/image_07082025_04_05_24_8953.jpg
/mnt/data/07082025/04/05/image_07082025_04_05_15_11165.jpg
/mnt/data/07082025/04/04/image_07082025_04_05_04_8833.jpg
/mnt/data/07082025/04/04/image_07082025_04_04_55_11162.jpg
uploaded 0 photos
time to upload: 3.140700578689575 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-07 07:14:03.265537
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/05/image_07082025_04_05_44_10007.jpg', 2), ('/mnt/data/07082025/04/05/image_07082025_04_05_34_9996.jpg', 2), ('/mnt/data/07082025/04/05/image_07082025_04_05_24_8953.jpg', 2), ('/mnt/data/07082025/04/05/image_07082025_04_05_15_11165.jpg', 2), ('/mnt/data/07082025/04/04/image_07082025_04_05_04_8833.jpg', 2), ('/mnt/data/07082025/04/04/image_07082025_04_04_55_11162.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/05/image_07082025_04_05_44_10007.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_34_9996.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_24_8953.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_15_11165.jpg', '/mnt/data/07082025/04/04/image_07082025_04_05_04_8833.jpg', '/mnt/data/07082025/04/04/image_07082025_04_04_55_11162.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/05/image_07082025_04_05_44_10007.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_34_9996.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_24_8953.jpg', '/mnt/data/07082025/04/05/image_07082025_04_05_15_11165.jpg', '/mnt/data/07082025/04/04/image_07082025_04_05_04_8833.jpg', '/mnt/data/07082025/04/04/image_07082025_04_04_55_11162.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/05/image_07082025_04_05_44_10007.jpg
/mnt/data/07082025/04/05/image_07082025_04_05_34_9996.jpg
/mnt/data/07082025/04/05/image_07082025_04_05_24_8953.jpg
/mnt/data/07082025/04/05/image_07082025_04_05_15_11165.jpg
/mnt/data/07082025/04/04/image_07082025_04_05_04_8833.jpg
/mnt/data/07082025/04/04/image_07082025_04_04_55_11162.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375576912","1375576896","1375576899","1375576905","1375576909","1375576903"],"photo_ids_order":["1375576896","1375576899","1375576903","1375576905","1375576909","1375576912"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/3617bea2ff4597ebd1715a337a60654f.jpg","text":"TemporaryFile(/tmp/multipartBody6221705539901078471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543715081,"filename":"image_07082025_04_04_55_11162.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/362b63c6a27415654a47444451f30539.jpg","text":"TemporaryFile(/tmp/multipartBody638038281545510024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543715081,"filename":"image_07082025_04_05_44_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/7/5c28d6101f2c5446ab6872e1c2caf8ef.jpg","text":"TemporaryFile(/tmp/multipartBody5887110755844931026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543715081,"filename":"image_07082025_04_05_34_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/7/77f612f042cd6cbbd939c5a0035912c9.jpg","text":"TemporaryFile(/tmp/multipartBody2133048898380504543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543715081,"filename":"image_07082025_04_05_15_11165.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/37ae9cafbff178ec3f364fa8a4b21e5b.jpg","text":"TemporaryFile(/tmp/multipartBody2224301581916155683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543715081,"filename":"image_07082025_04_05_04_8833.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/94f02c40810a3ab9c8af7fcb3fa40cc7.jpg","text":"TemporaryFile(/tmp/multipartBody5612201340058912096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543715081,"filename":"image_07082025_04_05_24_8953.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375576903","file1":"1375576899","file0":"1375576896","file4":"1375576909","file5":"1375576912","file3":"1375576905"},"map_files_photo_id_array":[{"photo_id":"1375576912","filename":"file5"},{"photo_id":"1375576903","filename":"file2"},{"photo_id":"1375576909","filename":"file4"},{"photo_id":"1375576899","filename":"file1"},{"photo_id":"1375576896","filename":"file0"},{"photo_id":"1375576905","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375576912":["hashtag1","hashtag2"]},{"1375576896":["hashtag1","hashtag2"]},{"1375576899":["hashtag1","hashtag2"]},{"1375576905":["hashtag1","hashtag2"]},{"1375576909":["hashtag1","hashtag2"]},{"1375576903":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375576912, 1375576896, 1375576899, 1375576905, 1375576909, 1375576903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.0316002368927 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:15:03.351122
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/04/image_07082025_04_04_44_9998.jpg', 2), ('/mnt/data/07082025/04/04/image_07082025_04_04_34_10024.jpg', 2), ('/mnt/data/07082025/04/04/image_07082025_04_04_24_8894.jpg', 2), ('/mnt/data/07082025/04/04/image_07082025_04_04_15_9973.jpg', 2), ('/mnt/data/07082025/04/03/image_07082025_04_04_05_10282.jpg', 2), ('/mnt/data/07082025/04/03/image_07082025_04_03_55_10206.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/04/image_07082025_04_04_44_9998.jpg', '/mnt/data/07082025/04/04/image_07082025_04_04_34_10024.jpg', '/mnt/data/07082025/04/04/image_07082025_04_04_24_8894.jpg', '/mnt/data/07082025/04/04/image_07082025_04_04_15_9973.jpg', '/mnt/data/07082025/04/03/image_07082025_04_04_05_10282.jpg', '/mnt/data/07082025/04/03/image_07082025_04_03_55_10206.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/04/image_07082025_04_04_44_9998.jpg', '/mnt/data/07082025/04/04/image_07082025_04_04_34_10024.jpg', '/mnt/data/07082025/04/04/image_07082025_04_04_24_8894.jpg', '/mnt/data/07082025/04/04/image_07082025_04_04_15_9973.jpg', '/mnt/data/07082025/04/03/image_07082025_04_04_05_10282.jpg', '/mnt/data/07082025/04/03/image_07082025_04_03_55_10206.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/04/image_07082025_04_04_44_9998.jpg
/mnt/data/07082025/04/04/image_07082025_04_04_34_10024.jpg
/mnt/data/07082025/04/04/image_07082025_04_04_24_8894.jpg
/mnt/data/07082025/04/04/image_07082025_04_04_15_9973.jpg
/mnt/data/07082025/04/03/image_07082025_04_04_05_10282.jpg
/mnt/data/07082025/04/03/image_07082025_04_03_55_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":["1375576968","1375576985","1375576931","1375577014","1375576966","1375576945"],"photo_ids_order":["1375576931","1375576945","1375576966","1375576968","1375576985","1375577014"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/18731620380c79d674bf5527ae51bf46.jpg","text":"TemporaryFile(/tmp/multipartBody4396363012849844250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543785752,"filename":"image_07082025_04_04_15_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/7/ded8664c4810e1f5af97aabef078af81.jpg","text":"TemporaryFile(/tmp/multipartBody3036164298168027331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543785752,"filename":"image_07082025_04_04_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/7/53f5b2ddda5a4064d202236acf1d6b95.jpg","text":"TemporaryFile(/tmp/multipartBody146394950615899923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543785752,"filename":"image_07082025_04_04_44_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/7/c6969cadc6d01aa5e98c419c5583e7d8.jpg","text":"TemporaryFile(/tmp/multipartBody5801106387181124972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543785752,"filename":"image_07082025_04_03_55_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/7/95be67b18c26067b0f73126c0f38f841.jpg","text":"TemporaryFile(/tmp/multipartBody6148286103418106232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543785752,"filename":"image_07082025_04_04_24_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/7/9c96ec741e2377d20702190fd03f8d1a.jpg","text":"TemporaryFile(/tmp/multipartBody987492639692555774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543785752,"filename":"image_07082025_04_04_34_10024.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375576966","file1":"1375576945","file0":"1375576931","file4":"1375576985","file5":"1375577014","file3":"1375576968"},"map_files_photo_id_array":[{"photo_id":"1375577014","filename":"file5"},{"photo_id":"1375576966","filename":"file2"},{"photo_id":"1375576985","filename":"file4"},{"photo_id":"1375576945","filename":"file1"},{"photo_id":"1375576931","filename":"file0"},{"photo_id":"1375576968","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375576968":["hashtag1","hashtag2"]},{"1375576985":["hashtag1","hashtag2"]},{"1375576931":["hashtag1","hashtag2"]},{"1375577014":["hashtag1","hashtag2"]},{"1375576966":["hashtag1","hashtag2"]},{"1375576945":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375576968, 1375576985, 1375576931, 1375577014, 1375576966, 1375576945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.873040437698364 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:17:02.588296
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/02/image_07082025_04_02_45_10116.jpg', 2), ('/mnt/data/07082025/04/02/image_07082025_04_02_35_10168.jpg', 2), ('/mnt/data/07082025/04/02/image_07082025_04_02_25_10117.jpg', 2), ('/mnt/data/07082025/04/02/image_07082025_04_02_14_10122.jpg', 2), ('/mnt/data/07082025/04/01/image_07082025_04_02_04_10574.jpg', 2), ('/mnt/data/07082025/04/01/image_07082025_04_01_54_8917.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/02/image_07082025_04_02_45_10116.jpg', '/mnt/data/07082025/04/02/image_07082025_04_02_35_10168.jpg', '/mnt/data/07082025/04/02/image_07082025_04_02_25_10117.jpg', '/mnt/data/07082025/04/02/image_07082025_04_02_14_10122.jpg', '/mnt/data/07082025/04/01/image_07082025_04_02_04_10574.jpg', '/mnt/data/07082025/04/01/image_07082025_04_01_54_8917.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/02/image_07082025_04_02_45_10116.jpg', '/mnt/data/07082025/04/02/image_07082025_04_02_35_10168.jpg', '/mnt/data/07082025/04/02/image_07082025_04_02_25_10117.jpg', '/mnt/data/07082025/04/02/image_07082025_04_02_14_10122.jpg', '/mnt/data/07082025/04/01/image_07082025_04_02_04_10574.jpg', '/mnt/data/07082025/04/01/image_07082025_04_01_54_8917.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/02/image_07082025_04_02_45_10116.jpg
/mnt/data/07082025/04/02/image_07082025_04_02_35_10168.jpg
/mnt/data/07082025/04/02/image_07082025_04_02_25_10117.jpg
/mnt/data/07082025/04/02/image_07082025_04_02_14_10122.jpg
/mnt/data/07082025/04/01/image_07082025_04_02_04_10574.jpg
/mnt/data/07082025/04/01/image_07082025_04_01_54_8917.jpg
uploaded 0 photos
time to upload: 30.23481845855713 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:18:03.221148
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/02/image_07082025_04_02_45_10116.jpg', 2), ('/mnt/data/07082025/04/02/image_07082025_04_02_35_10168.jpg', 2), ('/mnt/data/07082025/04/02/image_07082025_04_02_25_10117.jpg', 2), ('/mnt/data/07082025/04/02/image_07082025_04_02_14_10122.jpg', 2), ('/mnt/data/07082025/04/01/image_07082025_04_02_04_10574.jpg', 2), ('/mnt/data/07082025/04/01/image_07082025_04_01_54_8917.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/02/image_07082025_04_02_45_10116.jpg', '/mnt/data/07082025/04/02/image_07082025_04_02_35_10168.jpg', '/mnt/data/07082025/04/02/image_07082025_04_02_25_10117.jpg', '/mnt/data/07082025/04/02/image_07082025_04_02_14_10122.jpg', '/mnt/data/07082025/04/01/image_07082025_04_02_04_10574.jpg', '/mnt/data/07082025/04/01/image_07082025_04_01_54_8917.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/02/image_07082025_04_02_45_10116.jpg', '/mnt/data/07082025/04/02/image_07082025_04_02_35_10168.jpg', '/mnt/data/07082025/04/02/image_07082025_04_02_25_10117.jpg', '/mnt/data/07082025/04/02/image_07082025_04_02_14_10122.jpg', '/mnt/data/07082025/04/01/image_07082025_04_02_04_10574.jpg', '/mnt/data/07082025/04/01/image_07082025_04_01_54_8917.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/02/image_07082025_04_02_45_10116.jpg
/mnt/data/07082025/04/02/image_07082025_04_02_35_10168.jpg
/mnt/data/07082025/04/02/image_07082025_04_02_25_10117.jpg
/mnt/data/07082025/04/02/image_07082025_04_02_14_10122.jpg
/mnt/data/07082025/04/01/image_07082025_04_02_04_10574.jpg
/mnt/data/07082025/04/01/image_07082025_04_01_54_8917.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":["1375577375","1375577372","1375577380","1375577377","1375577365","1375577370"],"photo_ids_order":["1375577365","1375577370","1375577372","1375577375","1375577377","1375577380"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/fd6549b3391142812919985aa0950437.jpg","text":"TemporaryFile(/tmp/multipartBody900369339948535125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543968965,"filename":"image_07082025_04_02_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/7/340bc23e4ee2655c63f228e955952991.jpg","text":"TemporaryFile(/tmp/multipartBody6370975480229185556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543968965,"filename":"image_07082025_04_02_25_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/7/d2d8e5f9ed82c6878bdae1f1ac9f37d2.jpg","text":"TemporaryFile(/tmp/multipartBody8903116367169072929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543968965,"filename":"image_07082025_04_01_54_8917.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/84f53c8b3f08c4f27cc410a4fc53fd02.jpg","text":"TemporaryFile(/tmp/multipartBody5847918207186803686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543968965,"filename":"image_07082025_04_02_04_10574.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/a4a3a909852fd5c924dcbcbbadf902d2.jpg","text":"TemporaryFile(/tmp/multipartBody3966241801299273310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543968965,"filename":"image_07082025_04_02_45_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/7/5a6a539ae6c398ce5a968390416874cc.jpg","text":"TemporaryFile(/tmp/multipartBody7486165785523060718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754543968965,"filename":"image_07082025_04_02_35_10168.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375577372","file1":"1375577370","file0":"1375577365","file4":"1375577377","file5":"1375577380","file3":"1375577375"},"map_files_photo_id_array":[{"photo_id":"1375577380","filename":"file5"},{"photo_id":"1375577372","filename":"file2"},{"photo_id":"1375577377","filename":"file4"},{"photo_id":"1375577370","filename":"file1"},{"photo_id":"1375577365","filename":"file0"},{"photo_id":"1375577375","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375577375":["hashtag1","hashtag2"]},{"1375577372":["hashtag1","hashtag2"]},{"1375577380":["hashtag1","hashtag2"]},{"1375577377":["hashtag1","hashtag2"]},{"1375577365":["hashtag1","hashtag2"]},{"1375577370":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375577375, 1375577372, 1375577380, 1375577377, 1375577365, 1375577370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.40532517433167 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:20:02.486852
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/01/image_07082025_04_01_45_10092.jpg', 2), ('/mnt/data/07082025/04/01/image_07082025_04_01_35_10104.jpg', 2), ('/mnt/data/07082025/04/01/image_07082025_04_01_25_10107.jpg', 2), ('/mnt/data/07082025/04/01/image_07082025_04_01_15_10090.jpg', 2), ('/mnt/data/07082025/04/00/image_07082025_04_01_04_10057.jpg', 2), ('/mnt/data/07082025/04/00/image_07082025_04_00_54_9979.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/01/image_07082025_04_01_45_10092.jpg', '/mnt/data/07082025/04/01/image_07082025_04_01_35_10104.jpg', '/mnt/data/07082025/04/01/image_07082025_04_01_25_10107.jpg', '/mnt/data/07082025/04/01/image_07082025_04_01_15_10090.jpg', '/mnt/data/07082025/04/00/image_07082025_04_01_04_10057.jpg', '/mnt/data/07082025/04/00/image_07082025_04_00_54_9979.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/01/image_07082025_04_01_45_10092.jpg', '/mnt/data/07082025/04/01/image_07082025_04_01_35_10104.jpg', '/mnt/data/07082025/04/01/image_07082025_04_01_25_10107.jpg', '/mnt/data/07082025/04/01/image_07082025_04_01_15_10090.jpg', '/mnt/data/07082025/04/00/image_07082025_04_01_04_10057.jpg', '/mnt/data/07082025/04/00/image_07082025_04_00_54_9979.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/01/image_07082025_04_01_45_10092.jpg
/mnt/data/07082025/04/01/image_07082025_04_01_35_10104.jpg
/mnt/data/07082025/04/01/image_07082025_04_01_25_10107.jpg
/mnt/data/07082025/04/01/image_07082025_04_01_15_10090.jpg
/mnt/data/07082025/04/00/image_07082025_04_01_04_10057.jpg
/mnt/data/07082025/04/00/image_07082025_04_00_54_9979.jpg
uploaded 0 photos
time to upload: 30.222272157669067 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:21:03.243108
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/04/01/image_07082025_04_01_45_10092.jpg', 2), ('/mnt/data/07082025/04/01/image_07082025_04_01_35_10104.jpg', 2), ('/mnt/data/07082025/04/01/image_07082025_04_01_25_10107.jpg', 2), ('/mnt/data/07082025/04/01/image_07082025_04_01_15_10090.jpg', 2), ('/mnt/data/07082025/04/00/image_07082025_04_01_04_10057.jpg', 2), ('/mnt/data/07082025/04/00/image_07082025_04_00_54_9979.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/04/01/image_07082025_04_01_45_10092.jpg', '/mnt/data/07082025/04/01/image_07082025_04_01_35_10104.jpg', '/mnt/data/07082025/04/01/image_07082025_04_01_25_10107.jpg', '/mnt/data/07082025/04/01/image_07082025_04_01_15_10090.jpg', '/mnt/data/07082025/04/00/image_07082025_04_01_04_10057.jpg', '/mnt/data/07082025/04/00/image_07082025_04_00_54_9979.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/04/01/image_07082025_04_01_45_10092.jpg', '/mnt/data/07082025/04/01/image_07082025_04_01_35_10104.jpg', '/mnt/data/07082025/04/01/image_07082025_04_01_25_10107.jpg', '/mnt/data/07082025/04/01/image_07082025_04_01_15_10090.jpg', '/mnt/data/07082025/04/00/image_07082025_04_01_04_10057.jpg', '/mnt/data/07082025/04/00/image_07082025_04_00_54_9979.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/04/01/image_07082025_04_01_45_10092.jpg
/mnt/data/07082025/04/01/image_07082025_04_01_35_10104.jpg
/mnt/data/07082025/04/01/image_07082025_04_01_25_10107.jpg
/mnt/data/07082025/04/01/image_07082025_04_01_15_10090.jpg
/mnt/data/07082025/04/00/image_07082025_04_01_04_10057.jpg
/mnt/data/07082025/04/00/image_07082025_04_00_54_9979.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":["1375577817","1375577814","1375577808","1375577798","1375577837","1375577831"],"photo_ids_order":["1375577798","1375577808","1375577814","1375577817","1375577831","1375577837"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/bf8e172c1806ae807bd926be0cd2e63b.jpg","text":"TemporaryFile(/tmp/multipartBody2700686618278080580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754544148009,"filename":"image_07082025_04_01_15_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/7/e2089455cbdf5b3d62b6aad0fd55fe2f.jpg","text":"TemporaryFile(/tmp/multipartBody4346229647949929713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754544148009,"filename":"image_07082025_04_01_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/7/95521f28377fc554510af9ef37aa20c8.jpg","text":"TemporaryFile(/tmp/multipartBody646072712679066607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754544148009,"filename":"image_07082025_04_01_35_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/7/adbb54cf95aeef37c21008ed00a00bfd.jpg","text":"TemporaryFile(/tmp/multipartBody752159326135398945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754544148009,"filename":"image_07082025_04_01_45_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/7/0743c8871dc4cb0570b4eaac8eb6debb.jpg","text":"TemporaryFile(/tmp/multipartBody7938466804047311950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754544148009,"filename":"image_07082025_04_00_54_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/7/f91dbd635923ab2b93aa69bd817ef30e.jpg","text":"TemporaryFile(/tmp/multipartBody3032057220188640269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754544148009,"filename":"image_07082025_04_01_04_10057.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375577814","file1":"1375577808","file0":"1375577798","file4":"1375577831","file5":"1375577837","file3":"1375577817"},"map_files_photo_id_array":[{"photo_id":"1375577837","filename":"file5"},{"photo_id":"1375577814","filename":"file2"},{"photo_id":"1375577831","filename":"file4"},{"photo_id":"1375577808","filename":"file1"},{"photo_id":"1375577798","filename":"file0"},{"photo_id":"1375577817","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375577817":["hashtag1","hashtag2"]},{"1375577814":["hashtag1","hashtag2"]},{"1375577808":["hashtag1","hashtag2"]},{"1375577798":["hashtag1","hashtag2"]},{"1375577837":["hashtag1","hashtag2"]},{"1375577831":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375577817, 1375577814, 1375577808, 1375577798, 1375577837, 1375577831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.46443128585815 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:23:02.775111
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/59/image_07082025_03_59_45_10050.jpg', 2), ('/mnt/data/07082025/03/59/image_07082025_03_59_24_10069.jpg', 2), ('/mnt/data/07082025/03/59/image_07082025_03_59_14_10060.jpg', 2), ('/mnt/data/07082025/03/58/image_07082025_03_59_04_10117.jpg', 2), ('/mnt/data/07082025/03/58/image_07082025_03_58_54_9996.jpg', 2), ('/mnt/data/07082025/03/58/image_07082025_03_58_44_10009.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/59/image_07082025_03_59_45_10050.jpg', '/mnt/data/07082025/03/59/image_07082025_03_59_24_10069.jpg', '/mnt/data/07082025/03/59/image_07082025_03_59_14_10060.jpg', '/mnt/data/07082025/03/58/image_07082025_03_59_04_10117.jpg', '/mnt/data/07082025/03/58/image_07082025_03_58_54_9996.jpg', '/mnt/data/07082025/03/58/image_07082025_03_58_44_10009.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/59/image_07082025_03_59_45_10050.jpg', '/mnt/data/07082025/03/59/image_07082025_03_59_24_10069.jpg', '/mnt/data/07082025/03/59/image_07082025_03_59_14_10060.jpg', '/mnt/data/07082025/03/58/image_07082025_03_59_04_10117.jpg', '/mnt/data/07082025/03/58/image_07082025_03_58_54_9996.jpg', '/mnt/data/07082025/03/58/image_07082025_03_58_44_10009.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/59/image_07082025_03_59_45_10050.jpg
/mnt/data/07082025/03/59/image_07082025_03_59_24_10069.jpg
/mnt/data/07082025/03/59/image_07082025_03_59_14_10060.jpg
/mnt/data/07082025/03/58/image_07082025_03_59_04_10117.jpg
/mnt/data/07082025/03/58/image_07082025_03_58_54_9996.jpg
/mnt/data/07082025/03/58/image_07082025_03_58_44_10009.jpg
uploaded 0 photos
time to upload: 2.979097366333008 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-07 07:24:02.195471
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/59/image_07082025_03_59_45_10050.jpg', 2), ('/mnt/data/07082025/03/59/image_07082025_03_59_24_10069.jpg', 2), ('/mnt/data/07082025/03/59/image_07082025_03_59_14_10060.jpg', 2), ('/mnt/data/07082025/03/58/image_07082025_03_59_04_10117.jpg', 2), ('/mnt/data/07082025/03/58/image_07082025_03_58_54_9996.jpg', 2), ('/mnt/data/07082025/03/58/image_07082025_03_58_44_10009.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/59/image_07082025_03_59_45_10050.jpg', '/mnt/data/07082025/03/59/image_07082025_03_59_24_10069.jpg', '/mnt/data/07082025/03/59/image_07082025_03_59_14_10060.jpg', '/mnt/data/07082025/03/58/image_07082025_03_59_04_10117.jpg', '/mnt/data/07082025/03/58/image_07082025_03_58_54_9996.jpg', '/mnt/data/07082025/03/58/image_07082025_03_58_44_10009.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/59/image_07082025_03_59_45_10050.jpg', '/mnt/data/07082025/03/59/image_07082025_03_59_24_10069.jpg', '/mnt/data/07082025/03/59/image_07082025_03_59_14_10060.jpg', '/mnt/data/07082025/03/58/image_07082025_03_59_04_10117.jpg', '/mnt/data/07082025/03/58/image_07082025_03_58_54_9996.jpg', '/mnt/data/07082025/03/58/image_07082025_03_58_44_10009.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/59/image_07082025_03_59_45_10050.jpg
/mnt/data/07082025/03/59/image_07082025_03_59_24_10069.jpg
/mnt/data/07082025/03/59/image_07082025_03_59_14_10060.jpg
/mnt/data/07082025/03/58/image_07082025_03_59_04_10117.jpg
/mnt/data/07082025/03/58/image_07082025_03_58_54_9996.jpg
/mnt/data/07082025/03/58/image_07082025_03_58_44_10009.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":["1375578098","1375578107","1375578101","1375578104","1375578106","1375578093"],"photo_ids_order":["1375578093","1375578098","1375578101","1375578104","1375578106","1375578107"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/678aeacffe32488c94ef7c0f1600732b.jpg","text":"TemporaryFile(/tmp/multipartBody7473154519285193566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754544323122,"filename":"image_07082025_03_59_24_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/7/6031fcec15ff626e409ad1bfa73b4db4.jpg","text":"TemporaryFile(/tmp/multipartBody3658734546253083811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754544323122,"filename":"image_07082025_03_58_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/7/d96f2499d88aecc969174ccce28e31e0.jpg","text":"TemporaryFile(/tmp/multipartBody5942405242788510481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754544323122,"filename":"image_07082025_03_59_14_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/7/86601b797900141c7f321b8a9dd4b146.jpg","text":"TemporaryFile(/tmp/multipartBody6165458434364076166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754544323122,"filename":"image_07082025_03_59_04_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/7/77055ceaf4f048edac083e213922fc37.jpg","text":"TemporaryFile(/tmp/multipartBody1429885415476960812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754544323122,"filename":"image_07082025_03_58_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/7/64aa1e10336ba2c6817110263b9ef000.jpg","text":"TemporaryFile(/tmp/multipartBody113759231431122038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754544323122,"filename":"image_07082025_03_59_45_10050.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375578101","file1":"1375578098","file0":"1375578093","file4":"1375578106","file5":"1375578107","file3":"1375578104"},"map_files_photo_id_array":[{"photo_id":"1375578107","filename":"file5"},{"photo_id":"1375578101","filename":"file2"},{"photo_id":"1375578106","filename":"file4"},{"photo_id":"1375578098","filename":"file1"},{"photo_id":"1375578093","filename":"file0"},{"photo_id":"1375578104","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375578098":["hashtag1","hashtag2"]},{"1375578107":["hashtag1","hashtag2"]},{"1375578101":["hashtag1","hashtag2"]},{"1375578104":["hashtag1","hashtag2"]},{"1375578106":["hashtag1","hashtag2"]},{"1375578093":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375578098, 1375578107, 1375578101, 1375578104, 1375578106, 1375578093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.47346830368042 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:26:02.959605
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/58/image_07082025_03_58_34_10053.jpg', 2), ('/mnt/data/07082025/03/58/image_07082025_03_58_24_10289.jpg', 2), ('/mnt/data/07082025/03/58/image_07082025_03_58_14_9158.jpg', 2), ('/mnt/data/07082025/03/57/image_07082025_03_58_05_10464.jpg', 2), ('/mnt/data/07082025/03/57/image_07082025_03_57_54_10283.jpg', 2), ('/mnt/data/07082025/03/57/image_07082025_03_57_44_9060.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/58/image_07082025_03_58_34_10053.jpg', '/mnt/data/07082025/03/58/image_07082025_03_58_24_10289.jpg', '/mnt/data/07082025/03/58/image_07082025_03_58_14_9158.jpg', '/mnt/data/07082025/03/57/image_07082025_03_58_05_10464.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_54_10283.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_44_9060.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/58/image_07082025_03_58_34_10053.jpg', '/mnt/data/07082025/03/58/image_07082025_03_58_24_10289.jpg', '/mnt/data/07082025/03/58/image_07082025_03_58_14_9158.jpg', '/mnt/data/07082025/03/57/image_07082025_03_58_05_10464.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_54_10283.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_44_9060.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/58/image_07082025_03_58_34_10053.jpg
/mnt/data/07082025/03/58/image_07082025_03_58_24_10289.jpg
/mnt/data/07082025/03/58/image_07082025_03_58_14_9158.jpg
/mnt/data/07082025/03/57/image_07082025_03_58_05_10464.jpg
/mnt/data/07082025/03/57/image_07082025_03_57_54_10283.jpg
/mnt/data/07082025/03/57/image_07082025_03_57_44_9060.jpg
 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-07 07:28:03.092793
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/58/image_07082025_03_58_34_10053.jpg', 2), ('/mnt/data/07082025/03/58/image_07082025_03_58_24_10289.jpg', 2), ('/mnt/data/07082025/03/58/image_07082025_03_58_14_9158.jpg', 2), ('/mnt/data/07082025/03/57/image_07082025_03_58_05_10464.jpg', 2), ('/mnt/data/07082025/03/57/image_07082025_03_57_54_10283.jpg', 2), ('/mnt/data/07082025/03/57/image_07082025_03_57_44_9060.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/58/image_07082025_03_58_34_10053.jpg', '/mnt/data/07082025/03/58/image_07082025_03_58_24_10289.jpg', '/mnt/data/07082025/03/58/image_07082025_03_58_14_9158.jpg', '/mnt/data/07082025/03/57/image_07082025_03_58_05_10464.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_54_10283.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_44_9060.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/58/image_07082025_03_58_34_10053.jpg', '/mnt/data/07082025/03/58/image_07082025_03_58_24_10289.jpg', '/mnt/data/07082025/03/58/image_07082025_03_58_14_9158.jpg', '/mnt/data/07082025/03/57/image_07082025_03_58_05_10464.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_54_10283.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_44_9060.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/58/image_07082025_03_58_34_10053.jpg
/mnt/data/07082025/03/58/image_07082025_03_58_24_10289.jpg
/mnt/data/07082025/03/58/image_07082025_03_58_14_9158.jpg
/mnt/data/07082025/03/57/image_07082025_03_58_05_10464.jpg
/mnt/data/07082025/03/57/image_07082025_03_57_54_10283.jpg
/mnt/data/07082025/03/57/image_07082025_03_57_44_9060.jpg
uploaded 0 photos
time to upload: 30.195794343948364 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:29:03.049683
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/58/image_07082025_03_58_34_10053.jpg', 2), ('/mnt/data/07082025/03/58/image_07082025_03_58_24_10289.jpg', 2), ('/mnt/data/07082025/03/58/image_07082025_03_58_14_9158.jpg', 2), ('/mnt/data/07082025/03/57/image_07082025_03_58_05_10464.jpg', 2), ('/mnt/data/07082025/03/57/image_07082025_03_57_54_10283.jpg', 2), ('/mnt/data/07082025/03/57/image_07082025_03_57_44_9060.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/58/image_07082025_03_58_34_10053.jpg', '/mnt/data/07082025/03/58/image_07082025_03_58_24_10289.jpg', '/mnt/data/07082025/03/58/image_07082025_03_58_14_9158.jpg', '/mnt/data/07082025/03/57/image_07082025_03_58_05_10464.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_54_10283.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_44_9060.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/58/image_07082025_03_58_34_10053.jpg', '/mnt/data/07082025/03/58/image_07082025_03_58_24_10289.jpg', '/mnt/data/07082025/03/58/image_07082025_03_58_14_9158.jpg', '/mnt/data/07082025/03/57/image_07082025_03_58_05_10464.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_54_10283.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_44_9060.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/58/image_07082025_03_58_34_10053.jpg
/mnt/data/07082025/03/58/image_07082025_03_58_24_10289.jpg
/mnt/data/07082025/03/58/image_07082025_03_58_14_9158.jpg
/mnt/data/07082025/03/57/image_07082025_03_58_05_10464.jpg
/mnt/data/07082025/03/57/image_07082025_03_57_54_10283.jpg
/mnt/data/07082025/03/57/image_07082025_03_57_44_9060.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":["1375579109","1375579099","1375579102","1375579105","1375579110","1375579107"],"photo_ids_order":["1375579099","1375579102","1375579105","1375579107","1375579109","1375579110"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/a5f7c29f1f83b43d0d7e78536f73bbd9.jpg","text":"TemporaryFile(/tmp/multipartBody8964766922298127840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754544631044,"filename":"image_07082025_03_57_54_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/7/2c60a76ce30ef8b4e6f07630d9c1afa4.jpg","text":"TemporaryFile(/tmp/multipartBody8518098656492568719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754544631044,"filename":"image_07082025_03_58_34_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/7/db553dbc7e0ec6317a956d1cc61e4dae.jpg","text":"TemporaryFile(/tmp/multipartBody3514636262024276547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754544631044,"filename":"image_07082025_03_58_24_10289.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/ee66e32b076e44065fe0646947e37dcc.jpg","text":"TemporaryFile(/tmp/multipartBody7504766391080099381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754544631044,"filename":"image_07082025_03_58_14_9158.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/51a9e9a0cfa5fd3ea8f3979c51f9b373.jpg","text":"TemporaryFile(/tmp/multipartBody2826093926558295319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754544631044,"filename":"image_07082025_03_57_44_9060.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/a9099bd34f71df694892064a17e91288.jpg","text":"TemporaryFile(/tmp/multipartBody629783000326433666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754544631044,"filename":"image_07082025_03_58_05_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375579105","file1":"1375579102","file0":"1375579099","file4":"1375579109","file5":"1375579110","file3":"1375579107"},"map_files_photo_id_array":[{"photo_id":"1375579110","filename":"file5"},{"photo_id":"1375579105","filename":"file2"},{"photo_id":"1375579109","filename":"file4"},{"photo_id":"1375579102","filename":"file1"},{"photo_id":"1375579099","filename":"file0"},{"photo_id":"1375579107","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375579109":["hashtag1","hashtag2"]},{"1375579099":["hashtag1","hashtag2"]},{"1375579102":["hashtag1","hashtag2"]},{"1375579105":["hashtag1","hashtag2"]},{"1375579110":["hashtag1","hashtag2"]},{"1375579107":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375579109, 1375579099, 1375579102, 1375579105, 1375579110, 1375579107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.24665331840515 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:31:03.452268
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/57/image_07082025_03_57_35_10090.jpg', 2), ('/mnt/data/07082025/03/57/image_07082025_03_57_25_10054.jpg', 2), ('/mnt/data/07082025/03/57/image_07082025_03_57_15_9988.jpg', 2), ('/mnt/data/07082025/03/56/image_07082025_03_57_05_10083.jpg', 2), ('/mnt/data/07082025/03/56/image_07082025_03_56_45_9994.jpg', 2), ('/mnt/data/07082025/03/51/image_07082025_03_51_35_10012.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/57/image_07082025_03_57_35_10090.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_25_10054.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_15_9988.jpg', '/mnt/data/07082025/03/56/image_07082025_03_57_05_10083.jpg', '/mnt/data/07082025/03/56/image_07082025_03_56_45_9994.jpg', '/mnt/data/07082025/03/51/image_07082025_03_51_35_10012.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/57/image_07082025_03_57_35_10090.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_25_10054.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_15_9988.jpg', '/mnt/data/07082025/03/56/image_07082025_03_57_05_10083.jpg', '/mnt/data/07082025/03/56/image_07082025_03_56_45_9994.jpg', '/mnt/data/07082025/03/51/image_07082025_03_51_35_10012.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/57/image_07082025_03_57_35_10090.jpg
/mnt/data/07082025/03/57/image_07082025_03_57_25_10054.jpg
/mnt/data/07082025/03/57/image_07082025_03_57_15_9988.jpg
/mnt/data/07082025/03/56/image_07082025_03_57_05_10083.jpg
/mnt/data/07082025/03/56/image_07082025_03_56_45_9994.jpg
/mnt/data/07082025/03/51/image_07082025_03_51_35_10012.jpg
uploaded 0 photos
time to upload: 30.227967023849487 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:32:03.166568
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/57/image_07082025_03_57_35_10090.jpg', 2), ('/mnt/data/07082025/03/57/image_07082025_03_57_25_10054.jpg', 2), ('/mnt/data/07082025/03/57/image_07082025_03_57_15_9988.jpg', 2), ('/mnt/data/07082025/03/56/image_07082025_03_57_05_10083.jpg', 2), ('/mnt/data/07082025/03/56/image_07082025_03_56_45_9994.jpg', 2), ('/mnt/data/07082025/03/51/image_07082025_03_51_35_10012.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/57/image_07082025_03_57_35_10090.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_25_10054.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_15_9988.jpg', '/mnt/data/07082025/03/56/image_07082025_03_57_05_10083.jpg', '/mnt/data/07082025/03/56/image_07082025_03_56_45_9994.jpg', '/mnt/data/07082025/03/51/image_07082025_03_51_35_10012.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/57/image_07082025_03_57_35_10090.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_25_10054.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_15_9988.jpg', '/mnt/data/07082025/03/56/image_07082025_03_57_05_10083.jpg', '/mnt/data/07082025/03/56/image_07082025_03_56_45_9994.jpg', '/mnt/data/07082025/03/51/image_07082025_03_51_35_10012.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/57/image_07082025_03_57_35_10090.jpg
/mnt/data/07082025/03/57/image_07082025_03_57_25_10054.jpg
/mnt/data/07082025/03/57/image_07082025_03_57_15_9988.jpg
/mnt/data/07082025/03/56/image_07082025_03_57_05_10083.jpg
/mnt/data/07082025/03/56/image_07082025_03_56_45_9994.jpg
/mnt/data/07082025/03/51/image_07082025_03_51_35_10012.jpg
uploaded 0 photos
time to upload: 30.224706172943115 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:33:03.165724
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/57/image_07082025_03_57_35_10090.jpg', 2), ('/mnt/data/07082025/03/57/image_07082025_03_57_25_10054.jpg', 2), ('/mnt/data/07082025/03/57/image_07082025_03_57_15_9988.jpg', 2), ('/mnt/data/07082025/03/56/image_07082025_03_57_05_10083.jpg', 2), ('/mnt/data/07082025/03/56/image_07082025_03_56_45_9994.jpg', 2), ('/mnt/data/07082025/03/51/image_07082025_03_51_35_10012.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/57/image_07082025_03_57_35_10090.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_25_10054.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_15_9988.jpg', '/mnt/data/07082025/03/56/image_07082025_03_57_05_10083.jpg', '/mnt/data/07082025/03/56/image_07082025_03_56_45_9994.jpg', '/mnt/data/07082025/03/51/image_07082025_03_51_35_10012.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/57/image_07082025_03_57_35_10090.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_25_10054.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_15_9988.jpg', '/mnt/data/07082025/03/56/image_07082025_03_57_05_10083.jpg', '/mnt/data/07082025/03/56/image_07082025_03_56_45_9994.jpg', '/mnt/data/07082025/03/51/image_07082025_03_51_35_10012.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/57/image_07082025_03_57_35_10090.jpg
/mnt/data/07082025/03/57/image_07082025_03_57_25_10054.jpg
/mnt/data/07082025/03/57/image_07082025_03_57_15_9988.jpg
/mnt/data/07082025/03/56/image_07082025_03_57_05_10083.jpg
/mnt/data/07082025/03/56/image_07082025_03_56_45_9994.jpg
/mnt/data/07082025/03/51/image_07082025_03_51_35_10012.jpg
uploaded 0 photos
time to upload: 2.835407018661499 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-07 07:34:02.970118
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/57/image_07082025_03_57_35_10090.jpg', 2), ('/mnt/data/07082025/03/57/image_07082025_03_57_25_10054.jpg', 2), ('/mnt/data/07082025/03/57/image_07082025_03_57_15_9988.jpg', 2), ('/mnt/data/07082025/03/56/image_07082025_03_57_05_10083.jpg', 2), ('/mnt/data/07082025/03/56/image_07082025_03_56_45_9994.jpg', 2), ('/mnt/data/07082025/03/51/image_07082025_03_51_35_10012.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/57/image_07082025_03_57_35_10090.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_25_10054.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_15_9988.jpg', '/mnt/data/07082025/03/56/image_07082025_03_57_05_10083.jpg', '/mnt/data/07082025/03/56/image_07082025_03_56_45_9994.jpg', '/mnt/data/07082025/03/51/image_07082025_03_51_35_10012.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/57/image_07082025_03_57_35_10090.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_25_10054.jpg', '/mnt/data/07082025/03/57/image_07082025_03_57_15_9988.jpg', '/mnt/data/07082025/03/56/image_07082025_03_57_05_10083.jpg', '/mnt/data/07082025/03/56/image_07082025_03_56_45_9994.jpg', '/mnt/data/07082025/03/51/image_07082025_03_51_35_10012.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/57/image_07082025_03_57_35_10090.jpg
/mnt/data/07082025/03/57/image_07082025_03_57_25_10054.jpg
/mnt/data/07082025/03/57/image_07082025_03_57_15_9988.jpg
/mnt/data/07082025/03/56/image_07082025_03_57_05_10083.jpg
/mnt/data/07082025/03/56/image_07082025_03_56_45_9994.jpg
/mnt/data/07082025/03/51/image_07082025_03_51_35_10012.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":["1375579441","1375579450","1375579447","1375579435","1375579452","1375579451"],"photo_ids_order":["1375579435","1375579441","1375579447","1375579450","1375579451","1375579452"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/46a8fcc3c1545130c6140854969380ea.jpg","text":"TemporaryFile(/tmp/multipartBody1273723419699426698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754544930323,"filename":"image_07082025_03_57_25_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/7/af3fcfe5c0afed2a59e1f157341cc1bd.jpg","text":"TemporaryFile(/tmp/multipartBody3330537663517505452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754544930323,"filename":"image_07082025_03_57_05_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/7/a9e7ba44beb1af9ef469a6284e9846d7.jpg","text":"TemporaryFile(/tmp/multipartBody2242216370574480886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754544930323,"filename":"image_07082025_03_57_15_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/7/5e7bca48ca62f2ae7da0824b8a0d8928.jpg","text":"TemporaryFile(/tmp/multipartBody107204989662927859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754544930323,"filename":"image_07082025_03_57_35_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/7/d6b73d1ae098a1f12e22e9fb9f8aa145.jpg","text":"TemporaryFile(/tmp/multipartBody1019563543337895848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754544930323,"filename":"image_07082025_03_51_35_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/7/47817f9af8dac800dd0bed5cabb3b548.jpg","text":"TemporaryFile(/tmp/multipartBody299933062414047182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754544930323,"filename":"image_07082025_03_56_45_9994.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375579447","file1":"1375579441","file0":"1375579435","file4":"1375579451","file5":"1375579452","file3":"1375579450"},"map_files_photo_id_array":[{"photo_id":"1375579452","filename":"file5"},{"photo_id":"1375579447","filename":"file2"},{"photo_id":"1375579451","filename":"file4"},{"photo_id":"1375579441","filename":"file1"},{"photo_id":"1375579435","filename":"file0"},{"photo_id":"1375579450","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375579441":["hashtag1","hashtag2"]},{"1375579450":["hashtag1","hashtag2"]},{"1375579447":["hashtag1","hashtag2"]},{"1375579435":["hashtag1","hashtag2"]},{"1375579452":["hashtag1","hashtag2"]},{"1375579451":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375579441, 1375579450, 1375579447, 1375579435, 1375579452, 1375579451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.96426510810852 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:36:03.181319
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/51/image_07082025_03_51_25_10519.jpg', 2), ('/mnt/data/07082025/03/51/image_07082025_03_51_14_10022.jpg', 2), ('/mnt/data/07082025/03/50/image_07082025_03_51_04_10104.jpg', 2), ('/mnt/data/07082025/03/50/image_07082025_03_50_54_10036.jpg', 2), ('/mnt/data/07082025/03/45/image_07082025_03_45_34_10169.jpg', 2), ('/mnt/data/07082025/03/45/image_07082025_03_45_24_10140.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/51/image_07082025_03_51_25_10519.jpg', '/mnt/data/07082025/03/51/image_07082025_03_51_14_10022.jpg', '/mnt/data/07082025/03/50/image_07082025_03_51_04_10104.jpg', '/mnt/data/07082025/03/50/image_07082025_03_50_54_10036.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_34_10169.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_24_10140.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/51/image_07082025_03_51_25_10519.jpg', '/mnt/data/07082025/03/51/image_07082025_03_51_14_10022.jpg', '/mnt/data/07082025/03/50/image_07082025_03_51_04_10104.jpg', '/mnt/data/07082025/03/50/image_07082025_03_50_54_10036.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_34_10169.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_24_10140.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/51/image_07082025_03_51_25_10519.jpg
/mnt/data/07082025/03/51/image_07082025_03_51_14_10022.jpg
/mnt/data/07082025/03/50/image_07082025_03_51_04_10104.jpg
/mnt/data/07082025/03/50/image_07082025_03_50_54_10036.jpg
/mnt/data/07082025/03/45/image_07082025_03_45_34_10169.jpg
/mnt/data/07082025/03/45/image_07082025_03_45_24_10140.jpg
uploaded 0 photos
time to upload: 1.5804393291473389 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-07 07:37:03.252768
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/51/image_07082025_03_51_25_10519.jpg', 2), ('/mnt/data/07082025/03/51/image_07082025_03_51_14_10022.jpg', 2), ('/mnt/data/07082025/03/50/image_07082025_03_51_04_10104.jpg', 2), ('/mnt/data/07082025/03/50/image_07082025_03_50_54_10036.jpg', 2), ('/mnt/data/07082025/03/45/image_07082025_03_45_34_10169.jpg', 2), ('/mnt/data/07082025/03/45/image_07082025_03_45_24_10140.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/51/image_07082025_03_51_25_10519.jpg', '/mnt/data/07082025/03/51/image_07082025_03_51_14_10022.jpg', '/mnt/data/07082025/03/50/image_07082025_03_51_04_10104.jpg', '/mnt/data/07082025/03/50/image_07082025_03_50_54_10036.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_34_10169.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_24_10140.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/51/image_07082025_03_51_25_10519.jpg', '/mnt/data/07082025/03/51/image_07082025_03_51_14_10022.jpg', '/mnt/data/07082025/03/50/image_07082025_03_51_04_10104.jpg', '/mnt/data/07082025/03/50/image_07082025_03_50_54_10036.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_34_10169.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_24_10140.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/51/image_07082025_03_51_25_10519.jpg
/mnt/data/07082025/03/51/image_07082025_03_51_14_10022.jpg
/mnt/data/07082025/03/50/image_07082025_03_51_04_10104.jpg
/mnt/data/07082025/03/50/image_07082025_03_50_54_10036.jpg
/mnt/data/07082025/03/45/image_07082025_03_45_34_10169.jpg
/mnt/data/07082025/03/45/image_07082025_03_45_24_10140.jpg
uploaded 0 photos
time to upload: 30.211188793182373 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:38:03.029501
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/51/image_07082025_03_51_25_10519.jpg', 2), ('/mnt/data/07082025/03/51/image_07082025_03_51_14_10022.jpg', 2), ('/mnt/data/07082025/03/50/image_07082025_03_51_04_10104.jpg', 2), ('/mnt/data/07082025/03/50/image_07082025_03_50_54_10036.jpg', 2), ('/mnt/data/07082025/03/45/image_07082025_03_45_34_10169.jpg', 2), ('/mnt/data/07082025/03/45/image_07082025_03_45_24_10140.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/51/image_07082025_03_51_25_10519.jpg', '/mnt/data/07082025/03/51/image_07082025_03_51_14_10022.jpg', '/mnt/data/07082025/03/50/image_07082025_03_51_04_10104.jpg', '/mnt/data/07082025/03/50/image_07082025_03_50_54_10036.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_34_10169.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_24_10140.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/51/image_07082025_03_51_25_10519.jpg', '/mnt/data/07082025/03/51/image_07082025_03_51_14_10022.jpg', '/mnt/data/07082025/03/50/image_07082025_03_51_04_10104.jpg', '/mnt/data/07082025/03/50/image_07082025_03_50_54_10036.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_34_10169.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_24_10140.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/51/image_07082025_03_51_25_10519.jpg
/mnt/data/07082025/03/51/image_07082025_03_51_14_10022.jpg
/mnt/data/07082025/03/50/image_07082025_03_51_04_10104.jpg
/mnt/data/07082025/03/50/image_07082025_03_50_54_10036.jpg
/mnt/data/07082025/03/45/image_07082025_03_45_34_10169.jpg
/mnt/data/07082025/03/45/image_07082025_03_45_24_10140.jpg
uploaded 0 photos
time to upload: 30.2256441116333 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:39:03.236726
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/51/image_07082025_03_51_25_10519.jpg', 2), ('/mnt/data/07082025/03/51/image_07082025_03_51_14_10022.jpg', 2), ('/mnt/data/07082025/03/50/image_07082025_03_51_04_10104.jpg', 2), ('/mnt/data/07082025/03/50/image_07082025_03_50_54_10036.jpg', 2), ('/mnt/data/07082025/03/45/image_07082025_03_45_34_10169.jpg', 2), ('/mnt/data/07082025/03/45/image_07082025_03_45_24_10140.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/51/image_07082025_03_51_25_10519.jpg', '/mnt/data/07082025/03/51/image_07082025_03_51_14_10022.jpg', '/mnt/data/07082025/03/50/image_07082025_03_51_04_10104.jpg', '/mnt/data/07082025/03/50/image_07082025_03_50_54_10036.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_34_10169.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_24_10140.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/51/image_07082025_03_51_25_10519.jpg', '/mnt/data/07082025/03/51/image_07082025_03_51_14_10022.jpg', '/mnt/data/07082025/03/50/image_07082025_03_51_04_10104.jpg', '/mnt/data/07082025/03/50/image_07082025_03_50_54_10036.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_34_10169.jpg', '/mnt/data/07082025/03/45/image_07082025_03_45_24_10140.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/51/image_07082025_03_51_25_10519.jpg
/mnt/data/07082025/03/51/image_07082025_03_51_14_10022.jpg
/mnt/data/07082025/03/50/image_07082025_03_51_04_10104.jpg
/mnt/data/07082025/03/50/image_07082025_03_50_54_10036.jpg
/mnt/data/07082025/03/45/image_07082025_03_45_34_10169.jpg
/mnt/data/07082025/03/45/image_07082025_03_45_24_10140.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":["1375579919","1375579915","1375579896","1375579908","1375579917","1375579892"],"photo_ids_order":["1375579892","1375579896","1375579908","1375579915","1375579917","1375579919"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d771f7e277a1752440ba39f1cf2313a2.jpg","text":"TemporaryFile(/tmp/multipartBody5486917844398763730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545232606,"filename":"image_07082025_03_45_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/7/480d9cdfb333071eb8afa032f88dccee.jpg","text":"TemporaryFile(/tmp/multipartBody4691145170689050477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545232606,"filename":"image_07082025_03_50_54_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/7/671e0a1f59af21c00d88697ddba5135b.jpg","text":"TemporaryFile(/tmp/multipartBody4394241353926966396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545232606,"filename":"image_07082025_03_51_14_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/7/c42a9cf3baace76225c4cf25d4548f6b.jpg","text":"TemporaryFile(/tmp/multipartBody7873931614276250205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545232606,"filename":"image_07082025_03_51_04_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/7/4a17a0d0a5a68b64aa4d99add4351260.jpg","text":"TemporaryFile(/tmp/multipartBody4528166848867525080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545232606,"filename":"image_07082025_03_45_34_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/7/d7352448208ebf897fbcad29d971b9c6.jpg","text":"TemporaryFile(/tmp/multipartBody1505766773209578428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545232606,"filename":"image_07082025_03_51_25_10519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375579908","file1":"1375579896","file0":"1375579892","file4":"1375579917","file5":"1375579919","file3":"1375579915"},"map_files_photo_id_array":[{"photo_id":"1375579919","filename":"file5"},{"photo_id":"1375579908","filename":"file2"},{"photo_id":"1375579917","filename":"file4"},{"photo_id":"1375579896","filename":"file1"},{"photo_id":"1375579892","filename":"file0"},{"photo_id":"1375579915","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375579919":["hashtag1","hashtag2"]},{"1375579915":["hashtag1","hashtag2"]},{"1375579896":["hashtag1","hashtag2"]},{"1375579908":["hashtag1","hashtag2"]},{"1375579917":["hashtag1","hashtag2"]},{"1375579892":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375579919, 1375579915, 1375579896, 1375579908, 1375579917, 1375579892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.81220054626465 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:41:02.633862
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/45/image_07082025_03_45_14_10093.jpg', 2), ('/mnt/data/07082025/03/44/image_07082025_03_45_04_8977.jpg', 2), ('/mnt/data/07082025/03/44/image_07082025_03_44_55_10158.jpg', 2), ('/mnt/data/07082025/03/44/image_07082025_03_44_45_10138.jpg', 2), ('/mnt/data/07082025/03/44/image_07082025_03_44_34_10145.jpg', 2), ('/mnt/data/07082025/03/44/image_07082025_03_44_24_10157.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/45/image_07082025_03_45_14_10093.jpg', '/mnt/data/07082025/03/44/image_07082025_03_45_04_8977.jpg', '/mnt/data/07082025/03/44/image_07082025_03_44_55_10158.jpg', '/mnt/data/07082025/03/44/image_07082025_03_44_45_10138.jpg', '/mnt/data/07082025/03/44/image_07082025_03_44_34_10145.jpg', '/mnt/data/07082025/03/44/image_07082025_03_44_24_10157.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/45/image_07082025_03_45_14_10093.jpg', '/mnt/data/07082025/03/44/image_07082025_03_45_04_8977.jpg', '/mnt/data/07082025/03/44/image_07082025_03_44_55_10158.jpg', '/mnt/data/07082025/03/44/image_07082025_03_44_45_10138.jpg', '/mnt/data/07082025/03/44/image_07082025_03_44_34_10145.jpg', '/mnt/data/07082025/03/44/image_07082025_03_44_24_10157.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/45/image_07082025_03_45_14_10093.jpg
/mnt/data/07082025/03/44/image_07082025_03_45_04_8977.jpg
/mnt/data/07082025/03/44/image_07082025_03_44_55_10158.jpg
/mnt/data/07082025/03/44/image_07082025_03_44_45_10138.jpg
/mnt/data/07082025/03/44/image_07082025_03_44_34_10145.jpg
/mnt/data/07082025/03/44/image_07082025_03_44_24_10157.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375580150","1375580147","1375580135","1375580129","1375580144","1375580139"],"photo_ids_order":["1375580129","1375580135","1375580139","1375580144","1375580147","1375580150"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/a1e5931a5910a35e01e9eada25b29187.jpg","text":"TemporaryFile(/tmp/multipartBody1710656504524018085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545338888,"filename":"image_07082025_03_44_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/7/b47fbe083f43329d19996938ab002a79.jpg","text":"TemporaryFile(/tmp/multipartBody7595851778475632620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545338888,"filename":"image_07082025_03_44_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/7/aa158b1b580e4fac0c1ca56fc28df57d.jpg","text":"TemporaryFile(/tmp/multipartBody5550626759438361958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545338888,"filename":"image_07082025_03_45_04_8977.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/3d7faaf8885aad3cbbbda85f771e5993.jpg","text":"TemporaryFile(/tmp/multipartBody7965273655214177647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545338888,"filename":"image_07082025_03_45_14_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/7/5398f7a77e4571f14c5689f763d78d6a.jpg","text":"TemporaryFile(/tmp/multipartBody8303529647318847494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545338888,"filename":"image_07082025_03_44_45_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/7/ba68d5075f8d38f9e32a9aad47fa2732.jpg","text":"TemporaryFile(/tmp/multipartBody4572676702852318344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545338888,"filename":"image_07082025_03_44_55_10158.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375580139","file1":"1375580135","file0":"1375580129","file4":"1375580147","file5":"1375580150","file3":"1375580144"},"map_files_photo_id_array":[{"photo_id":"1375580150","filename":"file5"},{"photo_id":"1375580139","filename":"file2"},{"photo_id":"1375580147","filename":"file4"},{"photo_id":"1375580135","filename":"file1"},{"photo_id":"1375580129","filename":"file0"},{"photo_id":"1375580144","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375580150":["hashtag1","hashtag2"]},{"1375580147":["hashtag1","hashtag2"]},{"1375580135":["hashtag1","hashtag2"]},{"1375580129":["hashtag1","hashtag2"]},{"1375580144":["hashtag1","hashtag2"]},{"1375580139":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375580150, 1375580147, 1375580135, 1375580129, 1375580144, 1375580139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.776615142822266 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:42:03.124365
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/44/image_07082025_03_44_14_10143.jpg', 2), ('/mnt/data/07082025/03/43/image_07082025_03_44_04_9106.jpg', 2), ('/mnt/data/07082025/03/43/image_07082025_03_43_55_9990.jpg', 2), ('/mnt/data/07082025/03/43/image_07082025_03_43_45_11159.jpg', 2), ('/mnt/data/07082025/03/43/image_07082025_03_43_34_9931.jpg', 2), ('/mnt/data/07082025/03/43/image_07082025_03_43_24_10001.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/44/image_07082025_03_44_14_10143.jpg', '/mnt/data/07082025/03/43/image_07082025_03_44_04_9106.jpg', '/mnt/data/07082025/03/43/image_07082025_03_43_55_9990.jpg', '/mnt/data/07082025/03/43/image_07082025_03_43_45_11159.jpg', '/mnt/data/07082025/03/43/image_07082025_03_43_34_9931.jpg', '/mnt/data/07082025/03/43/image_07082025_03_43_24_10001.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/44/image_07082025_03_44_14_10143.jpg', '/mnt/data/07082025/03/43/image_07082025_03_44_04_9106.jpg', '/mnt/data/07082025/03/43/image_07082025_03_43_55_9990.jpg', '/mnt/data/07082025/03/43/image_07082025_03_43_45_11159.jpg', '/mnt/data/07082025/03/43/image_07082025_03_43_34_9931.jpg', '/mnt/data/07082025/03/43/image_07082025_03_43_24_10001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/44/image_07082025_03_44_14_10143.jpg
/mnt/data/07082025/03/43/image_07082025_03_44_04_9106.jpg
/mnt/data/07082025/03/43/image_07082025_03_43_55_9990.jpg
/mnt/data/07082025/03/43/image_07082025_03_43_45_11159.jpg
/mnt/data/07082025/03/43/image_07082025_03_43_34_9931.jpg
/mnt/data/07082025/03/43/image_07082025_03_43_24_10001.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":["1375580468","1375580478","1375580526","1375580460","1375580517","1375580418"],"photo_ids_order":["1375580418","1375580460","1375580468","1375580478","1375580517","1375580526"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/2da079af92dc0b7e578539a05f6ef80e.jpg","text":"TemporaryFile(/tmp/multipartBody1162320577505810021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545404920,"filename":"image_07082025_03_43_55_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/7/0a6c94addb44fff60e04abc983b711da.jpg","text":"TemporaryFile(/tmp/multipartBody4326591435891682478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545404920,"filename":"image_07082025_03_43_45_11159.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/fd7b01e1f373ef46b0d55712d3ab88f6.jpg","text":"TemporaryFile(/tmp/multipartBody3459656448457283792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545404920,"filename":"image_07082025_03_43_24_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/7/f4e30a6498cd36945d6de5ce3299e3da.jpg","text":"TemporaryFile(/tmp/multipartBody4534829113294034551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545404920,"filename":"image_07082025_03_44_04_9106.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/673cff6c525fc3f1eb628d2840a4deb2.jpg","text":"TemporaryFile(/tmp/multipartBody4278056995959128324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545404920,"filename":"image_07082025_03_43_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/7/020b4fd05268d92c51ff1d29e97f1ee8.jpg","text":"TemporaryFile(/tmp/multipartBody3842026405438137220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545404920,"filename":"image_07082025_03_44_14_10143.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375580468","file1":"1375580460","file0":"1375580418","file4":"1375580517","file5":"1375580526","file3":"1375580478"},"map_files_photo_id_array":[{"photo_id":"1375580526","filename":"file5"},{"photo_id":"1375580468","filename":"file2"},{"photo_id":"1375580517","filename":"file4"},{"photo_id":"1375580460","filename":"file1"},{"photo_id":"1375580418","filename":"file0"},{"photo_id":"1375580478","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375580468":["hashtag1","hashtag2"]},{"1375580478":["hashtag1","hashtag2"]},{"1375580526":["hashtag1","hashtag2"]},{"1375580460":["hashtag1","hashtag2"]},{"1375580517":["hashtag1","hashtag2"]},{"1375580418":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375580468, 1375580478, 1375580526, 1375580460, 1375580517, 1375580418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.39171481132507 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:44:03.496113
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/43/image_07082025_03_43_14_9920.jpg', 2), ('/mnt/data/07082025/03/42/image_07082025_03_43_04_10007.jpg', 2), ('/mnt/data/07082025/03/42/image_07082025_03_42_54_9983.jpg', 2), ('/mnt/data/07082025/03/42/image_07082025_03_42_44_9949.jpg', 2), ('/mnt/data/07082025/03/42/image_07082025_03_42_34_9962.jpg', 2), ('/mnt/data/07082025/03/42/image_07082025_03_42_24_9983.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/43/image_07082025_03_43_14_9920.jpg', '/mnt/data/07082025/03/42/image_07082025_03_43_04_10007.jpg', '/mnt/data/07082025/03/42/image_07082025_03_42_54_9983.jpg', '/mnt/data/07082025/03/42/image_07082025_03_42_44_9949.jpg', '/mnt/data/07082025/03/42/image_07082025_03_42_34_9962.jpg', '/mnt/data/07082025/03/42/image_07082025_03_42_24_9983.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/43/image_07082025_03_43_14_9920.jpg', '/mnt/data/07082025/03/42/image_07082025_03_43_04_10007.jpg', '/mnt/data/07082025/03/42/image_07082025_03_42_54_9983.jpg', '/mnt/data/07082025/03/42/image_07082025_03_42_44_9949.jpg', '/mnt/data/07082025/03/42/image_07082025_03_42_34_9962.jpg', '/mnt/data/07082025/03/42/image_07082025_03_42_24_9983.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/43/image_07082025_03_43_14_9920.jpg
/mnt/data/07082025/03/42/image_07082025_03_43_04_10007.jpg
/mnt/data/07082025/03/42/image_07082025_03_42_54_9983.jpg
/mnt/data/07082025/03/42/image_07082025_03_42_44_9949.jpg
/mnt/data/07082025/03/42/image_07082025_03_42_34_9962.jpg
/mnt/data/07082025/03/42/image_07082025_03_42_24_9983.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375580921","1375580906","1375580869","1375580812","1375580916","1375580925"],"photo_ids_order":["1375580812","1375580869","1375580906","1375580916","1375580921","1375580925"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/859ec8413af77df8f787b570aa4b5219.jpg","text":"TemporaryFile(/tmp/multipartBody2046425149666133221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545521597,"filename":"image_07082025_03_42_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/7/17be2df3868af1791391064c532c1928.jpg","text":"TemporaryFile(/tmp/multipartBody1889801224842865146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545521597,"filename":"image_07082025_03_42_54_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/7/2a91e396ca9f1fa765c6be0db4432cf6.jpg","text":"TemporaryFile(/tmp/multipartBody483650265352334695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545521597,"filename":"image_07082025_03_43_04_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/7/8aea744163e64b45d46c27b5e9c44f04.jpg","text":"TemporaryFile(/tmp/multipartBody2350908178523212486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545521597,"filename":"image_07082025_03_43_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/7/2370dee191a24863fee1af48f628ddd6.jpg","text":"TemporaryFile(/tmp/multipartBody8980222543440086852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545521597,"filename":"image_07082025_03_42_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/7/173b5ff5cc3fe1f9b7e55d8d9cdb54f9.jpg","text":"TemporaryFile(/tmp/multipartBody1430137938793032886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545521597,"filename":"image_07082025_03_42_24_9983.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375580906","file1":"1375580869","file0":"1375580812","file4":"1375580921","file5":"1375580925","file3":"1375580916"},"map_files_photo_id_array":[{"photo_id":"1375580925","filename":"file5"},{"photo_id":"1375580906","filename":"file2"},{"photo_id":"1375580921","filename":"file4"},{"photo_id":"1375580869","filename":"file1"},{"photo_id":"1375580812","filename":"file0"},{"photo_id":"1375580916","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375580921":["hashtag1","hashtag2"]},{"1375580906":["hashtag1","hashtag2"]},{"1375580869":["hashtag1","hashtag2"]},{"1375580812":["hashtag1","hashtag2"]},{"1375580916":["hashtag1","hashtag2"]},{"1375580925":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375580921, 1375580906, 1375580869, 1375580812, 1375580916, 1375580925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.11712384223938 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:45:03.447547
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/42/image_07082025_03_42_14_9962.jpg', 2), ('/mnt/data/07082025/03/41/image_07082025_03_42_04_10080.jpg', 2), ('/mnt/data/07082025/03/41/image_07082025_03_41_54_9986.jpg', 2), ('/mnt/data/07082025/03/40/image_07082025_03_40_44_10241.jpg', 2), ('/mnt/data/07082025/03/40/image_07082025_03_40_25_10177.jpg', 2), ('/mnt/data/07082025/03/40/image_07082025_03_40_15_9981.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/42/image_07082025_03_42_14_9962.jpg', '/mnt/data/07082025/03/41/image_07082025_03_42_04_10080.jpg', '/mnt/data/07082025/03/41/image_07082025_03_41_54_9986.jpg', '/mnt/data/07082025/03/40/image_07082025_03_40_44_10241.jpg', '/mnt/data/07082025/03/40/image_07082025_03_40_25_10177.jpg', '/mnt/data/07082025/03/40/image_07082025_03_40_15_9981.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/42/image_07082025_03_42_14_9962.jpg', '/mnt/data/07082025/03/41/image_07082025_03_42_04_10080.jpg', '/mnt/data/07082025/03/41/image_07082025_03_41_54_9986.jpg', '/mnt/data/07082025/03/40/image_07082025_03_40_44_10241.jpg', '/mnt/data/07082025/03/40/image_07082025_03_40_25_10177.jpg', '/mnt/data/07082025/03/40/image_07082025_03_40_15_9981.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/42/image_07082025_03_42_14_9962.jpg
/mnt/data/07082025/03/41/image_07082025_03_42_04_10080.jpg
/mnt/data/07082025/03/41/image_07082025_03_41_54_9986.jpg
/mnt/data/07082025/03/40/image_07082025_03_40_44_10241.jpg
/mnt/data/07082025/03/40/image_07082025_03_40_25_10177.jpg
/mnt/data/07082025/03/40/image_07082025_03_40_15_9981.jpg
uploaded 0 photos
time to upload: 30.2324161529541 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:46:03.019073
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/42/image_07082025_03_42_14_9962.jpg', 2), ('/mnt/data/07082025/03/41/image_07082025_03_42_04_10080.jpg', 2), ('/mnt/data/07082025/03/41/image_07082025_03_41_54_9986.jpg', 2), ('/mnt/data/07082025/03/40/image_07082025_03_40_44_10241.jpg', 2), ('/mnt/data/07082025/03/40/image_07082025_03_40_25_10177.jpg', 2), ('/mnt/data/07082025/03/40/image_07082025_03_40_15_9981.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/42/image_07082025_03_42_14_9962.jpg', '/mnt/data/07082025/03/41/image_07082025_03_42_04_10080.jpg', '/mnt/data/07082025/03/41/image_07082025_03_41_54_9986.jpg', '/mnt/data/07082025/03/40/image_07082025_03_40_44_10241.jpg', '/mnt/data/07082025/03/40/image_07082025_03_40_25_10177.jpg', '/mnt/data/07082025/03/40/image_07082025_03_40_15_9981.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/42/image_07082025_03_42_14_9962.jpg', '/mnt/data/07082025/03/41/image_07082025_03_42_04_10080.jpg', '/mnt/data/07082025/03/41/image_07082025_03_41_54_9986.jpg', '/mnt/data/07082025/03/40/image_07082025_03_40_44_10241.jpg', '/mnt/data/07082025/03/40/image_07082025_03_40_25_10177.jpg', '/mnt/data/07082025/03/40/image_07082025_03_40_15_9981.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/42/image_07082025_03_42_14_9962.jpg
/mnt/data/07082025/03/41/image_07082025_03_42_04_10080.jpg
/mnt/data/07082025/03/41/image_07082025_03_41_54_9986.jpg
/mnt/data/07082025/03/40/image_07082025_03_40_44_10241.jpg
/mnt/data/07082025/03/40/image_07082025_03_40_25_10177.jpg
/mnt/data/07082025/03/40/image_07082025_03_40_15_9981.jpg
uploaded 0 photos
time to upload: 30.217239379882812 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:47:03.057081
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/42/image_07082025_03_42_14_9962.jpg', 2), ('/mnt/data/07082025/03/41/image_07082025_03_42_04_10080.jpg', 2), ('/mnt/data/07082025/03/41/image_07082025_03_41_54_9986.jpg', 2), ('/mnt/data/07082025/03/40/image_07082025_03_40_44_10241.jpg', 2), ('/mnt/data/07082025/03/40/image_07082025_03_40_25_10177.jpg', 2), ('/mnt/data/07082025/03/40/image_07082025_03_40_15_9981.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/42/image_07082025_03_42_14_9962.jpg', '/mnt/data/07082025/03/41/image_07082025_03_42_04_10080.jpg', '/mnt/data/07082025/03/41/image_07082025_03_41_54_9986.jpg', '/mnt/data/07082025/03/40/image_07082025_03_40_44_10241.jpg', '/mnt/data/07082025/03/40/image_07082025_03_40_25_10177.jpg', '/mnt/data/07082025/03/40/image_07082025_03_40_15_9981.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/42/image_07082025_03_42_14_9962.jpg', '/mnt/data/07082025/03/41/image_07082025_03_42_04_10080.jpg', '/mnt/data/07082025/03/41/image_07082025_03_41_54_9986.jpg', '/mnt/data/07082025/03/40/image_07082025_03_40_44_10241.jpg', '/mnt/data/07082025/03/40/image_07082025_03_40_25_10177.jpg', '/mnt/data/07082025/03/40/image_07082025_03_40_15_9981.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/42/image_07082025_03_42_14_9962.jpg
/mnt/data/07082025/03/41/image_07082025_03_42_04_10080.jpg
/mnt/data/07082025/03/41/image_07082025_03_41_54_9986.jpg
/mnt/data/07082025/03/40/image_07082025_03_40_44_10241.jpg
/mnt/data/07082025/03/40/image_07082025_03_40_25_10177.jpg
/mnt/data/07082025/03/40/image_07082025_03_40_15_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":["1375581074","1375581068","1375581073","1375581067","1375581072","1375581063"],"photo_ids_order":["1375581063","1375581067","1375581068","1375581072","1375581073","1375581074"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/804fa658b2499879fbe8c0aacd00937d.jpg","text":"TemporaryFile(/tmp/multipartBody5006451567724614969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545714104,"filename":"image_07082025_03_40_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/7/aac2c75719ffcf87b36e04dc079246ad.jpg","text":"TemporaryFile(/tmp/multipartBody3402668380869442641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545714104,"filename":"image_07082025_03_41_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/7/a43259f3c5b7d736fba0119832a1169e.jpg","text":"TemporaryFile(/tmp/multipartBody6559026852405286456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545714104,"filename":"image_07082025_03_40_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/7/fe793e451497981054a05bdb0ea18449.jpg","text":"TemporaryFile(/tmp/multipartBody6270133085546618992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545714104,"filename":"image_07082025_03_42_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/7/702f346144cf83a034b9c87c77fb57de.jpg","text":"TemporaryFile(/tmp/multipartBody2798358360364832264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545714104,"filename":"image_07082025_03_40_44_10241.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/235f1d617b70a70c4bf0bdf860a33ea3.jpg","text":"TemporaryFile(/tmp/multipartBody8112700791100255533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545714104,"filename":"image_07082025_03_42_14_9962.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375581068","file1":"1375581067","file0":"1375581063","file4":"1375581073","file5":"1375581074","file3":"1375581072"},"map_files_photo_id_array":[{"photo_id":"1375581074","filename":"file5"},{"photo_id":"1375581068","filename":"file2"},{"photo_id":"1375581073","filename":"file4"},{"photo_id":"1375581067","filename":"file1"},{"photo_id":"1375581063","filename":"file0"},{"photo_id":"1375581072","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375581074":["hashtag1","hashtag2"]},{"1375581068":["hashtag1","hashtag2"]},{"1375581073":["hashtag1","hashtag2"]},{"1375581067":["hashtag1","hashtag2"]},{"1375581072":["hashtag1","hashtag2"]},{"1375581063":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375581074, 1375581068, 1375581073, 1375581067, 1375581072, 1375581063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.71643567085266 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:49:02.726415
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/39/image_07082025_03_40_04_10387.jpg', 2), ('/mnt/data/07082025/03/39/image_07082025_03_39_54_10155.jpg', 2), ('/mnt/data/07082025/03/38/image_07082025_03_38_35_10149.jpg', 2), ('/mnt/data/07082025/03/38/image_07082025_03_38_25_10162.jpg', 2), ('/mnt/data/07082025/03/38/image_07082025_03_38_15_10111.jpg', 2), ('/mnt/data/07082025/03/37/image_07082025_03_38_05_10217.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/39/image_07082025_03_40_04_10387.jpg', '/mnt/data/07082025/03/39/image_07082025_03_39_54_10155.jpg', '/mnt/data/07082025/03/38/image_07082025_03_38_35_10149.jpg', '/mnt/data/07082025/03/38/image_07082025_03_38_25_10162.jpg', '/mnt/data/07082025/03/38/image_07082025_03_38_15_10111.jpg', '/mnt/data/07082025/03/37/image_07082025_03_38_05_10217.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/39/image_07082025_03_40_04_10387.jpg', '/mnt/data/07082025/03/39/image_07082025_03_39_54_10155.jpg', '/mnt/data/07082025/03/38/image_07082025_03_38_35_10149.jpg', '/mnt/data/07082025/03/38/image_07082025_03_38_25_10162.jpg', '/mnt/data/07082025/03/38/image_07082025_03_38_15_10111.jpg', '/mnt/data/07082025/03/37/image_07082025_03_38_05_10217.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/39/image_07082025_03_40_04_10387.jpg
/mnt/data/07082025/03/39/image_07082025_03_39_54_10155.jpg
/mnt/data/07082025/03/38/image_07082025_03_38_35_10149.jpg
/mnt/data/07082025/03/38/image_07082025_03_38_25_10162.jpg
/mnt/data/07082025/03/38/image_07082025_03_38_15_10111.jpg
/mnt/data/07082025/03/37/image_07082025_03_38_05_10217.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375581131","1375581125","1375581128","1375581107","1375581145","1375581112"],"photo_ids_order":["1375581107","1375581112","1375581125","1375581128","1375581131","1375581145"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/f72ac06eb82f504544eb34984447d0e5.jpg","text":"TemporaryFile(/tmp/multipartBody1482831585465232412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545821921,"filename":"image_07082025_03_38_15_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/7/89d883a1eec16080a17a0dc19ce2371f.jpg","text":"TemporaryFile(/tmp/multipartBody4639583277220907594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545821921,"filename":"image_07082025_03_38_35_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/7/b9f47f90a50fbf3ac97231036b6345c9.jpg","text":"TemporaryFile(/tmp/multipartBody4873586289842751387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545821921,"filename":"image_07082025_03_38_25_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/7/ecb67597103e4790dfcab6c068139568.jpg","text":"TemporaryFile(/tmp/multipartBody6142131451599818490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545821921,"filename":"image_07082025_03_40_04_10387.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/a67c28ee2cd92ff02797470ab8a50018.jpg","text":"TemporaryFile(/tmp/multipartBody4517119823151207521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545821921,"filename":"image_07082025_03_38_05_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/7/56f037b3fcfee8d4d1f6e45f4ed0c418.jpg","text":"TemporaryFile(/tmp/multipartBody254260799263347596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754545821921,"filename":"image_07082025_03_39_54_10155.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375581125","file1":"1375581112","file0":"1375581107","file4":"1375581131","file5":"1375581145","file3":"1375581128"},"map_files_photo_id_array":[{"photo_id":"1375581145","filename":"file5"},{"photo_id":"1375581125","filename":"file2"},{"photo_id":"1375581131","filename":"file4"},{"photo_id":"1375581112","filename":"file1"},{"photo_id":"1375581107","filename":"file0"},{"photo_id":"1375581128","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375581131":["hashtag1","hashtag2"]},{"1375581125":["hashtag1","hashtag2"]},{"1375581128":["hashtag1","hashtag2"]},{"1375581107":["hashtag1","hashtag2"]},{"1375581145":["hashtag1","hashtag2"]},{"1375581112":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375581131, 1375581125, 1375581128, 1375581107, 1375581145, 1375581112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.19572424888611 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:50:02.644446
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/37/image_07082025_03_37_54_10232.jpg', 2), ('/mnt/data/07082025/03/37/image_07082025_03_37_44_9954.jpg', 2), ('/mnt/data/07082025/03/37/image_07082025_03_37_34_10155.jpg', 2), ('/mnt/data/07082025/03/37/image_07082025_03_37_24_10151.jpg', 2), ('/mnt/data/07082025/03/37/image_07082025_03_37_14_8917.jpg', 2), ('/mnt/data/07082025/03/36/image_07082025_03_37_05_10172.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/37/image_07082025_03_37_54_10232.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_44_9954.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_34_10155.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_24_10151.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_14_8917.jpg', '/mnt/data/07082025/03/36/image_07082025_03_37_05_10172.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/37/image_07082025_03_37_54_10232.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_44_9954.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_34_10155.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_24_10151.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_14_8917.jpg', '/mnt/data/07082025/03/36/image_07082025_03_37_05_10172.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/37/image_07082025_03_37_54_10232.jpg
/mnt/data/07082025/03/37/image_07082025_03_37_44_9954.jpg
/mnt/data/07082025/03/37/image_07082025_03_37_34_10155.jpg
/mnt/data/07082025/03/37/image_07082025_03_37_24_10151.jpg
/mnt/data/07082025/03/37/image_07082025_03_37_14_8917.jpg
/mnt/data/07082025/03/36/image_07082025_03_37_05_10172.jpg
uploaded 0 photos
time to upload: 30.22168517112732 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:51:02.605950
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/37/image_07082025_03_37_54_10232.jpg', 2), ('/mnt/data/07082025/03/37/image_07082025_03_37_44_9954.jpg', 2), ('/mnt/data/07082025/03/37/image_07082025_03_37_34_10155.jpg', 2), ('/mnt/data/07082025/03/37/image_07082025_03_37_24_10151.jpg', 2), ('/mnt/data/07082025/03/37/image_07082025_03_37_14_8917.jpg', 2), ('/mnt/data/07082025/03/36/image_07082025_03_37_05_10172.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/37/image_07082025_03_37_54_10232.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_44_9954.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_34_10155.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_24_10151.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_14_8917.jpg', '/mnt/data/07082025/03/36/image_07082025_03_37_05_10172.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/37/image_07082025_03_37_54_10232.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_44_9954.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_34_10155.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_24_10151.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_14_8917.jpg', '/mnt/data/07082025/03/36/image_07082025_03_37_05_10172.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/37/image_07082025_03_37_54_10232.jpg
/mnt/data/07082025/03/37/image_07082025_03_37_44_9954.jpg
/mnt/data/07082025/03/37/image_07082025_03_37_34_10155.jpg
/mnt/data/07082025/03/37/image_07082025_03_37_24_10151.jpg
/mnt/data/07082025/03/37/image_07082025_03_37_14_8917.jpg
/mnt/data/07082025/03/36/image_07082025_03_37_05_10172.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 31.65213894844055 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-07 07:52:03.056115
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/37/image_07082025_03_37_54_10232.jpg', 2), ('/mnt/data/07082025/03/37/image_07082025_03_37_44_9954.jpg', 2), ('/mnt/data/07082025/03/37/image_07082025_03_37_34_10155.jpg', 2), ('/mnt/data/07082025/03/37/image_07082025_03_37_24_10151.jpg', 2), ('/mnt/data/07082025/03/37/image_07082025_03_37_14_8917.jpg', 2), ('/mnt/data/07082025/03/36/image_07082025_03_37_05_10172.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/37/image_07082025_03_37_54_10232.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_44_9954.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_34_10155.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_24_10151.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_14_8917.jpg', '/mnt/data/07082025/03/36/image_07082025_03_37_05_10172.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/37/image_07082025_03_37_54_10232.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_44_9954.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_34_10155.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_24_10151.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_14_8917.jpg', '/mnt/data/07082025/03/36/image_07082025_03_37_05_10172.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/37/image_07082025_03_37_54_10232.jpg
/mnt/data/07082025/03/37/image_07082025_03_37_44_9954.jpg
/mnt/data/07082025/03/37/image_07082025_03_37_34_10155.jpg
/mnt/data/07082025/03/37/image_07082025_03_37_24_10151.jpg
/mnt/data/07082025/03/37/image_07082025_03_37_14_8917.jpg
/mnt/data/07082025/03/36/image_07082025_03_37_05_10172.jpg
uploaded 0 photos
time to upload: 30.215757608413696 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:53:03.106388
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/37/image_07082025_03_37_54_10232.jpg', 2), ('/mnt/data/07082025/03/37/image_07082025_03_37_44_9954.jpg', 2), ('/mnt/data/07082025/03/37/image_07082025_03_37_34_10155.jpg', 2), ('/mnt/data/07082025/03/37/image_07082025_03_37_24_10151.jpg', 2), ('/mnt/data/07082025/03/37/image_07082025_03_37_14_8917.jpg', 2), ('/mnt/data/07082025/03/36/image_07082025_03_37_05_10172.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/37/image_07082025_03_37_54_10232.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_44_9954.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_34_10155.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_24_10151.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_14_8917.jpg', '/mnt/data/07082025/03/36/image_07082025_03_37_05_10172.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/37/image_07082025_03_37_54_10232.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_44_9954.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_34_10155.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_24_10151.jpg', '/mnt/data/07082025/03/37/image_07082025_03_37_14_8917.jpg', '/mnt/data/07082025/03/36/image_07082025_03_37_05_10172.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/37/image_07082025_03_37_54_10232.jpg
/mnt/data/07082025/03/37/image_07082025_03_37_44_9954.jpg
/mnt/data/07082025/03/37/image_07082025_03_37_34_10155.jpg
/mnt/data/07082025/03/37/image_07082025_03_37_24_10151.jpg
/mnt/data/07082025/03/37/image_07082025_03_37_14_8917.jpg
/mnt/data/07082025/03/36/image_07082025_03_37_05_10172.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":["1375581688","1375581673","1375581676","1375581683","1375581686","1375581680"],"photo_ids_order":["1375581673","1375581676","1375581680","1375581683","1375581686","1375581688"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/37babfc9345c6d220d7f6ba7066a0cc7.jpg","text":"TemporaryFile(/tmp/multipartBody8433182580011910629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754546063623,"filename":"image_07082025_03_37_05_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/7/a8f01a8bfb831f1b3f8018767d528227.jpg","text":"TemporaryFile(/tmp/multipartBody1832720480376987138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754546063623,"filename":"image_07082025_03_37_54_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/7/8256e416eb0e8d4e7422707ead2bc703.jpg","text":"TemporaryFile(/tmp/multipartBody4954648912164165687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754546063623,"filename":"image_07082025_03_37_44_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/7/04a92aaa02e897abb8574121519f32d4.jpg","text":"TemporaryFile(/tmp/multipartBody5628205221769101199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754546063623,"filename":"image_07082025_03_37_24_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/7/6b2782eb740bf124696c979b52cbf4cd.jpg","text":"TemporaryFile(/tmp/multipartBody3998897426858295267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754546063623,"filename":"image_07082025_03_37_14_8917.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/b640d31a4f97db0bdfb3aa85931b42d2.jpg","text":"TemporaryFile(/tmp/multipartBody3222105268620064968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754546063623,"filename":"image_07082025_03_37_34_10155.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375581680","file1":"1375581676","file0":"1375581673","file4":"1375581686","file5":"1375581688","file3":"1375581683"},"map_files_photo_id_array":[{"photo_id":"1375581688","filename":"file5"},{"photo_id":"1375581680","filename":"file2"},{"photo_id":"1375581686","filename":"file4"},{"photo_id":"1375581676","filename":"file1"},{"photo_id":"1375581673","filename":"file0"},{"photo_id":"1375581683","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375581688":["hashtag1","hashtag2"]},{"1375581673":["hashtag1","hashtag2"]},{"1375581676":["hashtag1","hashtag2"]},{"1375581683":["hashtag1","hashtag2"]},{"1375581686":["hashtag1","hashtag2"]},{"1375581680":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375581688, 1375581673, 1375581676, 1375581683, 1375581686, 1375581680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.20628905296326 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:55:02.808910
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/36/image_07082025_03_36_55_10076.jpg', 2), ('/mnt/data/07082025/03/36/image_07082025_03_36_45_9969.jpg', 2), ('/mnt/data/07082025/03/36/image_07082025_03_36_35_9920.jpg', 2), ('/mnt/data/07082025/03/36/image_07082025_03_36_15_10015.jpg', 2), ('/mnt/data/07082025/03/35/image_07082025_03_36_05_9976.jpg', 2), ('/mnt/data/07082025/03/35/image_07082025_03_35_55_9936.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/36/image_07082025_03_36_55_10076.jpg', '/mnt/data/07082025/03/36/image_07082025_03_36_45_9969.jpg', '/mnt/data/07082025/03/36/image_07082025_03_36_35_9920.jpg', '/mnt/data/07082025/03/36/image_07082025_03_36_15_10015.jpg', '/mnt/data/07082025/03/35/image_07082025_03_36_05_9976.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_55_9936.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/36/image_07082025_03_36_55_10076.jpg', '/mnt/data/07082025/03/36/image_07082025_03_36_45_9969.jpg', '/mnt/data/07082025/03/36/image_07082025_03_36_35_9920.jpg', '/mnt/data/07082025/03/36/image_07082025_03_36_15_10015.jpg', '/mnt/data/07082025/03/35/image_07082025_03_36_05_9976.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_55_9936.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/36/image_07082025_03_36_55_10076.jpg
/mnt/data/07082025/03/36/image_07082025_03_36_45_9969.jpg
/mnt/data/07082025/03/36/image_07082025_03_36_35_9920.jpg
/mnt/data/07082025/03/36/image_07082025_03_36_15_10015.jpg
/mnt/data/07082025/03/35/image_07082025_03_36_05_9976.jpg
/mnt/data/07082025/03/35/image_07082025_03_35_55_9936.jpg
uploaded 0 photos
time to upload: 30.26266884803772 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 07:56:02.441420
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/36/image_07082025_03_36_55_10076.jpg', 2), ('/mnt/data/07082025/03/36/image_07082025_03_36_45_9969.jpg', 2), ('/mnt/data/07082025/03/36/image_07082025_03_36_35_9920.jpg', 2), ('/mnt/data/07082025/03/36/image_07082025_03_36_15_10015.jpg', 2), ('/mnt/data/07082025/03/35/image_07082025_03_36_05_9976.jpg', 2), ('/mnt/data/07082025/03/35/image_07082025_03_35_55_9936.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/36/image_07082025_03_36_55_10076.jpg', '/mnt/data/07082025/03/36/image_07082025_03_36_45_9969.jpg', '/mnt/data/07082025/03/36/image_07082025_03_36_35_9920.jpg', '/mnt/data/07082025/03/36/image_07082025_03_36_15_10015.jpg', '/mnt/data/07082025/03/35/image_07082025_03_36_05_9976.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_55_9936.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/36/image_07082025_03_36_55_10076.jpg', '/mnt/data/07082025/03/36/image_07082025_03_36_45_9969.jpg', '/mnt/data/07082025/03/36/image_07082025_03_36_35_9920.jpg', '/mnt/data/07082025/03/36/image_07082025_03_36_15_10015.jpg', '/mnt/data/07082025/03/35/image_07082025_03_36_05_9976.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_55_9936.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/36/image_07082025_03_36_55_10076.jpg
/mnt/data/07082025/03/36/image_07082025_03_36_45_9969.jpg
/mnt/data/07082025/03/36/image_07082025_03_36_35_9920.jpg
/mnt/data/07082025/03/36/image_07082025_03_36_15_10015.jpg
/mnt/data/07082025/03/35/image_07082025_03_36_05_9976.jpg
/mnt/data/07082025/03/35/image_07082025_03_35_55_9936.jpg
 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-07 07:59:02.871302
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/36/image_07082025_03_36_55_10076.jpg', 2), ('/mnt/data/07082025/03/36/image_07082025_03_36_45_9969.jpg', 2), ('/mnt/data/07082025/03/36/image_07082025_03_36_35_9920.jpg', 2), ('/mnt/data/07082025/03/36/image_07082025_03_36_15_10015.jpg', 2), ('/mnt/data/07082025/03/35/image_07082025_03_36_05_9976.jpg', 2), ('/mnt/data/07082025/03/35/image_07082025_03_35_55_9936.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/36/image_07082025_03_36_55_10076.jpg', '/mnt/data/07082025/03/36/image_07082025_03_36_45_9969.jpg', '/mnt/data/07082025/03/36/image_07082025_03_36_35_9920.jpg', '/mnt/data/07082025/03/36/image_07082025_03_36_15_10015.jpg', '/mnt/data/07082025/03/35/image_07082025_03_36_05_9976.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_55_9936.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/36/image_07082025_03_36_55_10076.jpg', '/mnt/data/07082025/03/36/image_07082025_03_36_45_9969.jpg', '/mnt/data/07082025/03/36/image_07082025_03_36_35_9920.jpg', '/mnt/data/07082025/03/36/image_07082025_03_36_15_10015.jpg', '/mnt/data/07082025/03/35/image_07082025_03_36_05_9976.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_55_9936.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/36/image_07082025_03_36_55_10076.jpg
/mnt/data/07082025/03/36/image_07082025_03_36_45_9969.jpg
/mnt/data/07082025/03/36/image_07082025_03_36_35_9920.jpg
/mnt/data/07082025/03/36/image_07082025_03_36_15_10015.jpg
/mnt/data/07082025/03/35/image_07082025_03_36_05_9976.jpg
/mnt/data/07082025/03/35/image_07082025_03_35_55_9936.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375582753","1375582969","1375582825","1375582890","1375582934","1375582684"],"photo_ids_order":["1375582684","1375582753","1375582825","1375582890","1375582934","1375582969"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/1c5ace7d8b3ebfa82e2bf375534db68e.jpg","text":"TemporaryFile(/tmp/multipartBody7356618294217269509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754546407192,"filename":"image_07082025_03_36_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/7/a9572cb3010ae945fa1c218d0ea3cefa.jpg","text":"TemporaryFile(/tmp/multipartBody5853774653433676352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754546407192,"filename":"image_07082025_03_35_55_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/7/c138d63c6234d836b4a9e1c3174f9ed3.jpg","text":"TemporaryFile(/tmp/multipartBody4535675966020581171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754546407192,"filename":"image_07082025_03_36_35_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/7/ee8c715def893d2c92039cfc025e99ee.jpg","text":"TemporaryFile(/tmp/multipartBody8668467445289013853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754546407192,"filename":"image_07082025_03_36_15_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/7/ee380d564cfe4eeef3fe191a5fe6c1a5.jpg","text":"TemporaryFile(/tmp/multipartBody2744041111019600564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754546407192,"filename":"image_07082025_03_36_05_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/7/5069ec64ed9013175117a5a2d35174a8.jpg","text":"TemporaryFile(/tmp/multipartBody5252387404951984261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754546407192,"filename":"image_07082025_03_36_55_10076.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375582825","file1":"1375582753","file0":"1375582684","file4":"1375582934","file5":"1375582969","file3":"1375582890"},"map_files_photo_id_array":[{"photo_id":"1375582969","filename":"file5"},{"photo_id":"1375582825","filename":"file2"},{"photo_id":"1375582934","filename":"file4"},{"photo_id":"1375582753","filename":"file1"},{"photo_id":"1375582684","filename":"file0"},{"photo_id":"1375582890","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375582753":["hashtag1","hashtag2"]},{"1375582969":["hashtag1","hashtag2"]},{"1375582825":["hashtag1","hashtag2"]},{"1375582890":["hashtag1","hashtag2"]},{"1375582934":["hashtag1","hashtag2"]},{"1375582684":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375582753, 1375582969, 1375582825, 1375582890, 1375582934, 1375582684)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 85.46135544776917 secondes ---
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1375582825 , to_upload = 10 WHERE filename="/mnt/data/07082025/03/36/image_07082025_03_36_35_9920.jpg";
try second time after 15 secs
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:01:03.051306
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/35/image_07082025_03_35_45_9994.jpg', 2), ('/mnt/data/07082025/03/35/image_07082025_03_35_35_9973.jpg', 2), ('/mnt/data/07082025/03/35/image_07082025_03_35_25_9947.jpg', 2), ('/mnt/data/07082025/03/35/image_07082025_03_35_15_9957.jpg', 2), ('/mnt/data/07082025/03/34/image_07082025_03_35_05_9957.jpg', 2), ('/mnt/data/07082025/03/34/image_07082025_03_34_55_11159.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/35/image_07082025_03_35_45_9994.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_35_9973.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_25_9947.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_15_9957.jpg', '/mnt/data/07082025/03/34/image_07082025_03_35_05_9957.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_55_11159.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/35/image_07082025_03_35_45_9994.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_35_9973.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_25_9947.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_15_9957.jpg', '/mnt/data/07082025/03/34/image_07082025_03_35_05_9957.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_55_11159.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/35/image_07082025_03_35_45_9994.jpg
/mnt/data/07082025/03/35/image_07082025_03_35_35_9973.jpg
/mnt/data/07082025/03/35/image_07082025_03_35_25_9947.jpg
/mnt/data/07082025/03/35/image_07082025_03_35_15_9957.jpg
/mnt/data/07082025/03/34/image_07082025_03_35_05_9957.jpg
/mnt/data/07082025/03/34/image_07082025_03_34_55_11159.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 141.45846343040466 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-07 08:04:02.539806
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/35/image_07082025_03_35_45_9994.jpg', 2), ('/mnt/data/07082025/03/35/image_07082025_03_35_35_9973.jpg', 2), ('/mnt/data/07082025/03/35/image_07082025_03_35_25_9947.jpg', 2), ('/mnt/data/07082025/03/35/image_07082025_03_35_15_9957.jpg', 2), ('/mnt/data/07082025/03/34/image_07082025_03_35_05_9957.jpg', 2), ('/mnt/data/07082025/03/34/image_07082025_03_34_55_11159.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/35/image_07082025_03_35_45_9994.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_35_9973.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_25_9947.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_15_9957.jpg', '/mnt/data/07082025/03/34/image_07082025_03_35_05_9957.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_55_11159.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/35/image_07082025_03_35_45_9994.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_35_9973.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_25_9947.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_15_9957.jpg', '/mnt/data/07082025/03/34/image_07082025_03_35_05_9957.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_55_11159.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/35/image_07082025_03_35_45_9994.jpg
/mnt/data/07082025/03/35/image_07082025_03_35_35_9973.jpg
/mnt/data/07082025/03/35/image_07082025_03_35_25_9947.jpg
/mnt/data/07082025/03/35/image_07082025_03_35_15_9957.jpg
/mnt/data/07082025/03/34/image_07082025_03_35_05_9957.jpg
/mnt/data/07082025/03/34/image_07082025_03_34_55_11159.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 138.34188103675842 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-07 08:07:02.462037
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/35/image_07082025_03_35_45_9994.jpg', 2), ('/mnt/data/07082025/03/35/image_07082025_03_35_35_9973.jpg', 2), ('/mnt/data/07082025/03/35/image_07082025_03_35_25_9947.jpg', 2), ('/mnt/data/07082025/03/35/image_07082025_03_35_15_9957.jpg', 2), ('/mnt/data/07082025/03/34/image_07082025_03_35_05_9957.jpg', 2), ('/mnt/data/07082025/03/34/image_07082025_03_34_55_11159.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/35/image_07082025_03_35_45_9994.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_35_9973.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_25_9947.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_15_9957.jpg', '/mnt/data/07082025/03/34/image_07082025_03_35_05_9957.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_55_11159.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/35/image_07082025_03_35_45_9994.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_35_9973.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_25_9947.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_15_9957.jpg', '/mnt/data/07082025/03/34/image_07082025_03_35_05_9957.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_55_11159.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/35/image_07082025_03_35_45_9994.jpg
/mnt/data/07082025/03/35/image_07082025_03_35_35_9973.jpg
/mnt/data/07082025/03/35/image_07082025_03_35_25_9947.jpg
/mnt/data/07082025/03/35/image_07082025_03_35_15_9957.jpg
/mnt/data/07082025/03/34/image_07082025_03_35_05_9957.jpg
/mnt/data/07082025/03/34/image_07082025_03_34_55_11159.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 128.5499551296234 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-07 08:10:02.365369
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/35/image_07082025_03_35_45_9994.jpg', 2), ('/mnt/data/07082025/03/35/image_07082025_03_35_35_9973.jpg', 2), ('/mnt/data/07082025/03/35/image_07082025_03_35_25_9947.jpg', 2), ('/mnt/data/07082025/03/35/image_07082025_03_35_15_9957.jpg', 2), ('/mnt/data/07082025/03/34/image_07082025_03_35_05_9957.jpg', 2), ('/mnt/data/07082025/03/34/image_07082025_03_34_55_11159.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/35/image_07082025_03_35_45_9994.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_35_9973.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_25_9947.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_15_9957.jpg', '/mnt/data/07082025/03/34/image_07082025_03_35_05_9957.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_55_11159.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/35/image_07082025_03_35_45_9994.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_35_9973.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_25_9947.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_15_9957.jpg', '/mnt/data/07082025/03/34/image_07082025_03_35_05_9957.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_55_11159.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/35/image_07082025_03_35_45_9994.jpg
/mnt/data/07082025/03/35/image_07082025_03_35_35_9973.jpg
/mnt/data/07082025/03/35/image_07082025_03_35_25_9947.jpg
/mnt/data/07082025/03/35/image_07082025_03_35_15_9957.jpg
/mnt/data/07082025/03/34/image_07082025_03_35_05_9957.jpg
/mnt/data/07082025/03/34/image_07082025_03_34_55_11159.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 16.098255157470703 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-07 08:11:03.294573
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/35/image_07082025_03_35_45_9994.jpg', 2), ('/mnt/data/07082025/03/35/image_07082025_03_35_35_9973.jpg', 2), ('/mnt/data/07082025/03/35/image_07082025_03_35_25_9947.jpg', 2), ('/mnt/data/07082025/03/35/image_07082025_03_35_15_9957.jpg', 2), ('/mnt/data/07082025/03/34/image_07082025_03_35_05_9957.jpg', 2), ('/mnt/data/07082025/03/34/image_07082025_03_34_55_11159.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/35/image_07082025_03_35_45_9994.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_35_9973.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_25_9947.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_15_9957.jpg', '/mnt/data/07082025/03/34/image_07082025_03_35_05_9957.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_55_11159.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/35/image_07082025_03_35_45_9994.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_35_9973.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_25_9947.jpg', '/mnt/data/07082025/03/35/image_07082025_03_35_15_9957.jpg', '/mnt/data/07082025/03/34/image_07082025_03_35_05_9957.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_55_11159.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/35/image_07082025_03_35_45_9994.jpg
/mnt/data/07082025/03/35/image_07082025_03_35_35_9973.jpg
/mnt/data/07082025/03/35/image_07082025_03_35_25_9947.jpg
/mnt/data/07082025/03/35/image_07082025_03_35_15_9957.jpg
/mnt/data/07082025/03/34/image_07082025_03_35_05_9957.jpg
/mnt/data/07082025/03/34/image_07082025_03_34_55_11159.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375585190","1375585178","1375585223","1375585180","1375585174","1375585255"],"photo_ids_order":["1375585174","1375585178","1375585180","1375585190","1375585223","1375585255"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/369c85f4140674914fce3b105166be2b.jpg","text":"TemporaryFile(/tmp/multipartBody7431053197908284554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547126565,"filename":"image_07082025_03_35_15_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/7/dfee29f0a206792e35f2c3ed168d3176.jpg","text":"TemporaryFile(/tmp/multipartBody1854810855118435357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547126565,"filename":"image_07082025_03_35_35_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/7/e888c29eb00a84d3ba5fa6806fc93cfc.jpg","text":"TemporaryFile(/tmp/multipartBody6779733407820015107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547126565,"filename":"image_07082025_03_35_05_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/7/1a32483656229f58686ed70e9d606e5a.jpg","text":"TemporaryFile(/tmp/multipartBody1703810859325362642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547126565,"filename":"image_07082025_03_35_25_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/7/aa42ccdbe9a70f2ea33a60fa78d33953.jpg","text":"TemporaryFile(/tmp/multipartBody5303828470737014318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547126565,"filename":"image_07082025_03_35_45_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/7/dcf54761332cbdcaa8c956b3650bc465.jpg","text":"TemporaryFile(/tmp/multipartBody3286681525879487432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547126565,"filename":"image_07082025_03_34_55_11159.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375585180","file1":"1375585178","file0":"1375585174","file4":"1375585223","file5":"1375585255","file3":"1375585190"},"map_files_photo_id_array":[{"photo_id":"1375585255","filename":"file5"},{"photo_id":"1375585180","filename":"file2"},{"photo_id":"1375585223","filename":"file4"},{"photo_id":"1375585178","filename":"file1"},{"photo_id":"1375585174","filename":"file0"},{"photo_id":"1375585190","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375585190":["hashtag1","hashtag2"]},{"1375585178":["hashtag1","hashtag2"]},{"1375585223":["hashtag1","hashtag2"]},{"1375585180":["hashtag1","hashtag2"]},{"1375585174":["hashtag1","hashtag2"]},{"1375585255":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375585190, 1375585178, 1375585223, 1375585180, 1375585174, 1375585255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.35539960861206 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:12:02.930395
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/34/image_07082025_03_34_44_8863.jpg', 2), ('/mnt/data/07082025/03/34/image_07082025_03_34_35_10231.jpg', 2), ('/mnt/data/07082025/03/34/image_07082025_03_34_25_10056.jpg', 2), ('/mnt/data/07082025/03/34/image_07082025_03_34_15_10321.jpg', 2), ('/mnt/data/07082025/03/33/image_07082025_03_34_04_10384.jpg', 2), ('/mnt/data/07082025/03/33/image_07082025_03_33_54_9064.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/34/image_07082025_03_34_44_8863.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_35_10231.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_25_10056.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_15_10321.jpg', '/mnt/data/07082025/03/33/image_07082025_03_34_04_10384.jpg', '/mnt/data/07082025/03/33/image_07082025_03_33_54_9064.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/34/image_07082025_03_34_44_8863.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_35_10231.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_25_10056.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_15_10321.jpg', '/mnt/data/07082025/03/33/image_07082025_03_34_04_10384.jpg', '/mnt/data/07082025/03/33/image_07082025_03_33_54_9064.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/34/image_07082025_03_34_44_8863.jpg
/mnt/data/07082025/03/34/image_07082025_03_34_35_10231.jpg
/mnt/data/07082025/03/34/image_07082025_03_34_25_10056.jpg
/mnt/data/07082025/03/34/image_07082025_03_34_15_10321.jpg
/mnt/data/07082025/03/33/image_07082025_03_34_04_10384.jpg
/mnt/data/07082025/03/33/image_07082025_03_33_54_9064.jpg
uploaded 0 photos
time to upload: 30.221895933151245 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:13:02.779113
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/34/image_07082025_03_34_44_8863.jpg', 2), ('/mnt/data/07082025/03/34/image_07082025_03_34_35_10231.jpg', 2), ('/mnt/data/07082025/03/34/image_07082025_03_34_25_10056.jpg', 2), ('/mnt/data/07082025/03/34/image_07082025_03_34_15_10321.jpg', 2), ('/mnt/data/07082025/03/33/image_07082025_03_34_04_10384.jpg', 2), ('/mnt/data/07082025/03/33/image_07082025_03_33_54_9064.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/34/image_07082025_03_34_44_8863.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_35_10231.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_25_10056.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_15_10321.jpg', '/mnt/data/07082025/03/33/image_07082025_03_34_04_10384.jpg', '/mnt/data/07082025/03/33/image_07082025_03_33_54_9064.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/34/image_07082025_03_34_44_8863.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_35_10231.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_25_10056.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_15_10321.jpg', '/mnt/data/07082025/03/33/image_07082025_03_34_04_10384.jpg', '/mnt/data/07082025/03/33/image_07082025_03_33_54_9064.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/34/image_07082025_03_34_44_8863.jpg
/mnt/data/07082025/03/34/image_07082025_03_34_35_10231.jpg
/mnt/data/07082025/03/34/image_07082025_03_34_25_10056.jpg
/mnt/data/07082025/03/34/image_07082025_03_34_15_10321.jpg
/mnt/data/07082025/03/33/image_07082025_03_34_04_10384.jpg
/mnt/data/07082025/03/33/image_07082025_03_33_54_9064.jpg
uploaded 0 photos
time to upload: 30.22099995613098 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:14:02.608183
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/34/image_07082025_03_34_44_8863.jpg', 2), ('/mnt/data/07082025/03/34/image_07082025_03_34_35_10231.jpg', 2), ('/mnt/data/07082025/03/34/image_07082025_03_34_25_10056.jpg', 2), ('/mnt/data/07082025/03/34/image_07082025_03_34_15_10321.jpg', 2), ('/mnt/data/07082025/03/33/image_07082025_03_34_04_10384.jpg', 2), ('/mnt/data/07082025/03/33/image_07082025_03_33_54_9064.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/34/image_07082025_03_34_44_8863.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_35_10231.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_25_10056.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_15_10321.jpg', '/mnt/data/07082025/03/33/image_07082025_03_34_04_10384.jpg', '/mnt/data/07082025/03/33/image_07082025_03_33_54_9064.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/34/image_07082025_03_34_44_8863.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_35_10231.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_25_10056.jpg', '/mnt/data/07082025/03/34/image_07082025_03_34_15_10321.jpg', '/mnt/data/07082025/03/33/image_07082025_03_34_04_10384.jpg', '/mnt/data/07082025/03/33/image_07082025_03_33_54_9064.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/34/image_07082025_03_34_44_8863.jpg
/mnt/data/07082025/03/34/image_07082025_03_34_35_10231.jpg
/mnt/data/07082025/03/34/image_07082025_03_34_25_10056.jpg
/mnt/data/07082025/03/34/image_07082025_03_34_15_10321.jpg
/mnt/data/07082025/03/33/image_07082025_03_34_04_10384.jpg
/mnt/data/07082025/03/33/image_07082025_03_33_54_9064.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375586687","1375586776","1375586719","1375586740","1375586748","1375586670"],"photo_ids_order":["1375586670","1375586687","1375586719","1375586740","1375586748","1375586776"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/2a4c279ab8affd85e3f82ad98f30cd28.jpg","text":"TemporaryFile(/tmp/multipartBody4384366013172710568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547318195,"filename":"image_07082025_03_34_35_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/7/5633932cbfbce189a03f2397b0cdbf7d.jpg","text":"TemporaryFile(/tmp/multipartBody5174064297979232121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547318195,"filename":"image_07082025_03_33_54_9064.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/294c2d5547451ba3413ffb616cb2447a.jpg","text":"TemporaryFile(/tmp/multipartBody4637147410799340350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547318195,"filename":"image_07082025_03_34_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/7/304c989af790fb673583d8a4337eade0.jpg","text":"TemporaryFile(/tmp/multipartBody2476048962309876254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547318195,"filename":"image_07082025_03_34_15_10321.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/93336b311c57d3f3e06b2d392fa1caf5.jpg","text":"TemporaryFile(/tmp/multipartBody6858317447933475427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547318195,"filename":"image_07082025_03_34_04_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/7/45e241dc5489ce927369eeccc78965d9.jpg","text":"TemporaryFile(/tmp/multipartBody8355974636921306779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547318195,"filename":"image_07082025_03_34_44_8863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375586719","file1":"1375586687","file0":"1375586670","file4":"1375586748","file5":"1375586776","file3":"1375586740"},"map_files_photo_id_array":[{"photo_id":"1375586776","filename":"file5"},{"photo_id":"1375586719","filename":"file2"},{"photo_id":"1375586748","filename":"file4"},{"photo_id":"1375586687","filename":"file1"},{"photo_id":"1375586670","filename":"file0"},{"photo_id":"1375586740","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375586687":["hashtag1","hashtag2"]},{"1375586776":["hashtag1","hashtag2"]},{"1375586719":["hashtag1","hashtag2"]},{"1375586740":["hashtag1","hashtag2"]},{"1375586748":["hashtag1","hashtag2"]},{"1375586670":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375586687, 1375586776, 1375586719, 1375586740, 1375586748, 1375586670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.11963987350464 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:15:02.788587
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg', 2), ('/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg', 2), ('/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg', 2), ('/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg', 2), ('/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg', 2), ('/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg', '/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg', '/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg
/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg
/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg
/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg
/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg
/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg
uploaded 0 photos
time to upload: 30.219921350479126 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:16:03.321325
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg', 2), ('/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg', 2), ('/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg', 2), ('/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg', 2), ('/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg', 2), ('/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg', '/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg', '/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg
/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg
/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg
/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg
/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg
/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg
uploaded 0 photos
time to upload: 30.22304892539978 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:17:03.345490
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg', 2), ('/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg', 2), ('/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg', 2), ('/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg', 2), ('/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg', 2), ('/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg', '/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg', '/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg
/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg
/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg
/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg
/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg
/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 143.42539525032043 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-07 08:20:03.376064
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg', 2), ('/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg', 2), ('/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg', 2), ('/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg', 2), ('/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg', 2), ('/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg', '/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg', '/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg
/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg
/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg
/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg
/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg
/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg
uploaded 0 photos
time to upload: 30.694976806640625 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:21:03.248488
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg', 2), ('/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg', 2), ('/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg', 2), ('/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg', 2), ('/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg', 2), ('/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg', '/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg', '/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg
/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg
/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg
/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg
/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg
/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg
uploaded 0 photos
time to upload: 30.216145992279053 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:22:03.224881
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg', 2), ('/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg', 2), ('/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg', 2), ('/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg', 2), ('/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg', 2), ('/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg', '/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg', '/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg', '/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/32/image_07082025_03_32_44_10260.jpg
/mnt/data/07082025/03/32/image_07082025_03_32_34_10199.jpg
/mnt/data/07082025/03/32/image_07082025_03_32_24_10010.jpg
/mnt/data/07082025/03/32/image_07082025_03_32_14_10008.jpg
/mnt/data/07082025/03/31/image_07082025_03_32_04_10033.jpg
/mnt/data/07082025/03/31/image_07082025_03_31_54_9990.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":["1375587277","1375587286","1375587274","1375587268","1375587272","1375587281"],"photo_ids_order":["1375587268","1375587272","1375587274","1375587277","1375587281","1375587286"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/098d753834ac04195e38a4f8c1347b39.jpg","text":"TemporaryFile(/tmp/multipartBody4618487756082277543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547804182,"filename":"image_07082025_03_32_14_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/7/6f05accd0776c42f30ed42f869f52d11.jpg","text":"TemporaryFile(/tmp/multipartBody2420661739206880997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547804182,"filename":"image_07082025_03_31_54_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/7/ee84531045097745fbf2cb78668bab47.jpg","text":"TemporaryFile(/tmp/multipartBody41372349767645372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547804182,"filename":"image_07082025_03_32_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/7/7b7a4198601c1f72c399b6d50ca08534.jpg","text":"TemporaryFile(/tmp/multipartBody7152564212991477315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547804182,"filename":"image_07082025_03_32_44_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/7/d04f025c323a55d12cae025579f46fbc.jpg","text":"TemporaryFile(/tmp/multipartBody8604854719453677608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547804182,"filename":"image_07082025_03_32_34_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/7/8fe2a07c626d36b21bd10d26a61af0b8.jpg","text":"TemporaryFile(/tmp/multipartBody5801882980967719857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547804182,"filename":"image_07082025_03_32_04_10033.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375587274","file1":"1375587272","file0":"1375587268","file4":"1375587281","file5":"1375587286","file3":"1375587277"},"map_files_photo_id_array":[{"photo_id":"1375587286","filename":"file5"},{"photo_id":"1375587274","filename":"file2"},{"photo_id":"1375587281","filename":"file4"},{"photo_id":"1375587272","filename":"file1"},{"photo_id":"1375587268","filename":"file0"},{"photo_id":"1375587277","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375587277":["hashtag1","hashtag2"]},{"1375587286":["hashtag1","hashtag2"]},{"1375587274":["hashtag1","hashtag2"]},{"1375587268":["hashtag1","hashtag2"]},{"1375587272":["hashtag1","hashtag2"]},{"1375587281":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375587277, 1375587286, 1375587274, 1375587268, 1375587272, 1375587281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.101839780807495 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:24:03.409569
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/31/image_07082025_03_31_44_10216.jpg', 2), ('/mnt/data/07082025/03/31/image_07082025_03_31_34_9945.jpg', 2), ('/mnt/data/07082025/03/31/image_07082025_03_31_24_9993.jpg', 2), ('/mnt/data/07082025/03/31/image_07082025_03_31_14_9952.jpg', 2), ('/mnt/data/07082025/03/30/image_07082025_03_31_04_10072.jpg', 2), ('/mnt/data/07082025/03/30/image_07082025_03_30_54_9982.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/31/image_07082025_03_31_44_10216.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_34_9945.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_24_9993.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_14_9952.jpg', '/mnt/data/07082025/03/30/image_07082025_03_31_04_10072.jpg', '/mnt/data/07082025/03/30/image_07082025_03_30_54_9982.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/31/image_07082025_03_31_44_10216.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_34_9945.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_24_9993.jpg', '/mnt/data/07082025/03/31/image_07082025_03_31_14_9952.jpg', '/mnt/data/07082025/03/30/image_07082025_03_31_04_10072.jpg', '/mnt/data/07082025/03/30/image_07082025_03_30_54_9982.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/31/image_07082025_03_31_44_10216.jpg
/mnt/data/07082025/03/31/image_07082025_03_31_34_9945.jpg
/mnt/data/07082025/03/31/image_07082025_03_31_24_9993.jpg
/mnt/data/07082025/03/31/image_07082025_03_31_14_9952.jpg
/mnt/data/07082025/03/30/image_07082025_03_31_04_10072.jpg
/mnt/data/07082025/03/30/image_07082025_03_30_54_9982.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375587350","1375587325","1375587400","1375587342","1375587434","1375587356"],"photo_ids_order":["1375587325","1375587342","1375587350","1375587356","1375587400","1375587434"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/837115d148cdad52c3a41946b2aff5d7.jpg","text":"TemporaryFile(/tmp/multipartBody722781659410542181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547916776,"filename":"image_07082025_03_31_24_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/7/16f294eec84ac6f2e1663914398bf03f.jpg","text":"TemporaryFile(/tmp/multipartBody6654357953097771375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547916776,"filename":"image_07082025_03_31_44_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/7/d9e19ea759bccee6af1e91556f8ef10f.jpg","text":"TemporaryFile(/tmp/multipartBody4367012585665513530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547916776,"filename":"image_07082025_03_31_04_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/7/755875d83e4a4255587c527bfdd7ae09.jpg","text":"TemporaryFile(/tmp/multipartBody7129853648763317948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547916776,"filename":"image_07082025_03_31_34_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/7/6559ca4c8dfb7ac1607e948fe46eb1e9.jpg","text":"TemporaryFile(/tmp/multipartBody493430738107903882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547916776,"filename":"image_07082025_03_30_54_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/7/3e087f3439f9594472276cdc2037f194.jpg","text":"TemporaryFile(/tmp/multipartBody4933263544438699437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547916776,"filename":"image_07082025_03_31_14_9952.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375587350","file1":"1375587342","file0":"1375587325","file4":"1375587400","file5":"1375587434","file3":"1375587356"},"map_files_photo_id_array":[{"photo_id":"1375587434","filename":"file5"},{"photo_id":"1375587350","filename":"file2"},{"photo_id":"1375587400","filename":"file4"},{"photo_id":"1375587342","filename":"file1"},{"photo_id":"1375587325","filename":"file0"},{"photo_id":"1375587356","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375587350":["hashtag1","hashtag2"]},{"1375587325":["hashtag1","hashtag2"]},{"1375587400":["hashtag1","hashtag2"]},{"1375587342":["hashtag1","hashtag2"]},{"1375587434":["hashtag1","hashtag2"]},{"1375587356":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375587350, 1375587325, 1375587400, 1375587342, 1375587434, 1375587356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.8375825881958 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:25:03.570582
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/30/image_07082025_03_30_44_9932.jpg', 2), ('/mnt/data/07082025/03/30/image_07082025_03_30_34_9949.jpg', 2), ('/mnt/data/07082025/03/30/image_07082025_03_30_24_10041.jpg', 2), ('/mnt/data/07082025/03/30/image_07082025_03_30_14_10061.jpg', 2), ('/mnt/data/07082025/03/29/image_07082025_03_30_04_9069.jpg', 2), ('/mnt/data/07082025/03/29/image_07082025_03_29_55_9895.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/30/image_07082025_03_30_44_9932.jpg', '/mnt/data/07082025/03/30/image_07082025_03_30_34_9949.jpg', '/mnt/data/07082025/03/30/image_07082025_03_30_24_10041.jpg', '/mnt/data/07082025/03/30/image_07082025_03_30_14_10061.jpg', '/mnt/data/07082025/03/29/image_07082025_03_30_04_9069.jpg', '/mnt/data/07082025/03/29/image_07082025_03_29_55_9895.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/30/image_07082025_03_30_44_9932.jpg', '/mnt/data/07082025/03/30/image_07082025_03_30_34_9949.jpg', '/mnt/data/07082025/03/30/image_07082025_03_30_24_10041.jpg', '/mnt/data/07082025/03/30/image_07082025_03_30_14_10061.jpg', '/mnt/data/07082025/03/29/image_07082025_03_30_04_9069.jpg', '/mnt/data/07082025/03/29/image_07082025_03_29_55_9895.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/30/image_07082025_03_30_44_9932.jpg
/mnt/data/07082025/03/30/image_07082025_03_30_34_9949.jpg
/mnt/data/07082025/03/30/image_07082025_03_30_24_10041.jpg
/mnt/data/07082025/03/30/image_07082025_03_30_14_10061.jpg
/mnt/data/07082025/03/29/image_07082025_03_30_04_9069.jpg
/mnt/data/07082025/03/29/image_07082025_03_29_55_9895.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375587484","1375587625","1375587615","1375587630","1375587519","1375587482"],"photo_ids_order":["1375587482","1375587484","1375587519","1375587615","1375587625","1375587630"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/55476b2465087259428eaf435965bd0b.jpg","text":"TemporaryFile(/tmp/multipartBody8546008157340490361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547976298,"filename":"image_07082025_03_30_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/7/da1a6087331da7affd5ed77424a63ecb.jpg","text":"TemporaryFile(/tmp/multipartBody2256445932451777572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547976298,"filename":"image_07082025_03_30_04_9069.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/ba1ca1607a4b4a580f89af2903e01bba.jpg","text":"TemporaryFile(/tmp/multipartBody6332482859599099431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547976298,"filename":"image_07082025_03_30_14_10061.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/553d2cc327ff3a47ca98afa3a1fbb5f6.jpg","text":"TemporaryFile(/tmp/multipartBody266009595554757500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547976298,"filename":"image_07082025_03_29_55_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/7/f33846670a01e602e325213e5b5cf98c.jpg","text":"TemporaryFile(/tmp/multipartBody2861447460280844081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547976298,"filename":"image_07082025_03_30_24_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/7/0dad68901446a30e44bf96deb3d0e17f.jpg","text":"TemporaryFile(/tmp/multipartBody2866935454842981859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754547976298,"filename":"image_07082025_03_30_44_9932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375587519","file1":"1375587484","file0":"1375587482","file4":"1375587625","file5":"1375587630","file3":"1375587615"},"map_files_photo_id_array":[{"photo_id":"1375587630","filename":"file5"},{"photo_id":"1375587519","filename":"file2"},{"photo_id":"1375587625","filename":"file4"},{"photo_id":"1375587484","filename":"file1"},{"photo_id":"1375587482","filename":"file0"},{"photo_id":"1375587615","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375587484":["hashtag1","hashtag2"]},{"1375587625":["hashtag1","hashtag2"]},{"1375587615":["hashtag1","hashtag2"]},{"1375587630":["hashtag1","hashtag2"]},{"1375587519":["hashtag1","hashtag2"]},{"1375587482":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375587484, 1375587625, 1375587615, 1375587630, 1375587519, 1375587482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.144516706466675 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:26:02.863775
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/28/image_07082025_03_28_44_9974.jpg', 2), ('/mnt/data/07082025/03/28/image_07082025_03_28_35_9940.jpg', 2), ('/mnt/data/07082025/03/28/image_07082025_03_28_25_10110.jpg', 2), ('/mnt/data/07082025/03/28/image_07082025_03_28_14_10000.jpg', 2), ('/mnt/data/07082025/03/27/image_07082025_03_28_04_10189.jpg', 2), ('/mnt/data/07082025/03/27/image_07082025_03_27_54_9955.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/28/image_07082025_03_28_44_9974.jpg', '/mnt/data/07082025/03/28/image_07082025_03_28_35_9940.jpg', '/mnt/data/07082025/03/28/image_07082025_03_28_25_10110.jpg', '/mnt/data/07082025/03/28/image_07082025_03_28_14_10000.jpg', '/mnt/data/07082025/03/27/image_07082025_03_28_04_10189.jpg', '/mnt/data/07082025/03/27/image_07082025_03_27_54_9955.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/28/image_07082025_03_28_44_9974.jpg', '/mnt/data/07082025/03/28/image_07082025_03_28_35_9940.jpg', '/mnt/data/07082025/03/28/image_07082025_03_28_25_10110.jpg', '/mnt/data/07082025/03/28/image_07082025_03_28_14_10000.jpg', '/mnt/data/07082025/03/27/image_07082025_03_28_04_10189.jpg', '/mnt/data/07082025/03/27/image_07082025_03_27_54_9955.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/28/image_07082025_03_28_44_9974.jpg
/mnt/data/07082025/03/28/image_07082025_03_28_35_9940.jpg
/mnt/data/07082025/03/28/image_07082025_03_28_25_10110.jpg
/mnt/data/07082025/03/28/image_07082025_03_28_14_10000.jpg
/mnt/data/07082025/03/27/image_07082025_03_28_04_10189.jpg
/mnt/data/07082025/03/27/image_07082025_03_27_54_9955.jpg
 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-07 08:28:02.973418
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/28/image_07082025_03_28_44_9974.jpg', 2), ('/mnt/data/07082025/03/28/image_07082025_03_28_35_9940.jpg', 2), ('/mnt/data/07082025/03/28/image_07082025_03_28_25_10110.jpg', 2), ('/mnt/data/07082025/03/28/image_07082025_03_28_14_10000.jpg', 2), ('/mnt/data/07082025/03/27/image_07082025_03_28_04_10189.jpg', 2), ('/mnt/data/07082025/03/27/image_07082025_03_27_54_9955.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/28/image_07082025_03_28_44_9974.jpg', '/mnt/data/07082025/03/28/image_07082025_03_28_35_9940.jpg', '/mnt/data/07082025/03/28/image_07082025_03_28_25_10110.jpg', '/mnt/data/07082025/03/28/image_07082025_03_28_14_10000.jpg', '/mnt/data/07082025/03/27/image_07082025_03_28_04_10189.jpg', '/mnt/data/07082025/03/27/image_07082025_03_27_54_9955.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/28/image_07082025_03_28_44_9974.jpg', '/mnt/data/07082025/03/28/image_07082025_03_28_35_9940.jpg', '/mnt/data/07082025/03/28/image_07082025_03_28_25_10110.jpg', '/mnt/data/07082025/03/28/image_07082025_03_28_14_10000.jpg', '/mnt/data/07082025/03/27/image_07082025_03_28_04_10189.jpg', '/mnt/data/07082025/03/27/image_07082025_03_27_54_9955.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/28/image_07082025_03_28_44_9974.jpg
/mnt/data/07082025/03/28/image_07082025_03_28_35_9940.jpg
/mnt/data/07082025/03/28/image_07082025_03_28_25_10110.jpg
/mnt/data/07082025/03/28/image_07082025_03_28_14_10000.jpg
/mnt/data/07082025/03/27/image_07082025_03_28_04_10189.jpg
/mnt/data/07082025/03/27/image_07082025_03_27_54_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":["1375587853","1375587847","1375587832","1375587843","1375587851","1375587839"],"photo_ids_order":["1375587832","1375587839","1375587843","1375587847","1375587851","1375587853"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/6e951b3594ea1197799e3513ebe6106e.jpg","text":"TemporaryFile(/tmp/multipartBody419377452561397374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754548166729,"filename":"image_07082025_03_27_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/7/8212378c9077dfb9afd0dbc3d5a6dcc5.jpg","text":"TemporaryFile(/tmp/multipartBody5350575487330248602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754548166729,"filename":"image_07082025_03_28_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/7/b606aaf97dfc78c0383916206aa458cd.jpg","text":"TemporaryFile(/tmp/multipartBody6428147300171044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754548166729,"filename":"image_07082025_03_28_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/7/a2e4d947e1dcf8fa13565449f9fc52df.jpg","text":"TemporaryFile(/tmp/multipartBody2374950096217883777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754548166729,"filename":"image_07082025_03_28_25_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/7/4ba1c102c1319828507784ef08558d54.jpg","text":"TemporaryFile(/tmp/multipartBody5964759374313404903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754548166729,"filename":"image_07082025_03_28_04_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/7/60bc491cbdb321785d2f2fec6b927679.jpg","text":"TemporaryFile(/tmp/multipartBody4848836260006523712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754548166729,"filename":"image_07082025_03_28_35_9940.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375587843","file1":"1375587839","file0":"1375587832","file4":"1375587851","file5":"1375587853","file3":"1375587847"},"map_files_photo_id_array":[{"photo_id":"1375587853","filename":"file5"},{"photo_id":"1375587843","filename":"file2"},{"photo_id":"1375587851","filename":"file4"},{"photo_id":"1375587839","filename":"file1"},{"photo_id":"1375587832","filename":"file0"},{"photo_id":"1375587847","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375587853":["hashtag1","hashtag2"]},{"1375587847":["hashtag1","hashtag2"]},{"1375587832":["hashtag1","hashtag2"]},{"1375587843":["hashtag1","hashtag2"]},{"1375587851":["hashtag1","hashtag2"]},{"1375587839":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375587853, 1375587847, 1375587832, 1375587843, 1375587851, 1375587839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.26582956314087 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:30:02.603679
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/26/image_07082025_03_26_44_9977.jpg', 2), ('/mnt/data/07082025/03/26/image_07082025_03_26_34_9958.jpg', 2), ('/mnt/data/07082025/03/26/image_07082025_03_26_24_10116.jpg', 2), ('/mnt/data/07082025/03/26/image_07082025_03_26_14_10082.jpg', 2), ('/mnt/data/07082025/03/25/image_07082025_03_26_04_10265.jpg', 2), ('/mnt/data/07082025/03/25/image_07082025_03_25_54_10145.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/26/image_07082025_03_26_44_9977.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_34_9958.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_24_10116.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_14_10082.jpg', '/mnt/data/07082025/03/25/image_07082025_03_26_04_10265.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_54_10145.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/26/image_07082025_03_26_44_9977.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_34_9958.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_24_10116.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_14_10082.jpg', '/mnt/data/07082025/03/25/image_07082025_03_26_04_10265.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_54_10145.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/26/image_07082025_03_26_44_9977.jpg
/mnt/data/07082025/03/26/image_07082025_03_26_34_9958.jpg
/mnt/data/07082025/03/26/image_07082025_03_26_24_10116.jpg
/mnt/data/07082025/03/26/image_07082025_03_26_14_10082.jpg
/mnt/data/07082025/03/25/image_07082025_03_26_04_10265.jpg
/mnt/data/07082025/03/25/image_07082025_03_25_54_10145.jpg
uploaded 0 photos
time to upload: 30.213003635406494 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:31:02.598504
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/26/image_07082025_03_26_44_9977.jpg', 2), ('/mnt/data/07082025/03/26/image_07082025_03_26_34_9958.jpg', 2), ('/mnt/data/07082025/03/26/image_07082025_03_26_24_10116.jpg', 2), ('/mnt/data/07082025/03/26/image_07082025_03_26_14_10082.jpg', 2), ('/mnt/data/07082025/03/25/image_07082025_03_26_04_10265.jpg', 2), ('/mnt/data/07082025/03/25/image_07082025_03_25_54_10145.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/26/image_07082025_03_26_44_9977.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_34_9958.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_24_10116.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_14_10082.jpg', '/mnt/data/07082025/03/25/image_07082025_03_26_04_10265.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_54_10145.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/26/image_07082025_03_26_44_9977.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_34_9958.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_24_10116.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_14_10082.jpg', '/mnt/data/07082025/03/25/image_07082025_03_26_04_10265.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_54_10145.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/26/image_07082025_03_26_44_9977.jpg
/mnt/data/07082025/03/26/image_07082025_03_26_34_9958.jpg
/mnt/data/07082025/03/26/image_07082025_03_26_24_10116.jpg
/mnt/data/07082025/03/26/image_07082025_03_26_14_10082.jpg
/mnt/data/07082025/03/25/image_07082025_03_26_04_10265.jpg
/mnt/data/07082025/03/25/image_07082025_03_25_54_10145.jpg
uploaded 0 photos
time to upload: 30.209787368774414 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:32:03.124387
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/26/image_07082025_03_26_44_9977.jpg', 2), ('/mnt/data/07082025/03/26/image_07082025_03_26_34_9958.jpg', 2), ('/mnt/data/07082025/03/26/image_07082025_03_26_24_10116.jpg', 2), ('/mnt/data/07082025/03/26/image_07082025_03_26_14_10082.jpg', 2), ('/mnt/data/07082025/03/25/image_07082025_03_26_04_10265.jpg', 2), ('/mnt/data/07082025/03/25/image_07082025_03_25_54_10145.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/26/image_07082025_03_26_44_9977.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_34_9958.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_24_10116.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_14_10082.jpg', '/mnt/data/07082025/03/25/image_07082025_03_26_04_10265.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_54_10145.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/26/image_07082025_03_26_44_9977.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_34_9958.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_24_10116.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_14_10082.jpg', '/mnt/data/07082025/03/25/image_07082025_03_26_04_10265.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_54_10145.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/26/image_07082025_03_26_44_9977.jpg
/mnt/data/07082025/03/26/image_07082025_03_26_34_9958.jpg
/mnt/data/07082025/03/26/image_07082025_03_26_24_10116.jpg
/mnt/data/07082025/03/26/image_07082025_03_26_14_10082.jpg
/mnt/data/07082025/03/25/image_07082025_03_26_04_10265.jpg
/mnt/data/07082025/03/25/image_07082025_03_25_54_10145.jpg
uploaded 0 photos
time to upload: 30.207956790924072 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:33:03.518615
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/26/image_07082025_03_26_44_9977.jpg', 2), ('/mnt/data/07082025/03/26/image_07082025_03_26_34_9958.jpg', 2), ('/mnt/data/07082025/03/26/image_07082025_03_26_24_10116.jpg', 2), ('/mnt/data/07082025/03/26/image_07082025_03_26_14_10082.jpg', 2), ('/mnt/data/07082025/03/25/image_07082025_03_26_04_10265.jpg', 2), ('/mnt/data/07082025/03/25/image_07082025_03_25_54_10145.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/26/image_07082025_03_26_44_9977.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_34_9958.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_24_10116.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_14_10082.jpg', '/mnt/data/07082025/03/25/image_07082025_03_26_04_10265.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_54_10145.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/26/image_07082025_03_26_44_9977.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_34_9958.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_24_10116.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_14_10082.jpg', '/mnt/data/07082025/03/25/image_07082025_03_26_04_10265.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_54_10145.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/26/image_07082025_03_26_44_9977.jpg
/mnt/data/07082025/03/26/image_07082025_03_26_34_9958.jpg
/mnt/data/07082025/03/26/image_07082025_03_26_24_10116.jpg
/mnt/data/07082025/03/26/image_07082025_03_26_14_10082.jpg
/mnt/data/07082025/03/25/image_07082025_03_26_04_10265.jpg
/mnt/data/07082025/03/25/image_07082025_03_25_54_10145.jpg
uploaded 0 photos
time to upload: 30.216919898986816 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:34:02.855985
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/26/image_07082025_03_26_44_9977.jpg', 2), ('/mnt/data/07082025/03/26/image_07082025_03_26_34_9958.jpg', 2), ('/mnt/data/07082025/03/26/image_07082025_03_26_24_10116.jpg', 2), ('/mnt/data/07082025/03/26/image_07082025_03_26_14_10082.jpg', 2), ('/mnt/data/07082025/03/25/image_07082025_03_26_04_10265.jpg', 2), ('/mnt/data/07082025/03/25/image_07082025_03_25_54_10145.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/26/image_07082025_03_26_44_9977.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_34_9958.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_24_10116.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_14_10082.jpg', '/mnt/data/07082025/03/25/image_07082025_03_26_04_10265.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_54_10145.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/26/image_07082025_03_26_44_9977.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_34_9958.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_24_10116.jpg', '/mnt/data/07082025/03/26/image_07082025_03_26_14_10082.jpg', '/mnt/data/07082025/03/25/image_07082025_03_26_04_10265.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_54_10145.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/26/image_07082025_03_26_44_9977.jpg
/mnt/data/07082025/03/26/image_07082025_03_26_34_9958.jpg
/mnt/data/07082025/03/26/image_07082025_03_26_24_10116.jpg
/mnt/data/07082025/03/26/image_07082025_03_26_14_10082.jpg
/mnt/data/07082025/03/25/image_07082025_03_26_04_10265.jpg
/mnt/data/07082025/03/25/image_07082025_03_25_54_10145.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375588186","1375588144","1375588147","1375588182","1375588155","1375588151"],"photo_ids_order":["1375588144","1375588147","1375588151","1375588155","1375588182","1375588186"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/7fd794d5045b0984286681dd0c860317.jpg","text":"TemporaryFile(/tmp/multipartBody2893472479481761525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754548518493,"filename":"image_07082025_03_25_54_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/7/c2cb8f8e436e89d8343e006fe46b2a33.jpg","text":"TemporaryFile(/tmp/multipartBody2583827551864111655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754548518493,"filename":"image_07082025_03_26_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/7/9b0b9af4ed99dcf7771ceca26a21de98.jpg","text":"TemporaryFile(/tmp/multipartBody4239940568811778376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754548518493,"filename":"image_07082025_03_26_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/7/baab2955a5eb6122cc92e10bdcb17667.jpg","text":"TemporaryFile(/tmp/multipartBody5748319821706870818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754548518493,"filename":"image_07082025_03_26_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/7/fba3dc752dce741dd297c922ad85b57c.jpg","text":"TemporaryFile(/tmp/multipartBody1053962500359721060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754548518493,"filename":"image_07082025_03_26_14_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/7/18f3e99fb48ced633e26d8d20d80a060.jpg","text":"TemporaryFile(/tmp/multipartBody6629091152643114348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754548518493,"filename":"image_07082025_03_26_24_10116.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375588151","file1":"1375588147","file0":"1375588144","file4":"1375588182","file5":"1375588186","file3":"1375588155"},"map_files_photo_id_array":[{"photo_id":"1375588186","filename":"file5"},{"photo_id":"1375588151","filename":"file2"},{"photo_id":"1375588182","filename":"file4"},{"photo_id":"1375588147","filename":"file1"},{"photo_id":"1375588144","filename":"file0"},{"photo_id":"1375588155","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375588186":["hashtag1","hashtag2"]},{"1375588144":["hashtag1","hashtag2"]},{"1375588147":["hashtag1","hashtag2"]},{"1375588182":["hashtag1","hashtag2"]},{"1375588155":["hashtag1","hashtag2"]},{"1375588151":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375588186, 1375588144, 1375588147, 1375588182, 1375588155, 1375588151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.11911368370056 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:35:03.092715
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/25/image_07082025_03_25_44_8955.jpg', 2), ('/mnt/data/07082025/03/25/image_07082025_03_25_35_10183.jpg', 2), ('/mnt/data/07082025/03/25/image_07082025_03_25_25_10332.jpg', 2), ('/mnt/data/07082025/03/25/image_07082025_03_25_14_10154.jpg', 2), ('/mnt/data/07082025/03/24/image_07082025_03_25_04_10124.jpg', 2), ('/mnt/data/07082025/03/24/image_07082025_03_24_54_10144.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/25/image_07082025_03_25_44_8955.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_35_10183.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_25_10332.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_14_10154.jpg', '/mnt/data/07082025/03/24/image_07082025_03_25_04_10124.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_54_10144.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/25/image_07082025_03_25_44_8955.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_35_10183.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_25_10332.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_14_10154.jpg', '/mnt/data/07082025/03/24/image_07082025_03_25_04_10124.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_54_10144.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/25/image_07082025_03_25_44_8955.jpg
/mnt/data/07082025/03/25/image_07082025_03_25_35_10183.jpg
/mnt/data/07082025/03/25/image_07082025_03_25_25_10332.jpg
/mnt/data/07082025/03/25/image_07082025_03_25_14_10154.jpg
/mnt/data/07082025/03/24/image_07082025_03_25_04_10124.jpg
/mnt/data/07082025/03/24/image_07082025_03_24_54_10144.jpg
uploaded 0 photos
time to upload: 31.23547863960266 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:36:02.716874
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/25/image_07082025_03_25_44_8955.jpg', 2), ('/mnt/data/07082025/03/25/image_07082025_03_25_35_10183.jpg', 2), ('/mnt/data/07082025/03/25/image_07082025_03_25_25_10332.jpg', 2), ('/mnt/data/07082025/03/25/image_07082025_03_25_14_10154.jpg', 2), ('/mnt/data/07082025/03/24/image_07082025_03_25_04_10124.jpg', 2), ('/mnt/data/07082025/03/24/image_07082025_03_24_54_10144.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/25/image_07082025_03_25_44_8955.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_35_10183.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_25_10332.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_14_10154.jpg', '/mnt/data/07082025/03/24/image_07082025_03_25_04_10124.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_54_10144.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/25/image_07082025_03_25_44_8955.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_35_10183.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_25_10332.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_14_10154.jpg', '/mnt/data/07082025/03/24/image_07082025_03_25_04_10124.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_54_10144.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/25/image_07082025_03_25_44_8955.jpg
/mnt/data/07082025/03/25/image_07082025_03_25_35_10183.jpg
/mnt/data/07082025/03/25/image_07082025_03_25_25_10332.jpg
/mnt/data/07082025/03/25/image_07082025_03_25_14_10154.jpg
/mnt/data/07082025/03/24/image_07082025_03_25_04_10124.jpg
/mnt/data/07082025/03/24/image_07082025_03_24_54_10144.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 131.35721468925476 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-07 08:39:03.056745
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/25/image_07082025_03_25_44_8955.jpg', 2), ('/mnt/data/07082025/03/25/image_07082025_03_25_35_10183.jpg', 2), ('/mnt/data/07082025/03/25/image_07082025_03_25_25_10332.jpg', 2), ('/mnt/data/07082025/03/25/image_07082025_03_25_14_10154.jpg', 2), ('/mnt/data/07082025/03/24/image_07082025_03_25_04_10124.jpg', 2), ('/mnt/data/07082025/03/24/image_07082025_03_24_54_10144.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/25/image_07082025_03_25_44_8955.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_35_10183.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_25_10332.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_14_10154.jpg', '/mnt/data/07082025/03/24/image_07082025_03_25_04_10124.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_54_10144.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/25/image_07082025_03_25_44_8955.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_35_10183.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_25_10332.jpg', '/mnt/data/07082025/03/25/image_07082025_03_25_14_10154.jpg', '/mnt/data/07082025/03/24/image_07082025_03_25_04_10124.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_54_10144.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/25/image_07082025_03_25_44_8955.jpg
/mnt/data/07082025/03/25/image_07082025_03_25_35_10183.jpg
/mnt/data/07082025/03/25/image_07082025_03_25_25_10332.jpg
/mnt/data/07082025/03/25/image_07082025_03_25_14_10154.jpg
/mnt/data/07082025/03/24/image_07082025_03_25_04_10124.jpg
/mnt/data/07082025/03/24/image_07082025_03_24_54_10144.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":["1375588476","1375588488","1375588473","1375588493","1375588469","1375588490"],"photo_ids_order":["1375588469","1375588473","1375588476","1375588488","1375588490","1375588493"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/bf36a63e565e062904b8e7d7a8748e66.jpg","text":"TemporaryFile(/tmp/multipartBody2443702406659614098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754548832207,"filename":"image_07082025_03_25_25_10332.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/89b2ecd5d870769cdf861459e9f6f208.jpg","text":"TemporaryFile(/tmp/multipartBody889887150254414549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754548832207,"filename":"image_07082025_03_25_14_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/7/a7808a4a30342046c87b2a61881f8acb.jpg","text":"TemporaryFile(/tmp/multipartBody7199268231082853641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754548832207,"filename":"image_07082025_03_25_35_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/7/b605c74233d8284e4ae5c71fa000020c.jpg","text":"TemporaryFile(/tmp/multipartBody7254999018369846478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754548832207,"filename":"image_07082025_03_24_54_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/7/76a918ed275370fce2262ebb71712911.jpg","text":"TemporaryFile(/tmp/multipartBody392218762600330700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754548832207,"filename":"image_07082025_03_25_44_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/7/9c01f89742ba52817cc9c9c146a57f87.jpg","text":"TemporaryFile(/tmp/multipartBody3090875041324362933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754548832207,"filename":"image_07082025_03_25_04_10124.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375588476","file1":"1375588473","file0":"1375588469","file4":"1375588490","file5":"1375588493","file3":"1375588488"},"map_files_photo_id_array":[{"photo_id":"1375588493","filename":"file5"},{"photo_id":"1375588476","filename":"file2"},{"photo_id":"1375588490","filename":"file4"},{"photo_id":"1375588473","filename":"file1"},{"photo_id":"1375588469","filename":"file0"},{"photo_id":"1375588488","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375588476":["hashtag1","hashtag2"]},{"1375588488":["hashtag1","hashtag2"]},{"1375588473":["hashtag1","hashtag2"]},{"1375588493":["hashtag1","hashtag2"]},{"1375588469":["hashtag1","hashtag2"]},{"1375588490":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375588476, 1375588488, 1375588473, 1375588493, 1375588469, 1375588490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.44895529747009 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:41:03.332784
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/24/image_07082025_03_24_44_10124.jpg', 2), ('/mnt/data/07082025/03/24/image_07082025_03_24_34_8959.jpg', 2), ('/mnt/data/07082025/03/24/image_07082025_03_24_25_10281.jpg', 2), ('/mnt/data/07082025/03/24/image_07082025_03_24_15_10173.jpg', 2), ('/mnt/data/07082025/03/23/image_07082025_03_24_04_10146.jpg', 2), ('/mnt/data/07082025/03/23/image_07082025_03_23_54_10135.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/24/image_07082025_03_24_44_10124.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_34_8959.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_25_10281.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_15_10173.jpg', '/mnt/data/07082025/03/23/image_07082025_03_24_04_10146.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_54_10135.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/24/image_07082025_03_24_44_10124.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_34_8959.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_25_10281.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_15_10173.jpg', '/mnt/data/07082025/03/23/image_07082025_03_24_04_10146.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_54_10135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/24/image_07082025_03_24_44_10124.jpg
/mnt/data/07082025/03/24/image_07082025_03_24_34_8959.jpg
/mnt/data/07082025/03/24/image_07082025_03_24_25_10281.jpg
/mnt/data/07082025/03/24/image_07082025_03_24_15_10173.jpg
/mnt/data/07082025/03/23/image_07082025_03_24_04_10146.jpg
/mnt/data/07082025/03/23/image_07082025_03_23_54_10135.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 22.146403312683105 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-07 08:42:02.746557
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/24/image_07082025_03_24_44_10124.jpg', 2), ('/mnt/data/07082025/03/24/image_07082025_03_24_34_8959.jpg', 2), ('/mnt/data/07082025/03/24/image_07082025_03_24_25_10281.jpg', 2), ('/mnt/data/07082025/03/24/image_07082025_03_24_15_10173.jpg', 2), ('/mnt/data/07082025/03/23/image_07082025_03_24_04_10146.jpg', 2), ('/mnt/data/07082025/03/23/image_07082025_03_23_54_10135.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/24/image_07082025_03_24_44_10124.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_34_8959.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_25_10281.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_15_10173.jpg', '/mnt/data/07082025/03/23/image_07082025_03_24_04_10146.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_54_10135.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/24/image_07082025_03_24_44_10124.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_34_8959.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_25_10281.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_15_10173.jpg', '/mnt/data/07082025/03/23/image_07082025_03_24_04_10146.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_54_10135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/24/image_07082025_03_24_44_10124.jpg
/mnt/data/07082025/03/24/image_07082025_03_24_34_8959.jpg
/mnt/data/07082025/03/24/image_07082025_03_24_25_10281.jpg
/mnt/data/07082025/03/24/image_07082025_03_24_15_10173.jpg
/mnt/data/07082025/03/23/image_07082025_03_24_04_10146.jpg
/mnt/data/07082025/03/23/image_07082025_03_23_54_10135.jpg
uploaded 0 photos
time to upload: 30.20565438270569 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:43:02.791724
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/24/image_07082025_03_24_44_10124.jpg', 2), ('/mnt/data/07082025/03/24/image_07082025_03_24_34_8959.jpg', 2), ('/mnt/data/07082025/03/24/image_07082025_03_24_25_10281.jpg', 2), ('/mnt/data/07082025/03/24/image_07082025_03_24_15_10173.jpg', 2), ('/mnt/data/07082025/03/23/image_07082025_03_24_04_10146.jpg', 2), ('/mnt/data/07082025/03/23/image_07082025_03_23_54_10135.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/24/image_07082025_03_24_44_10124.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_34_8959.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_25_10281.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_15_10173.jpg', '/mnt/data/07082025/03/23/image_07082025_03_24_04_10146.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_54_10135.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/24/image_07082025_03_24_44_10124.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_34_8959.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_25_10281.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_15_10173.jpg', '/mnt/data/07082025/03/23/image_07082025_03_24_04_10146.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_54_10135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/24/image_07082025_03_24_44_10124.jpg
/mnt/data/07082025/03/24/image_07082025_03_24_34_8959.jpg
/mnt/data/07082025/03/24/image_07082025_03_24_25_10281.jpg
/mnt/data/07082025/03/24/image_07082025_03_24_15_10173.jpg
/mnt/data/07082025/03/23/image_07082025_03_24_04_10146.jpg
/mnt/data/07082025/03/23/image_07082025_03_23_54_10135.jpg
uploaded 0 photos
time to upload: 19.52913475036621 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-07 08:44:02.418290
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/24/image_07082025_03_24_44_10124.jpg', 2), ('/mnt/data/07082025/03/24/image_07082025_03_24_34_8959.jpg', 2), ('/mnt/data/07082025/03/24/image_07082025_03_24_25_10281.jpg', 2), ('/mnt/data/07082025/03/24/image_07082025_03_24_15_10173.jpg', 2), ('/mnt/data/07082025/03/23/image_07082025_03_24_04_10146.jpg', 2), ('/mnt/data/07082025/03/23/image_07082025_03_23_54_10135.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/24/image_07082025_03_24_44_10124.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_34_8959.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_25_10281.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_15_10173.jpg', '/mnt/data/07082025/03/23/image_07082025_03_24_04_10146.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_54_10135.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/24/image_07082025_03_24_44_10124.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_34_8959.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_25_10281.jpg', '/mnt/data/07082025/03/24/image_07082025_03_24_15_10173.jpg', '/mnt/data/07082025/03/23/image_07082025_03_24_04_10146.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_54_10135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/24/image_07082025_03_24_44_10124.jpg
/mnt/data/07082025/03/24/image_07082025_03_24_34_8959.jpg
/mnt/data/07082025/03/24/image_07082025_03_24_25_10281.jpg
/mnt/data/07082025/03/24/image_07082025_03_24_15_10173.jpg
/mnt/data/07082025/03/23/image_07082025_03_24_04_10146.jpg
/mnt/data/07082025/03/23/image_07082025_03_23_54_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":["1375588686","1375588707","1375588704","1375588694","1375588709","1375588700"],"photo_ids_order":["1375588686","1375588694","1375588700","1375588704","1375588707","1375588709"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/a56eecb39569bd79246d615c6e17d078.jpg","text":"TemporaryFile(/tmp/multipartBody1915534566415540832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754549124439,"filename":"image_07082025_03_24_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/7/9f1ac18ce8fc59299af07c8e591e8616.jpg","text":"TemporaryFile(/tmp/multipartBody7428638894085053687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754549124439,"filename":"image_07082025_03_24_04_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/7/1822652f9d8ad5cf1d190fdfdf4435a5.jpg","text":"TemporaryFile(/tmp/multipartBody477722241237016974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754549124439,"filename":"image_07082025_03_24_15_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/7/44268a39f58d6b5d5a7ada268225c98d.jpg","text":"TemporaryFile(/tmp/multipartBody3793693505178613299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754549124439,"filename":"image_07082025_03_24_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/7/38c3b93e3f478e68d4ef32ea3014e076.jpg","text":"TemporaryFile(/tmp/multipartBody5037739634682862752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754549124439,"filename":"image_07082025_03_23_54_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/7/30f29241866cb7aa4b979f25b0593eec.jpg","text":"TemporaryFile(/tmp/multipartBody2459423771302007603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754549124439,"filename":"image_07082025_03_24_25_10281.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375588700","file1":"1375588694","file0":"1375588686","file4":"1375588707","file5":"1375588709","file3":"1375588704"},"map_files_photo_id_array":[{"photo_id":"1375588709","filename":"file5"},{"photo_id":"1375588700","filename":"file2"},{"photo_id":"1375588707","filename":"file4"},{"photo_id":"1375588694","filename":"file1"},{"photo_id":"1375588686","filename":"file0"},{"photo_id":"1375588704","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375588686":["hashtag1","hashtag2"]},{"1375588707":["hashtag1","hashtag2"]},{"1375588704":["hashtag1","hashtag2"]},{"1375588694":["hashtag1","hashtag2"]},{"1375588709":["hashtag1","hashtag2"]},{"1375588700":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375588686, 1375588707, 1375588704, 1375588694, 1375588709, 1375588700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.7503502368927 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:46:03.107264
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/23/image_07082025_03_23_44_10138.jpg', 2), ('/mnt/data/07082025/03/23/image_07082025_03_23_34_10120.jpg', 2), ('/mnt/data/07082025/03/23/image_07082025_03_23_24_10155.jpg', 2), ('/mnt/data/07082025/03/23/image_07082025_03_23_14_8984.jpg', 2), ('/mnt/data/07082025/03/22/image_07082025_03_23_05_10301.jpg', 2), ('/mnt/data/07082025/03/22/image_07082025_03_22_54_10125.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/23/image_07082025_03_23_44_10138.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_34_10120.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_24_10155.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_14_8984.jpg', '/mnt/data/07082025/03/22/image_07082025_03_23_05_10301.jpg', '/mnt/data/07082025/03/22/image_07082025_03_22_54_10125.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/23/image_07082025_03_23_44_10138.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_34_10120.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_24_10155.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_14_8984.jpg', '/mnt/data/07082025/03/22/image_07082025_03_23_05_10301.jpg', '/mnt/data/07082025/03/22/image_07082025_03_22_54_10125.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/23/image_07082025_03_23_44_10138.jpg
/mnt/data/07082025/03/23/image_07082025_03_23_34_10120.jpg
/mnt/data/07082025/03/23/image_07082025_03_23_24_10155.jpg
/mnt/data/07082025/03/23/image_07082025_03_23_14_8984.jpg
/mnt/data/07082025/03/22/image_07082025_03_23_05_10301.jpg
/mnt/data/07082025/03/22/image_07082025_03_22_54_10125.jpg
uploaded 0 photos
time to upload: 30.249596118927002 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:47:03.020146
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/23/image_07082025_03_23_44_10138.jpg', 2), ('/mnt/data/07082025/03/23/image_07082025_03_23_34_10120.jpg', 2), ('/mnt/data/07082025/03/23/image_07082025_03_23_24_10155.jpg', 2), ('/mnt/data/07082025/03/23/image_07082025_03_23_14_8984.jpg', 2), ('/mnt/data/07082025/03/22/image_07082025_03_23_05_10301.jpg', 2), ('/mnt/data/07082025/03/22/image_07082025_03_22_54_10125.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/23/image_07082025_03_23_44_10138.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_34_10120.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_24_10155.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_14_8984.jpg', '/mnt/data/07082025/03/22/image_07082025_03_23_05_10301.jpg', '/mnt/data/07082025/03/22/image_07082025_03_22_54_10125.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/23/image_07082025_03_23_44_10138.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_34_10120.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_24_10155.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_14_8984.jpg', '/mnt/data/07082025/03/22/image_07082025_03_23_05_10301.jpg', '/mnt/data/07082025/03/22/image_07082025_03_22_54_10125.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/23/image_07082025_03_23_44_10138.jpg
/mnt/data/07082025/03/23/image_07082025_03_23_34_10120.jpg
/mnt/data/07082025/03/23/image_07082025_03_23_24_10155.jpg
/mnt/data/07082025/03/23/image_07082025_03_23_14_8984.jpg
/mnt/data/07082025/03/22/image_07082025_03_23_05_10301.jpg
/mnt/data/07082025/03/22/image_07082025_03_22_54_10125.jpg
uploaded 0 photos
time to upload: 30.211291313171387 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:48:02.478227
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/23/image_07082025_03_23_44_10138.jpg', 2), ('/mnt/data/07082025/03/23/image_07082025_03_23_34_10120.jpg', 2), ('/mnt/data/07082025/03/23/image_07082025_03_23_24_10155.jpg', 2), ('/mnt/data/07082025/03/23/image_07082025_03_23_14_8984.jpg', 2), ('/mnt/data/07082025/03/22/image_07082025_03_23_05_10301.jpg', 2), ('/mnt/data/07082025/03/22/image_07082025_03_22_54_10125.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/23/image_07082025_03_23_44_10138.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_34_10120.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_24_10155.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_14_8984.jpg', '/mnt/data/07082025/03/22/image_07082025_03_23_05_10301.jpg', '/mnt/data/07082025/03/22/image_07082025_03_22_54_10125.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/23/image_07082025_03_23_44_10138.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_34_10120.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_24_10155.jpg', '/mnt/data/07082025/03/23/image_07082025_03_23_14_8984.jpg', '/mnt/data/07082025/03/22/image_07082025_03_23_05_10301.jpg', '/mnt/data/07082025/03/22/image_07082025_03_22_54_10125.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/23/image_07082025_03_23_44_10138.jpg
/mnt/data/07082025/03/23/image_07082025_03_23_34_10120.jpg
/mnt/data/07082025/03/23/image_07082025_03_23_24_10155.jpg
/mnt/data/07082025/03/23/image_07082025_03_23_14_8984.jpg
/mnt/data/07082025/03/22/image_07082025_03_23_05_10301.jpg
/mnt/data/07082025/03/22/image_07082025_03_22_54_10125.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":["1375588855","1375588866","1375588863","1375588851","1375588865","1375588859"],"photo_ids_order":["1375588851","1375588855","1375588859","1375588863","1375588865","1375588866"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/7d72b2e4dcddad12d4cd28f632d1a717.jpg","text":"TemporaryFile(/tmp/multipartBody2607012468412834091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754549371208,"filename":"image_07082025_03_23_34_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/7/e681561db9100239e9da9d0bfa579c3c.jpg","text":"TemporaryFile(/tmp/multipartBody5646281596743528345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754549371208,"filename":"image_07082025_03_22_54_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/7/457ddf1af95a4bb3ee01b5f96e210366.jpg","text":"TemporaryFile(/tmp/multipartBody6100297069216875790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754549371208,"filename":"image_07082025_03_23_14_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/7/99d7d9db6a9a2384180e7ea56d222394.jpg","text":"TemporaryFile(/tmp/multipartBody748644049288717258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754549371208,"filename":"image_07082025_03_23_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/7/d6c67afc51ffc9bc5329d22aad8400d8.jpg","text":"TemporaryFile(/tmp/multipartBody943336543290144485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754549371208,"filename":"image_07082025_03_23_05_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/7/780aafe6858e45e6686dae0e6e06ab8f.jpg","text":"TemporaryFile(/tmp/multipartBody2797954704152982492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754549371208,"filename":"image_07082025_03_23_24_10155.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375588859","file1":"1375588855","file0":"1375588851","file4":"1375588865","file5":"1375588866","file3":"1375588863"},"map_files_photo_id_array":[{"photo_id":"1375588866","filename":"file5"},{"photo_id":"1375588859","filename":"file2"},{"photo_id":"1375588865","filename":"file4"},{"photo_id":"1375588855","filename":"file1"},{"photo_id":"1375588851","filename":"file0"},{"photo_id":"1375588863","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375588855":["hashtag1","hashtag2"]},{"1375588866":["hashtag1","hashtag2"]},{"1375588863":["hashtag1","hashtag2"]},{"1375588851":["hashtag1","hashtag2"]},{"1375588865":["hashtag1","hashtag2"]},{"1375588859":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375588855, 1375588866, 1375588863, 1375588851, 1375588865, 1375588859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.39425611495972 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:50:02.979173
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/18/image_07082025_03_18_54_9991.jpg', 2), ('/mnt/data/07082025/03/17/image_07082025_03_17_44_10103.jpg', 2), ('/mnt/data/07082025/03/17/image_07082025_03_17_34_10135.jpg', 2), ('/mnt/data/07082025/03/17/image_07082025_03_17_24_8940.jpg', 2), ('/mnt/data/07082025/03/17/image_07082025_03_17_15_10136.jpg', 2), ('/mnt/data/07082025/03/16/image_07082025_03_17_05_10153.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/18/image_07082025_03_18_54_9991.jpg', '/mnt/data/07082025/03/17/image_07082025_03_17_44_10103.jpg', '/mnt/data/07082025/03/17/image_07082025_03_17_34_10135.jpg', '/mnt/data/07082025/03/17/image_07082025_03_17_24_8940.jpg', '/mnt/data/07082025/03/17/image_07082025_03_17_15_10136.jpg', '/mnt/data/07082025/03/16/image_07082025_03_17_05_10153.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/18/image_07082025_03_18_54_9991.jpg', '/mnt/data/07082025/03/17/image_07082025_03_17_44_10103.jpg', '/mnt/data/07082025/03/17/image_07082025_03_17_34_10135.jpg', '/mnt/data/07082025/03/17/image_07082025_03_17_24_8940.jpg', '/mnt/data/07082025/03/17/image_07082025_03_17_15_10136.jpg', '/mnt/data/07082025/03/16/image_07082025_03_17_05_10153.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/18/image_07082025_03_18_54_9991.jpg
/mnt/data/07082025/03/17/image_07082025_03_17_44_10103.jpg
/mnt/data/07082025/03/17/image_07082025_03_17_34_10135.jpg
/mnt/data/07082025/03/17/image_07082025_03_17_24_8940.jpg
/mnt/data/07082025/03/17/image_07082025_03_17_15_10136.jpg
/mnt/data/07082025/03/16/image_07082025_03_17_05_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":["1375589035","1375589008","1375588972","1375589057","1375589018","1375588993"],"photo_ids_order":["1375588972","1375588993","1375589008","1375589018","1375589035","1375589057"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/0d3c3abc092429c59495c9c79de575d8.jpg","text":"TemporaryFile(/tmp/multipartBody8313108229575748347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754549482448,"filename":"image_07082025_03_17_15_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/7/f1775af6900300a2f1d74e0eed8eaf64.jpg","text":"TemporaryFile(/tmp/multipartBody3851339134623006731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754549482448,"filename":"image_07082025_03_17_34_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/7/b4afa4f95b994950e5fb5ddc0b9cd768.jpg","text":"TemporaryFile(/tmp/multipartBody4433302687379638713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754549482448,"filename":"image_07082025_03_18_54_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/7/267cde0115a3701d740756fba5a4f211.jpg","text":"TemporaryFile(/tmp/multipartBody3366172932676496122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754549482448,"filename":"image_07082025_03_17_05_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/7/f98518e244d21955ea31799ada7f4970.jpg","text":"TemporaryFile(/tmp/multipartBody5930609853822255716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754549482448,"filename":"image_07082025_03_17_24_8940.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/3700c5c9b6c7942277cef5f5f5702b54.jpg","text":"TemporaryFile(/tmp/multipartBody200656721752945190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754549482448,"filename":"image_07082025_03_17_44_10103.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375589008","file1":"1375588993","file0":"1375588972","file4":"1375589035","file5":"1375589057","file3":"1375589018"},"map_files_photo_id_array":[{"photo_id":"1375589057","filename":"file5"},{"photo_id":"1375589008","filename":"file2"},{"photo_id":"1375589035","filename":"file4"},{"photo_id":"1375588993","filename":"file1"},{"photo_id":"1375588972","filename":"file0"},{"photo_id":"1375589018","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375589035":["hashtag1","hashtag2"]},{"1375589008":["hashtag1","hashtag2"]},{"1375588972":["hashtag1","hashtag2"]},{"1375589057":["hashtag1","hashtag2"]},{"1375589018":["hashtag1","hashtag2"]},{"1375588993":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375589035, 1375589008, 1375588972, 1375589057, 1375589018, 1375588993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.40470838546753 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:52:03.340364
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/16/image_07082025_03_16_55_10135.jpg', 2), ('/mnt/data/07082025/03/16/image_07082025_03_16_44_10072.jpg', 2), ('/mnt/data/07082025/03/16/image_07082025_03_16_34_10101.jpg', 2), ('/mnt/data/07082025/03/16/image_07082025_03_16_24_10035.jpg', 2), ('/mnt/data/07082025/03/16/image_07082025_03_16_14_9922.jpg', 2), ('/mnt/data/07082025/03/15/image_07082025_03_16_04_10124.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/16/image_07082025_03_16_55_10135.jpg', '/mnt/data/07082025/03/16/image_07082025_03_16_44_10072.jpg', '/mnt/data/07082025/03/16/image_07082025_03_16_34_10101.jpg', '/mnt/data/07082025/03/16/image_07082025_03_16_24_10035.jpg', '/mnt/data/07082025/03/16/image_07082025_03_16_14_9922.jpg', '/mnt/data/07082025/03/15/image_07082025_03_16_04_10124.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/16/image_07082025_03_16_55_10135.jpg', '/mnt/data/07082025/03/16/image_07082025_03_16_44_10072.jpg', '/mnt/data/07082025/03/16/image_07082025_03_16_34_10101.jpg', '/mnt/data/07082025/03/16/image_07082025_03_16_24_10035.jpg', '/mnt/data/07082025/03/16/image_07082025_03_16_14_9922.jpg', '/mnt/data/07082025/03/15/image_07082025_03_16_04_10124.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/16/image_07082025_03_16_55_10135.jpg
/mnt/data/07082025/03/16/image_07082025_03_16_44_10072.jpg
/mnt/data/07082025/03/16/image_07082025_03_16_34_10101.jpg
/mnt/data/07082025/03/16/image_07082025_03_16_24_10035.jpg
/mnt/data/07082025/03/16/image_07082025_03_16_14_9922.jpg
/mnt/data/07082025/03/15/image_07082025_03_16_04_10124.jpg
uploaded 0 photos
time to upload: 30.244037628173828 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:53:03.186467
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/16/image_07082025_03_16_55_10135.jpg', 2), ('/mnt/data/07082025/03/16/image_07082025_03_16_44_10072.jpg', 2), ('/mnt/data/07082025/03/16/image_07082025_03_16_34_10101.jpg', 2), ('/mnt/data/07082025/03/16/image_07082025_03_16_24_10035.jpg', 2), ('/mnt/data/07082025/03/16/image_07082025_03_16_14_9922.jpg', 2), ('/mnt/data/07082025/03/15/image_07082025_03_16_04_10124.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/16/image_07082025_03_16_55_10135.jpg', '/mnt/data/07082025/03/16/image_07082025_03_16_44_10072.jpg', '/mnt/data/07082025/03/16/image_07082025_03_16_34_10101.jpg', '/mnt/data/07082025/03/16/image_07082025_03_16_24_10035.jpg', '/mnt/data/07082025/03/16/image_07082025_03_16_14_9922.jpg', '/mnt/data/07082025/03/15/image_07082025_03_16_04_10124.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/16/image_07082025_03_16_55_10135.jpg', '/mnt/data/07082025/03/16/image_07082025_03_16_44_10072.jpg', '/mnt/data/07082025/03/16/image_07082025_03_16_34_10101.jpg', '/mnt/data/07082025/03/16/image_07082025_03_16_24_10035.jpg', '/mnt/data/07082025/03/16/image_07082025_03_16_14_9922.jpg', '/mnt/data/07082025/03/15/image_07082025_03_16_04_10124.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/16/image_07082025_03_16_55_10135.jpg
/mnt/data/07082025/03/16/image_07082025_03_16_44_10072.jpg
/mnt/data/07082025/03/16/image_07082025_03_16_34_10101.jpg
/mnt/data/07082025/03/16/image_07082025_03_16_24_10035.jpg
/mnt/data/07082025/03/16/image_07082025_03_16_14_9922.jpg
/mnt/data/07082025/03/15/image_07082025_03_16_04_10124.jpg
uploaded 0 photos
time to upload: 19.378497838974 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-07 08:54:02.847266
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/16/image_07082025_03_16_55_10135.jpg', 2), ('/mnt/data/07082025/03/16/image_07082025_03_16_44_10072.jpg', 2), ('/mnt/data/07082025/03/16/image_07082025_03_16_34_10101.jpg', 2), ('/mnt/data/07082025/03/16/image_07082025_03_16_24_10035.jpg', 2), ('/mnt/data/07082025/03/16/image_07082025_03_16_14_9922.jpg', 2), ('/mnt/data/07082025/03/15/image_07082025_03_16_04_10124.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/16/image_07082025_03_16_55_10135.jpg', '/mnt/data/07082025/03/16/image_07082025_03_16_44_10072.jpg', '/mnt/data/07082025/03/16/image_07082025_03_16_34_10101.jpg', '/mnt/data/07082025/03/16/image_07082025_03_16_24_10035.jpg', '/mnt/data/07082025/03/16/image_07082025_03_16_14_9922.jpg', '/mnt/data/07082025/03/15/image_07082025_03_16_04_10124.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/16/image_07082025_03_16_55_10135.jpg', '/mnt/data/07082025/03/16/image_07082025_03_16_44_10072.jpg', '/mnt/data/07082025/03/16/image_07082025_03_16_34_10101.jpg', '/mnt/data/07082025/03/16/image_07082025_03_16_24_10035.jpg', '/mnt/data/07082025/03/16/image_07082025_03_16_14_9922.jpg', '/mnt/data/07082025/03/15/image_07082025_03_16_04_10124.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/16/image_07082025_03_16_55_10135.jpg
/mnt/data/07082025/03/16/image_07082025_03_16_44_10072.jpg
/mnt/data/07082025/03/16/image_07082025_03_16_34_10101.jpg
/mnt/data/07082025/03/16/image_07082025_03_16_24_10035.jpg
/mnt/data/07082025/03/16/image_07082025_03_16_14_9922.jpg
/mnt/data/07082025/03/15/image_07082025_03_16_04_10124.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":["1375589562","1375589565","1375589550","1375589532","1375589511","1375589507"],"photo_ids_order":["1375589507","1375589511","1375589532","1375589550","1375589562","1375589565"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/19ca58670739b3e06145a9c339d4619e.jpg","text":"TemporaryFile(/tmp/multipartBody7231213996763718111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754549725351,"filename":"image_07082025_03_16_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/7/843a34ae692714d027a222c36eeb53b3.jpg","text":"TemporaryFile(/tmp/multipartBody8267173373405033507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754549725351,"filename":"image_07082025_03_16_04_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/7/48ece2943ee30eb2fce205841dcd19a0.jpg","text":"TemporaryFile(/tmp/multipartBody2844125449954293902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754549725351,"filename":"image_07082025_03_16_24_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/7/af05b7b453ce5ed14a8b3b45c37e1760.jpg","text":"TemporaryFile(/tmp/multipartBody3583844983661572000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754549725351,"filename":"image_07082025_03_16_34_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/7/6710aa2b637e90930d1c286c98c5cdec.jpg","text":"TemporaryFile(/tmp/multipartBody6610637032149861953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754549725351,"filename":"image_07082025_03_16_44_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/7/4866dc1f05bacdca0cb6896cc6f230b4.jpg","text":"TemporaryFile(/tmp/multipartBody2372884695660991856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754549725351,"filename":"image_07082025_03_16_55_10135.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375589532","file1":"1375589511","file0":"1375589507","file4":"1375589562","file5":"1375589565","file3":"1375589550"},"map_files_photo_id_array":[{"photo_id":"1375589565","filename":"file5"},{"photo_id":"1375589532","filename":"file2"},{"photo_id":"1375589562","filename":"file4"},{"photo_id":"1375589511","filename":"file1"},{"photo_id":"1375589507","filename":"file0"},{"photo_id":"1375589550","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375589562":["hashtag1","hashtag2"]},{"1375589565":["hashtag1","hashtag2"]},{"1375589550":["hashtag1","hashtag2"]},{"1375589532":["hashtag1","hashtag2"]},{"1375589511":["hashtag1","hashtag2"]},{"1375589507":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375589562, 1375589565, 1375589550, 1375589532, 1375589511, 1375589507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.7733416557312 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 08:56:02.936575
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/15/image_07082025_03_15_54_9980.jpg', 2), ('/mnt/data/07082025/03/15/image_07082025_03_15_44_9956.jpg', 2), ('/mnt/data/07082025/03/15/image_07082025_03_15_34_9960.jpg', 2), ('/mnt/data/07082025/03/15/image_07082025_03_15_24_9957.jpg', 2), ('/mnt/data/07082025/03/15/image_07082025_03_15_14_10081.jpg', 2), ('/mnt/data/07082025/03/14/image_07082025_03_15_04_10147.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/15/image_07082025_03_15_54_9980.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_44_9956.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_34_9960.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_24_9957.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_14_10081.jpg', '/mnt/data/07082025/03/14/image_07082025_03_15_04_10147.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/15/image_07082025_03_15_54_9980.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_44_9956.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_34_9960.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_24_9957.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_14_10081.jpg', '/mnt/data/07082025/03/14/image_07082025_03_15_04_10147.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/15/image_07082025_03_15_54_9980.jpg
/mnt/data/07082025/03/15/image_07082025_03_15_44_9956.jpg
/mnt/data/07082025/03/15/image_07082025_03_15_34_9960.jpg
/mnt/data/07082025/03/15/image_07082025_03_15_24_9957.jpg
/mnt/data/07082025/03/15/image_07082025_03_15_14_10081.jpg
/mnt/data/07082025/03/14/image_07082025_03_15_04_10147.jpg
 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-07 08:59:03.481978
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/15/image_07082025_03_15_54_9980.jpg', 2), ('/mnt/data/07082025/03/15/image_07082025_03_15_44_9956.jpg', 2), ('/mnt/data/07082025/03/15/image_07082025_03_15_34_9960.jpg', 2), ('/mnt/data/07082025/03/15/image_07082025_03_15_24_9957.jpg', 2), ('/mnt/data/07082025/03/15/image_07082025_03_15_14_10081.jpg', 2), ('/mnt/data/07082025/03/14/image_07082025_03_15_04_10147.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/15/image_07082025_03_15_54_9980.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_44_9956.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_34_9960.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_24_9957.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_14_10081.jpg', '/mnt/data/07082025/03/14/image_07082025_03_15_04_10147.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/15/image_07082025_03_15_54_9980.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_44_9956.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_34_9960.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_24_9957.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_14_10081.jpg', '/mnt/data/07082025/03/14/image_07082025_03_15_04_10147.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/15/image_07082025_03_15_54_9980.jpg
/mnt/data/07082025/03/15/image_07082025_03_15_44_9956.jpg
/mnt/data/07082025/03/15/image_07082025_03_15_34_9960.jpg
/mnt/data/07082025/03/15/image_07082025_03_15_24_9957.jpg
/mnt/data/07082025/03/15/image_07082025_03_15_14_10081.jpg
/mnt/data/07082025/03/14/image_07082025_03_15_04_10147.jpg
uploaded 0 photos
time to upload: 30.220202207565308 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:00:02.881091
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/15/image_07082025_03_15_54_9980.jpg', 2), ('/mnt/data/07082025/03/15/image_07082025_03_15_44_9956.jpg', 2), ('/mnt/data/07082025/03/15/image_07082025_03_15_34_9960.jpg', 2), ('/mnt/data/07082025/03/15/image_07082025_03_15_24_9957.jpg', 2), ('/mnt/data/07082025/03/15/image_07082025_03_15_14_10081.jpg', 2), ('/mnt/data/07082025/03/14/image_07082025_03_15_04_10147.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/15/image_07082025_03_15_54_9980.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_44_9956.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_34_9960.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_24_9957.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_14_10081.jpg', '/mnt/data/07082025/03/14/image_07082025_03_15_04_10147.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/15/image_07082025_03_15_54_9980.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_44_9956.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_34_9960.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_24_9957.jpg', '/mnt/data/07082025/03/15/image_07082025_03_15_14_10081.jpg', '/mnt/data/07082025/03/14/image_07082025_03_15_04_10147.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/15/image_07082025_03_15_54_9980.jpg
/mnt/data/07082025/03/15/image_07082025_03_15_44_9956.jpg
/mnt/data/07082025/03/15/image_07082025_03_15_34_9960.jpg
/mnt/data/07082025/03/15/image_07082025_03_15_24_9957.jpg
/mnt/data/07082025/03/15/image_07082025_03_15_14_10081.jpg
/mnt/data/07082025/03/14/image_07082025_03_15_04_10147.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375590928","1375590922","1375590817","1375590911","1375590848","1375590883"],"photo_ids_order":["1375590817","1375590848","1375590883","1375590911","1375590922","1375590928"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/a863b7480d47c30f76d9e55f32316d03.jpg","text":"TemporaryFile(/tmp/multipartBody116720327541793923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754550074473,"filename":"image_07082025_03_15_04_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/7/dfde14af7eea4289c07a5fcf06ec6870.jpg","text":"TemporaryFile(/tmp/multipartBody8611615500910390937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754550074473,"filename":"image_07082025_03_15_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/7/257175e7b7d377a98a5f1a19fd2f2e99.jpg","text":"TemporaryFile(/tmp/multipartBody7460126115686988267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754550074473,"filename":"image_07082025_03_15_54_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/7/92f5ee76de137a5129e256e07c21cdd8.jpg","text":"TemporaryFile(/tmp/multipartBody5702282223779444877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754550074473,"filename":"image_07082025_03_15_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/7/326786b4f5aba0cc67d8cbf076c140bd.jpg","text":"TemporaryFile(/tmp/multipartBody7523241856965740919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754550074473,"filename":"image_07082025_03_15_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/7/f7aa95dbc39f3ea4c9928709123b207c.jpg","text":"TemporaryFile(/tmp/multipartBody7929352807169186137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754550074473,"filename":"image_07082025_03_15_34_9960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375590883","file1":"1375590848","file0":"1375590817","file4":"1375590922","file5":"1375590928","file3":"1375590911"},"map_files_photo_id_array":[{"photo_id":"1375590928","filename":"file5"},{"photo_id":"1375590883","filename":"file2"},{"photo_id":"1375590922","filename":"file4"},{"photo_id":"1375590848","filename":"file1"},{"photo_id":"1375590817","filename":"file0"},{"photo_id":"1375590911","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375590928":["hashtag1","hashtag2"]},{"1375590922":["hashtag1","hashtag2"]},{"1375590817":["hashtag1","hashtag2"]},{"1375590911":["hashtag1","hashtag2"]},{"1375590848":["hashtag1","hashtag2"]},{"1375590883":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375590928, 1375590922, 1375590817, 1375590911, 1375590848, 1375590883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.625678062438965 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:01:02.933700
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/14/image_07082025_03_14_54_9987.jpg', 2), ('/mnt/data/07082025/03/13/image_07082025_03_13_44_9943.jpg', 2), ('/mnt/data/07082025/03/13/image_07082025_03_13_34_10034.jpg', 2), ('/mnt/data/07082025/03/13/image_07082025_03_13_24_10102.jpg', 2), ('/mnt/data/07082025/03/13/image_07082025_03_13_14_10223.jpg', 2), ('/mnt/data/07082025/03/12/image_07082025_03_13_04_9027.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/14/image_07082025_03_14_54_9987.jpg', '/mnt/data/07082025/03/13/image_07082025_03_13_44_9943.jpg', '/mnt/data/07082025/03/13/image_07082025_03_13_34_10034.jpg', '/mnt/data/07082025/03/13/image_07082025_03_13_24_10102.jpg', '/mnt/data/07082025/03/13/image_07082025_03_13_14_10223.jpg', '/mnt/data/07082025/03/12/image_07082025_03_13_04_9027.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/14/image_07082025_03_14_54_9987.jpg', '/mnt/data/07082025/03/13/image_07082025_03_13_44_9943.jpg', '/mnt/data/07082025/03/13/image_07082025_03_13_34_10034.jpg', '/mnt/data/07082025/03/13/image_07082025_03_13_24_10102.jpg', '/mnt/data/07082025/03/13/image_07082025_03_13_14_10223.jpg', '/mnt/data/07082025/03/12/image_07082025_03_13_04_9027.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/14/image_07082025_03_14_54_9987.jpg
/mnt/data/07082025/03/13/image_07082025_03_13_44_9943.jpg
/mnt/data/07082025/03/13/image_07082025_03_13_34_10034.jpg
/mnt/data/07082025/03/13/image_07082025_03_13_24_10102.jpg
/mnt/data/07082025/03/13/image_07082025_03_13_14_10223.jpg
/mnt/data/07082025/03/12/image_07082025_03_13_04_9027.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375591000","1375591011","1375591005","1375591014","1375591008","1375591002"],"photo_ids_order":["1375591000","1375591002","1375591005","1375591008","1375591011","1375591014"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/27befe2b9b779d2bfe50c53682815945.jpg","text":"TemporaryFile(/tmp/multipartBody3247489554446526599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754550128468,"filename":"image_07082025_03_14_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/7/ca5de6e2f0165b571ad4a07bf392767b.jpg","text":"TemporaryFile(/tmp/multipartBody3944793198127390033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754550128468,"filename":"image_07082025_03_13_14_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/7/9e04e73d9b80114d17be115651ddc504.jpg","text":"TemporaryFile(/tmp/multipartBody4023055964186312421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754550128468,"filename":"image_07082025_03_13_34_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/7/a30a2eccc205cf6940d09e83542605a6.jpg","text":"TemporaryFile(/tmp/multipartBody1268746851314340188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754550128468,"filename":"image_07082025_03_13_04_9027.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/9c8aad37593b8e91109e0320628a678f.jpg","text":"TemporaryFile(/tmp/multipartBody7188890731619511191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754550128468,"filename":"image_07082025_03_13_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/7/5c0bac6abccce3b940a3c9cadf593f71.jpg","text":"TemporaryFile(/tmp/multipartBody4424798098079365891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754550128468,"filename":"image_07082025_03_13_44_9943.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375591005","file1":"1375591002","file0":"1375591000","file4":"1375591011","file5":"1375591014","file3":"1375591008"},"map_files_photo_id_array":[{"photo_id":"1375591014","filename":"file5"},{"photo_id":"1375591005","filename":"file2"},{"photo_id":"1375591011","filename":"file4"},{"photo_id":"1375591002","filename":"file1"},{"photo_id":"1375591000","filename":"file0"},{"photo_id":"1375591008","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375591000":["hashtag1","hashtag2"]},{"1375591011":["hashtag1","hashtag2"]},{"1375591005":["hashtag1","hashtag2"]},{"1375591014":["hashtag1","hashtag2"]},{"1375591008":["hashtag1","hashtag2"]},{"1375591002":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375591000, 1375591011, 1375591005, 1375591014, 1375591008, 1375591002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.81418752670288 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:02:02.607403
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/12/image_07082025_03_12_55_10228.jpg', 2), ('/mnt/data/07082025/03/12/image_07082025_03_12_45_10118.jpg', 2), ('/mnt/data/07082025/03/12/image_07082025_03_12_35_10186.jpg', 2), ('/mnt/data/07082025/03/12/image_07082025_03_12_24_10237.jpg', 2), ('/mnt/data/07082025/03/12/image_07082025_03_12_14_10335.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_12_04_9197.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/12/image_07082025_03_12_55_10228.jpg', '/mnt/data/07082025/03/12/image_07082025_03_12_45_10118.jpg', '/mnt/data/07082025/03/12/image_07082025_03_12_35_10186.jpg', '/mnt/data/07082025/03/12/image_07082025_03_12_24_10237.jpg', '/mnt/data/07082025/03/12/image_07082025_03_12_14_10335.jpg', '/mnt/data/07082025/03/11/image_07082025_03_12_04_9197.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/12/image_07082025_03_12_55_10228.jpg', '/mnt/data/07082025/03/12/image_07082025_03_12_45_10118.jpg', '/mnt/data/07082025/03/12/image_07082025_03_12_35_10186.jpg', '/mnt/data/07082025/03/12/image_07082025_03_12_24_10237.jpg', '/mnt/data/07082025/03/12/image_07082025_03_12_14_10335.jpg', '/mnt/data/07082025/03/11/image_07082025_03_12_04_9197.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/12/image_07082025_03_12_55_10228.jpg
/mnt/data/07082025/03/12/image_07082025_03_12_45_10118.jpg
/mnt/data/07082025/03/12/image_07082025_03_12_35_10186.jpg
/mnt/data/07082025/03/12/image_07082025_03_12_24_10237.jpg
/mnt/data/07082025/03/12/image_07082025_03_12_14_10335.jpg
/mnt/data/07082025/03/11/image_07082025_03_12_04_9197.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":["1375591113","1375591154","1375591217","1375591081","1375591186","1375591072"],"photo_ids_order":["1375591072","1375591081","1375591113","1375591154","1375591186","1375591217"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/95950961f577a1ae21e22e59a9583c6f.jpg","text":"TemporaryFile(/tmp/multipartBody5748846914631768484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754550214496,"filename":"image_07082025_03_12_35_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/7/4520498b78a58382668203cd24a8702b.jpg","text":"TemporaryFile(/tmp/multipartBody5922828336724039843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754550214496,"filename":"image_07082025_03_12_24_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/7/1383f3b562ed0bdcf3a41b990a28a94d.jpg","text":"TemporaryFile(/tmp/multipartBody7827705421888640432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754550214496,"filename":"image_07082025_03_12_04_9197.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/fd19be5be68acb039da7c53d1a28bab8.jpg","text":"TemporaryFile(/tmp/multipartBody102091004456493910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754550214496,"filename":"image_07082025_03_12_45_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/7/4f4bfb37078adcb494ce724210e34d66.jpg","text":"TemporaryFile(/tmp/multipartBody6438791756092117193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754550214496,"filename":"image_07082025_03_12_14_10335.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/bf7ae10c9ca593fd4032beee6cbc15d5.jpg","text":"TemporaryFile(/tmp/multipartBody4617052569499216170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754550214496,"filename":"image_07082025_03_12_55_10228.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375591113","file1":"1375591081","file0":"1375591072","file4":"1375591186","file5":"1375591217","file3":"1375591154"},"map_files_photo_id_array":[{"photo_id":"1375591217","filename":"file5"},{"photo_id":"1375591113","filename":"file2"},{"photo_id":"1375591186","filename":"file4"},{"photo_id":"1375591081","filename":"file1"},{"photo_id":"1375591072","filename":"file0"},{"photo_id":"1375591154","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375591113":["hashtag1","hashtag2"]},{"1375591154":["hashtag1","hashtag2"]},{"1375591217":["hashtag1","hashtag2"]},{"1375591081":["hashtag1","hashtag2"]},{"1375591186":["hashtag1","hashtag2"]},{"1375591072":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375591113, 1375591154, 1375591217, 1375591081, 1375591186, 1375591072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.2996780872345 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:04:03.068460
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', 2), ('/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', 2), ('/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg
/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg
/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg
uploaded 0 photos
time to upload: 30.202813863754272 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:05:03.212311
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', 2), ('/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', 2), ('/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg
/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg
/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg
uploaded 0 photos
time to upload: 30.223597049713135 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:06:02.918813
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', 2), ('/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', 2), ('/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg
/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg
/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 127.40283632278442 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-07 09:09:02.760757
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', 2), ('/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', 2), ('/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg
/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg
/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg
uploaded 0 photos
time to upload: 30.251938819885254 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:10:03.201051
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', 2), ('/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', 2), ('/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg
/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg
/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg
uploaded 0 photos
time to upload: 30.222208738327026 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:11:03.366195
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', 2), ('/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', 2), ('/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg
/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg
/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg
uploaded 0 photos
time to upload: 30.23009157180786 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:12:02.871370
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', 2), ('/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', 2), ('/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg
/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg
/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg
uploaded 0 photos
time to upload: 30.20953106880188 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:13:02.747544
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', 2), ('/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', 2), ('/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg
/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg
/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg
uploaded 0 photos
time to upload: 19.98923897743225 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-07 09:14:02.558036
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', 2), ('/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', 2), ('/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg
/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg
/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg
uploaded 0 photos
time to upload: 30.203171968460083 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:15:03.527209
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', 2), ('/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', 2), ('/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', 2), ('/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg', '/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg', '/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_44_9998.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/11/image_07082025_03_11_55_10151.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_34_10122.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_24_9918.jpg
/mnt/data/07082025/03/11/image_07082025_03_11_14_10274.jpg
/mnt/data/07082025/03/10/image_07082025_03_10_55_10150.jpg
/mnt/data/07082025/03/08/image_07082025_03_08_44_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":["1375594609","1375594801","1375594641","1375594770","1375594737","1375594704"],"photo_ids_order":["1375594609","1375594641","1375594704","1375594737","1375594770","1375594801"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/31e2adaced46e9bd052d3d8b3af2598f.jpg","text":"TemporaryFile(/tmp/multipartBody8240610771686100095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754550988477,"filename":"image_07082025_03_11_55_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/7/698111621461a17351fe4f105c465f21.jpg","text":"TemporaryFile(/tmp/multipartBody371294690249245912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754550988477,"filename":"image_07082025_03_08_44_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/7/ae43cab7e9370c8a145a3f9cc9a9ecf2.jpg","text":"TemporaryFile(/tmp/multipartBody2054626970383013537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754550988477,"filename":"image_07082025_03_11_34_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/7/b3269895bb6d901ec6d57b022e04a1b1.jpg","text":"TemporaryFile(/tmp/multipartBody5712746283834500281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754550988477,"filename":"image_07082025_03_10_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/7/79cb2a6050bbc5db4298b00444776bb7.jpg","text":"TemporaryFile(/tmp/multipartBody3544383790901371663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754550988477,"filename":"image_07082025_03_11_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/7/582be30fca79b52c73d5612d243f41ef.jpg","text":"TemporaryFile(/tmp/multipartBody3483077407657440893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754550988477,"filename":"image_07082025_03_11_24_9918.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375594704","file1":"1375594641","file0":"1375594609","file4":"1375594770","file5":"1375594801","file3":"1375594737"},"map_files_photo_id_array":[{"photo_id":"1375594801","filename":"file5"},{"photo_id":"1375594704","filename":"file2"},{"photo_id":"1375594770","filename":"file4"},{"photo_id":"1375594641","filename":"file1"},{"photo_id":"1375594609","filename":"file0"},{"photo_id":"1375594737","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375594609":["hashtag1","hashtag2"]},{"1375594801":["hashtag1","hashtag2"]},{"1375594641":["hashtag1","hashtag2"]},{"1375594770":["hashtag1","hashtag2"]},{"1375594737":["hashtag1","hashtag2"]},{"1375594704":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375594609, 1375594801, 1375594641, 1375594770, 1375594737, 1375594704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.95046806335449 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:17:03.171408
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/08/image_07082025_03_08_34_10003.jpg', 2), ('/mnt/data/07082025/03/08/image_07082025_03_08_24_9987.jpg', 2), ('/mnt/data/07082025/03/08/image_07082025_03_08_14_10059.jpg', 2), ('/mnt/data/07082025/03/07/image_07082025_03_08_04_9948.jpg', 2), ('/mnt/data/07082025/03/07/image_07082025_03_07_54_10089.jpg', 2), ('/mnt/data/07082025/03/03/image_07082025_03_03_35_10120.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/08/image_07082025_03_08_34_10003.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_24_9987.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_14_10059.jpg', '/mnt/data/07082025/03/07/image_07082025_03_08_04_9948.jpg', '/mnt/data/07082025/03/07/image_07082025_03_07_54_10089.jpg', '/mnt/data/07082025/03/03/image_07082025_03_03_35_10120.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/08/image_07082025_03_08_34_10003.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_24_9987.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_14_10059.jpg', '/mnt/data/07082025/03/07/image_07082025_03_08_04_9948.jpg', '/mnt/data/07082025/03/07/image_07082025_03_07_54_10089.jpg', '/mnt/data/07082025/03/03/image_07082025_03_03_35_10120.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/08/image_07082025_03_08_34_10003.jpg
/mnt/data/07082025/03/08/image_07082025_03_08_24_9987.jpg
/mnt/data/07082025/03/08/image_07082025_03_08_14_10059.jpg
/mnt/data/07082025/03/07/image_07082025_03_08_04_9948.jpg
/mnt/data/07082025/03/07/image_07082025_03_07_54_10089.jpg
/mnt/data/07082025/03/03/image_07082025_03_03_35_10120.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 21.86483073234558 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-07 09:18:02.835042
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/08/image_07082025_03_08_34_10003.jpg', 2), ('/mnt/data/07082025/03/08/image_07082025_03_08_24_9987.jpg', 2), ('/mnt/data/07082025/03/08/image_07082025_03_08_14_10059.jpg', 2), ('/mnt/data/07082025/03/07/image_07082025_03_08_04_9948.jpg', 2), ('/mnt/data/07082025/03/07/image_07082025_03_07_54_10089.jpg', 2), ('/mnt/data/07082025/03/03/image_07082025_03_03_35_10120.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/08/image_07082025_03_08_34_10003.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_24_9987.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_14_10059.jpg', '/mnt/data/07082025/03/07/image_07082025_03_08_04_9948.jpg', '/mnt/data/07082025/03/07/image_07082025_03_07_54_10089.jpg', '/mnt/data/07082025/03/03/image_07082025_03_03_35_10120.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/08/image_07082025_03_08_34_10003.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_24_9987.jpg', '/mnt/data/07082025/03/08/image_07082025_03_08_14_10059.jpg', '/mnt/data/07082025/03/07/image_07082025_03_08_04_9948.jpg', '/mnt/data/07082025/03/07/image_07082025_03_07_54_10089.jpg', '/mnt/data/07082025/03/03/image_07082025_03_03_35_10120.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/08/image_07082025_03_08_34_10003.jpg
/mnt/data/07082025/03/08/image_07082025_03_08_24_9987.jpg
/mnt/data/07082025/03/08/image_07082025_03_08_14_10059.jpg
/mnt/data/07082025/03/07/image_07082025_03_08_04_9948.jpg
/mnt/data/07082025/03/07/image_07082025_03_07_54_10089.jpg
/mnt/data/07082025/03/03/image_07082025_03_03_35_10120.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375596192","1375596240","1375596143","1375596059","1375596050","1375596029"],"photo_ids_order":["1375596029","1375596050","1375596059","1375596143","1375596192","1375596240"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/9fd210fb458397932aec7c959ac4d7f3.jpg","text":"TemporaryFile(/tmp/multipartBody652137266978192079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754551158121,"filename":"image_07082025_03_07_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/7/f85d36aca648d3a3d44c26a59c59415c.jpg","text":"TemporaryFile(/tmp/multipartBody2805665000405190246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754551158121,"filename":"image_07082025_03_03_35_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/7/8b6d5aad9f6cf9f94b6179f0d661deac.jpg","text":"TemporaryFile(/tmp/multipartBody2787761055869368376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754551158121,"filename":"image_07082025_03_08_04_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/7/f5cd7546d2fa353d7e993f103ece0547.jpg","text":"TemporaryFile(/tmp/multipartBody3824274351859366436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754551158121,"filename":"image_07082025_03_08_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/7/cf2bf9132fafd8ce097b4eea9130e841.jpg","text":"TemporaryFile(/tmp/multipartBody8867232668104565459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754551158121,"filename":"image_07082025_03_08_24_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/7/2a62dc575c27514cbadaad0d66657e49.jpg","text":"TemporaryFile(/tmp/multipartBody4557902893573973998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754551158121,"filename":"image_07082025_03_08_34_10003.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375596059","file1":"1375596050","file0":"1375596029","file4":"1375596192","file5":"1375596240","file3":"1375596143"},"map_files_photo_id_array":[{"photo_id":"1375596240","filename":"file5"},{"photo_id":"1375596059","filename":"file2"},{"photo_id":"1375596192","filename":"file4"},{"photo_id":"1375596050","filename":"file1"},{"photo_id":"1375596029","filename":"file0"},{"photo_id":"1375596143","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375596192":["hashtag1","hashtag2"]},{"1375596240":["hashtag1","hashtag2"]},{"1375596143":["hashtag1","hashtag2"]},{"1375596059":["hashtag1","hashtag2"]},{"1375596050":["hashtag1","hashtag2"]},{"1375596029":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375596192, 1375596240, 1375596143, 1375596059, 1375596050, 1375596029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.85795187950134 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:19:02.937147
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/03/image_07082025_03_03_24_9951.jpg', 2), ('/mnt/data/07082025/03/03/image_07082025_03_03_15_10067.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_03_04_10240.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_02_54_10088.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_02_44_10110.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_02_34_10092.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/03/image_07082025_03_03_24_9951.jpg', '/mnt/data/07082025/03/03/image_07082025_03_03_15_10067.jpg', '/mnt/data/07082025/03/02/image_07082025_03_03_04_10240.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_54_10088.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_44_10110.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_34_10092.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/03/image_07082025_03_03_24_9951.jpg', '/mnt/data/07082025/03/03/image_07082025_03_03_15_10067.jpg', '/mnt/data/07082025/03/02/image_07082025_03_03_04_10240.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_54_10088.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_44_10110.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_34_10092.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/03/image_07082025_03_03_24_9951.jpg
/mnt/data/07082025/03/03/image_07082025_03_03_15_10067.jpg
/mnt/data/07082025/03/02/image_07082025_03_03_04_10240.jpg
/mnt/data/07082025/03/02/image_07082025_03_02_54_10088.jpg
/mnt/data/07082025/03/02/image_07082025_03_02_44_10110.jpg
/mnt/data/07082025/03/02/image_07082025_03_02_34_10092.jpg
uploaded 0 photos
time to upload: 30.506620407104492 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:20:02.621494
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/03/image_07082025_03_03_24_9951.jpg', 2), ('/mnt/data/07082025/03/03/image_07082025_03_03_15_10067.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_03_04_10240.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_02_54_10088.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_02_44_10110.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_02_34_10092.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/03/image_07082025_03_03_24_9951.jpg', '/mnt/data/07082025/03/03/image_07082025_03_03_15_10067.jpg', '/mnt/data/07082025/03/02/image_07082025_03_03_04_10240.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_54_10088.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_44_10110.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_34_10092.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/03/image_07082025_03_03_24_9951.jpg', '/mnt/data/07082025/03/03/image_07082025_03_03_15_10067.jpg', '/mnt/data/07082025/03/02/image_07082025_03_03_04_10240.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_54_10088.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_44_10110.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_34_10092.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/03/image_07082025_03_03_24_9951.jpg
/mnt/data/07082025/03/03/image_07082025_03_03_15_10067.jpg
/mnt/data/07082025/03/02/image_07082025_03_03_04_10240.jpg
/mnt/data/07082025/03/02/image_07082025_03_02_54_10088.jpg
/mnt/data/07082025/03/02/image_07082025_03_02_44_10110.jpg
/mnt/data/07082025/03/02/image_07082025_03_02_34_10092.jpg
uploaded 0 photos
time to upload: 30.202799320220947 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:21:03.448460
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/03/image_07082025_03_03_24_9951.jpg', 2), ('/mnt/data/07082025/03/03/image_07082025_03_03_15_10067.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_03_04_10240.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_02_54_10088.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_02_44_10110.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_02_34_10092.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/03/image_07082025_03_03_24_9951.jpg', '/mnt/data/07082025/03/03/image_07082025_03_03_15_10067.jpg', '/mnt/data/07082025/03/02/image_07082025_03_03_04_10240.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_54_10088.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_44_10110.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_34_10092.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/03/image_07082025_03_03_24_9951.jpg', '/mnt/data/07082025/03/03/image_07082025_03_03_15_10067.jpg', '/mnt/data/07082025/03/02/image_07082025_03_03_04_10240.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_54_10088.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_44_10110.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_34_10092.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/03/image_07082025_03_03_24_9951.jpg
/mnt/data/07082025/03/03/image_07082025_03_03_15_10067.jpg
/mnt/data/07082025/03/02/image_07082025_03_03_04_10240.jpg
/mnt/data/07082025/03/02/image_07082025_03_02_54_10088.jpg
/mnt/data/07082025/03/02/image_07082025_03_02_44_10110.jpg
/mnt/data/07082025/03/02/image_07082025_03_02_34_10092.jpg
uploaded 0 photos
time to upload: 30.2325496673584 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:22:02.990546
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/03/image_07082025_03_03_24_9951.jpg', 2), ('/mnt/data/07082025/03/03/image_07082025_03_03_15_10067.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_03_04_10240.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_02_54_10088.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_02_44_10110.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_02_34_10092.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/03/image_07082025_03_03_24_9951.jpg', '/mnt/data/07082025/03/03/image_07082025_03_03_15_10067.jpg', '/mnt/data/07082025/03/02/image_07082025_03_03_04_10240.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_54_10088.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_44_10110.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_34_10092.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/03/image_07082025_03_03_24_9951.jpg', '/mnt/data/07082025/03/03/image_07082025_03_03_15_10067.jpg', '/mnt/data/07082025/03/02/image_07082025_03_03_04_10240.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_54_10088.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_44_10110.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_34_10092.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/03/image_07082025_03_03_24_9951.jpg
/mnt/data/07082025/03/03/image_07082025_03_03_15_10067.jpg
/mnt/data/07082025/03/02/image_07082025_03_03_04_10240.jpg
/mnt/data/07082025/03/02/image_07082025_03_02_54_10088.jpg
/mnt/data/07082025/03/02/image_07082025_03_02_44_10110.jpg
/mnt/data/07082025/03/02/image_07082025_03_02_34_10092.jpg
uploaded 0 photos
time to upload: 30.21353006362915 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:23:02.869991
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/03/image_07082025_03_03_24_9951.jpg', 2), ('/mnt/data/07082025/03/03/image_07082025_03_03_15_10067.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_03_04_10240.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_02_54_10088.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_02_44_10110.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_02_34_10092.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/03/image_07082025_03_03_24_9951.jpg', '/mnt/data/07082025/03/03/image_07082025_03_03_15_10067.jpg', '/mnt/data/07082025/03/02/image_07082025_03_03_04_10240.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_54_10088.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_44_10110.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_34_10092.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/03/image_07082025_03_03_24_9951.jpg', '/mnt/data/07082025/03/03/image_07082025_03_03_15_10067.jpg', '/mnt/data/07082025/03/02/image_07082025_03_03_04_10240.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_54_10088.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_44_10110.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_34_10092.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/03/image_07082025_03_03_24_9951.jpg
/mnt/data/07082025/03/03/image_07082025_03_03_15_10067.jpg
/mnt/data/07082025/03/02/image_07082025_03_03_04_10240.jpg
/mnt/data/07082025/03/02/image_07082025_03_02_54_10088.jpg
/mnt/data/07082025/03/02/image_07082025_03_02_44_10110.jpg
/mnt/data/07082025/03/02/image_07082025_03_02_34_10092.jpg
uploaded 0 photos
time to upload: 30.249814987182617 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:24:02.722790
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/03/image_07082025_03_03_24_9951.jpg', 2), ('/mnt/data/07082025/03/03/image_07082025_03_03_15_10067.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_03_04_10240.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_02_54_10088.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_02_44_10110.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_02_34_10092.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/03/image_07082025_03_03_24_9951.jpg', '/mnt/data/07082025/03/03/image_07082025_03_03_15_10067.jpg', '/mnt/data/07082025/03/02/image_07082025_03_03_04_10240.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_54_10088.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_44_10110.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_34_10092.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/03/image_07082025_03_03_24_9951.jpg', '/mnt/data/07082025/03/03/image_07082025_03_03_15_10067.jpg', '/mnt/data/07082025/03/02/image_07082025_03_03_04_10240.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_54_10088.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_44_10110.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_34_10092.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/03/image_07082025_03_03_24_9951.jpg
/mnt/data/07082025/03/03/image_07082025_03_03_15_10067.jpg
/mnt/data/07082025/03/02/image_07082025_03_03_04_10240.jpg
/mnt/data/07082025/03/02/image_07082025_03_02_54_10088.jpg
/mnt/data/07082025/03/02/image_07082025_03_02_44_10110.jpg
/mnt/data/07082025/03/02/image_07082025_03_02_34_10092.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375597842","1375597781","1375597809","1375597784","1375597775","1375597777"],"photo_ids_order":["1375597775","1375597777","1375597781","1375597784","1375597809","1375597842"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/9cca7e43d9e6427653a3b9f2d6f41eeb.jpg","text":"TemporaryFile(/tmp/multipartBody6025898680097870733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754551513435,"filename":"image_07082025_03_02_34_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/7/d703c9e79e302ccfebd954f83cf1d523.jpg","text":"TemporaryFile(/tmp/multipartBody5603105009559276824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754551513435,"filename":"image_07082025_03_03_04_10240.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/78d4ed3129eb3400ea1ecf0434c19d8c.jpg","text":"TemporaryFile(/tmp/multipartBody6595664954371016655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754551513435,"filename":"image_07082025_03_02_44_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/7/85a323c1cf6a5feb171b2a1ea7ff6a2e.jpg","text":"TemporaryFile(/tmp/multipartBody6138765056684032785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754551513435,"filename":"image_07082025_03_02_54_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/7/7f9c5e9f67795820b4ac33255c71d0ab.jpg","text":"TemporaryFile(/tmp/multipartBody5907144995821925931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754551513435,"filename":"image_07082025_03_03_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/7/e71ed111874e72afc75a35ecf91c0fcb.jpg","text":"TemporaryFile(/tmp/multipartBody129010806211682204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754551513435,"filename":"image_07082025_03_03_15_10067.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375597781","file1":"1375597777","file0":"1375597775","file4":"1375597809","file5":"1375597842","file3":"1375597784"},"map_files_photo_id_array":[{"photo_id":"1375597842","filename":"file5"},{"photo_id":"1375597781","filename":"file2"},{"photo_id":"1375597809","filename":"file4"},{"photo_id":"1375597777","filename":"file1"},{"photo_id":"1375597775","filename":"file0"},{"photo_id":"1375597784","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375597842":["hashtag1","hashtag2"]},{"1375597781":["hashtag1","hashtag2"]},{"1375597809":["hashtag1","hashtag2"]},{"1375597784":["hashtag1","hashtag2"]},{"1375597775":["hashtag1","hashtag2"]},{"1375597777":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375597842, 1375597781, 1375597809, 1375597784, 1375597775, 1375597777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.37882947921753 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:25:02.671891
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/02/image_07082025_03_02_24_9970.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_02_14_10041.jpg', 2), ('/mnt/data/07082025/03/01/image_07082025_03_02_04_9074.jpg', 2), ('/mnt/data/07082025/03/01/image_07082025_03_01_24_10020.jpg', 2), ('/mnt/data/07082025/03/00/image_07082025_03_00_14_9978.jpg', 2), ('/mnt/data/07082025/02/59/image_07082025_03_00_04_10112.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/02/image_07082025_03_02_24_9970.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_14_10041.jpg', '/mnt/data/07082025/03/01/image_07082025_03_02_04_9074.jpg', '/mnt/data/07082025/03/01/image_07082025_03_01_24_10020.jpg', '/mnt/data/07082025/03/00/image_07082025_03_00_14_9978.jpg', '/mnt/data/07082025/02/59/image_07082025_03_00_04_10112.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/02/image_07082025_03_02_24_9970.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_14_10041.jpg', '/mnt/data/07082025/03/01/image_07082025_03_02_04_9074.jpg', '/mnt/data/07082025/03/01/image_07082025_03_01_24_10020.jpg', '/mnt/data/07082025/03/00/image_07082025_03_00_14_9978.jpg', '/mnt/data/07082025/02/59/image_07082025_03_00_04_10112.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/02/image_07082025_03_02_24_9970.jpg
/mnt/data/07082025/03/02/image_07082025_03_02_14_10041.jpg
/mnt/data/07082025/03/01/image_07082025_03_02_04_9074.jpg
/mnt/data/07082025/03/01/image_07082025_03_01_24_10020.jpg
/mnt/data/07082025/03/00/image_07082025_03_00_14_9978.jpg
/mnt/data/07082025/02/59/image_07082025_03_00_04_10112.jpg
uploaded 0 photos
time to upload: 30.264962434768677 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:26:02.450035
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/02/image_07082025_03_02_24_9970.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_02_14_10041.jpg', 2), ('/mnt/data/07082025/03/01/image_07082025_03_02_04_9074.jpg', 2), ('/mnt/data/07082025/03/01/image_07082025_03_01_24_10020.jpg', 2), ('/mnt/data/07082025/03/00/image_07082025_03_00_14_9978.jpg', 2), ('/mnt/data/07082025/02/59/image_07082025_03_00_04_10112.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/02/image_07082025_03_02_24_9970.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_14_10041.jpg', '/mnt/data/07082025/03/01/image_07082025_03_02_04_9074.jpg', '/mnt/data/07082025/03/01/image_07082025_03_01_24_10020.jpg', '/mnt/data/07082025/03/00/image_07082025_03_00_14_9978.jpg', '/mnt/data/07082025/02/59/image_07082025_03_00_04_10112.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/02/image_07082025_03_02_24_9970.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_14_10041.jpg', '/mnt/data/07082025/03/01/image_07082025_03_02_04_9074.jpg', '/mnt/data/07082025/03/01/image_07082025_03_01_24_10020.jpg', '/mnt/data/07082025/03/00/image_07082025_03_00_14_9978.jpg', '/mnt/data/07082025/02/59/image_07082025_03_00_04_10112.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/02/image_07082025_03_02_24_9970.jpg
/mnt/data/07082025/03/02/image_07082025_03_02_14_10041.jpg
/mnt/data/07082025/03/01/image_07082025_03_02_04_9074.jpg
/mnt/data/07082025/03/01/image_07082025_03_01_24_10020.jpg
/mnt/data/07082025/03/00/image_07082025_03_00_14_9978.jpg
/mnt/data/07082025/02/59/image_07082025_03_00_04_10112.jpg
uploaded 0 photos
time to upload: 30.202133893966675 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:27:03.451965
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/02/image_07082025_03_02_24_9970.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_02_14_10041.jpg', 2), ('/mnt/data/07082025/03/01/image_07082025_03_02_04_9074.jpg', 2), ('/mnt/data/07082025/03/01/image_07082025_03_01_24_10020.jpg', 2), ('/mnt/data/07082025/03/00/image_07082025_03_00_14_9978.jpg', 2), ('/mnt/data/07082025/02/59/image_07082025_03_00_04_10112.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/02/image_07082025_03_02_24_9970.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_14_10041.jpg', '/mnt/data/07082025/03/01/image_07082025_03_02_04_9074.jpg', '/mnt/data/07082025/03/01/image_07082025_03_01_24_10020.jpg', '/mnt/data/07082025/03/00/image_07082025_03_00_14_9978.jpg', '/mnt/data/07082025/02/59/image_07082025_03_00_04_10112.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/02/image_07082025_03_02_24_9970.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_14_10041.jpg', '/mnt/data/07082025/03/01/image_07082025_03_02_04_9074.jpg', '/mnt/data/07082025/03/01/image_07082025_03_01_24_10020.jpg', '/mnt/data/07082025/03/00/image_07082025_03_00_14_9978.jpg', '/mnt/data/07082025/02/59/image_07082025_03_00_04_10112.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/02/image_07082025_03_02_24_9970.jpg
/mnt/data/07082025/03/02/image_07082025_03_02_14_10041.jpg
/mnt/data/07082025/03/01/image_07082025_03_02_04_9074.jpg
/mnt/data/07082025/03/01/image_07082025_03_01_24_10020.jpg
/mnt/data/07082025/03/00/image_07082025_03_00_14_9978.jpg
/mnt/data/07082025/02/59/image_07082025_03_00_04_10112.jpg
uploaded 0 photos
time to upload: 30.196672916412354 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:28:03.059856
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/02/image_07082025_03_02_24_9970.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_02_14_10041.jpg', 2), ('/mnt/data/07082025/03/01/image_07082025_03_02_04_9074.jpg', 2), ('/mnt/data/07082025/03/01/image_07082025_03_01_24_10020.jpg', 2), ('/mnt/data/07082025/03/00/image_07082025_03_00_14_9978.jpg', 2), ('/mnt/data/07082025/02/59/image_07082025_03_00_04_10112.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/02/image_07082025_03_02_24_9970.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_14_10041.jpg', '/mnt/data/07082025/03/01/image_07082025_03_02_04_9074.jpg', '/mnt/data/07082025/03/01/image_07082025_03_01_24_10020.jpg', '/mnt/data/07082025/03/00/image_07082025_03_00_14_9978.jpg', '/mnt/data/07082025/02/59/image_07082025_03_00_04_10112.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/02/image_07082025_03_02_24_9970.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_14_10041.jpg', '/mnt/data/07082025/03/01/image_07082025_03_02_04_9074.jpg', '/mnt/data/07082025/03/01/image_07082025_03_01_24_10020.jpg', '/mnt/data/07082025/03/00/image_07082025_03_00_14_9978.jpg', '/mnt/data/07082025/02/59/image_07082025_03_00_04_10112.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/02/image_07082025_03_02_24_9970.jpg
/mnt/data/07082025/03/02/image_07082025_03_02_14_10041.jpg
/mnt/data/07082025/03/01/image_07082025_03_02_04_9074.jpg
/mnt/data/07082025/03/01/image_07082025_03_01_24_10020.jpg
/mnt/data/07082025/03/00/image_07082025_03_00_14_9978.jpg
/mnt/data/07082025/02/59/image_07082025_03_00_04_10112.jpg
uploaded 0 photos
time to upload: 30.20427131652832 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:29:03.291708
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/02/image_07082025_03_02_24_9970.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_02_14_10041.jpg', 2), ('/mnt/data/07082025/03/01/image_07082025_03_02_04_9074.jpg', 2), ('/mnt/data/07082025/03/01/image_07082025_03_01_24_10020.jpg', 2), ('/mnt/data/07082025/03/00/image_07082025_03_00_14_9978.jpg', 2), ('/mnt/data/07082025/02/59/image_07082025_03_00_04_10112.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/02/image_07082025_03_02_24_9970.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_14_10041.jpg', '/mnt/data/07082025/03/01/image_07082025_03_02_04_9074.jpg', '/mnt/data/07082025/03/01/image_07082025_03_01_24_10020.jpg', '/mnt/data/07082025/03/00/image_07082025_03_00_14_9978.jpg', '/mnt/data/07082025/02/59/image_07082025_03_00_04_10112.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/02/image_07082025_03_02_24_9970.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_14_10041.jpg', '/mnt/data/07082025/03/01/image_07082025_03_02_04_9074.jpg', '/mnt/data/07082025/03/01/image_07082025_03_01_24_10020.jpg', '/mnt/data/07082025/03/00/image_07082025_03_00_14_9978.jpg', '/mnt/data/07082025/02/59/image_07082025_03_00_04_10112.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/02/image_07082025_03_02_24_9970.jpg
/mnt/data/07082025/03/02/image_07082025_03_02_14_10041.jpg
/mnt/data/07082025/03/01/image_07082025_03_02_04_9074.jpg
/mnt/data/07082025/03/01/image_07082025_03_01_24_10020.jpg
/mnt/data/07082025/03/00/image_07082025_03_00_14_9978.jpg
/mnt/data/07082025/02/59/image_07082025_03_00_04_10112.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 19.736083984375 secondes ---
<Response [408]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>408 Request Timeout</title>\n</head><body>\n<h1>Request Timeout</h1>\n<p>Server timeout waiting for the HTTP request from the client.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
408
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:30:02.654530
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/03/02/image_07082025_03_02_24_9970.jpg', 2), ('/mnt/data/07082025/03/02/image_07082025_03_02_14_10041.jpg', 2), ('/mnt/data/07082025/03/01/image_07082025_03_02_04_9074.jpg', 2), ('/mnt/data/07082025/03/01/image_07082025_03_01_24_10020.jpg', 2), ('/mnt/data/07082025/03/00/image_07082025_03_00_14_9978.jpg', 2), ('/mnt/data/07082025/02/59/image_07082025_03_00_04_10112.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/03/02/image_07082025_03_02_24_9970.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_14_10041.jpg', '/mnt/data/07082025/03/01/image_07082025_03_02_04_9074.jpg', '/mnt/data/07082025/03/01/image_07082025_03_01_24_10020.jpg', '/mnt/data/07082025/03/00/image_07082025_03_00_14_9978.jpg', '/mnt/data/07082025/02/59/image_07082025_03_00_04_10112.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/03/02/image_07082025_03_02_24_9970.jpg', '/mnt/data/07082025/03/02/image_07082025_03_02_14_10041.jpg', '/mnt/data/07082025/03/01/image_07082025_03_02_04_9074.jpg', '/mnt/data/07082025/03/01/image_07082025_03_01_24_10020.jpg', '/mnt/data/07082025/03/00/image_07082025_03_00_14_9978.jpg', '/mnt/data/07082025/02/59/image_07082025_03_00_04_10112.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/03/02/image_07082025_03_02_24_9970.jpg
/mnt/data/07082025/03/02/image_07082025_03_02_14_10041.jpg
/mnt/data/07082025/03/01/image_07082025_03_02_04_9074.jpg
/mnt/data/07082025/03/01/image_07082025_03_01_24_10020.jpg
/mnt/data/07082025/03/00/image_07082025_03_00_14_9978.jpg
/mnt/data/07082025/02/59/image_07082025_03_00_04_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":["1375598693","1375598668","1375598665","1375598725","1375598670","1375598673"],"photo_ids_order":["1375598665","1375598668","1375598670","1375598673","1375598693","1375598725"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/47fc35fa3bec68dbad26a1d9c44a4ae3.jpg","text":"TemporaryFile(/tmp/multipartBody939453908067426710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754551883737,"filename":"image_07082025_03_00_14_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/7/65e1b6a55bfdd38c81aaa1e97a7eed76.jpg","text":"TemporaryFile(/tmp/multipartBody3527310637294705847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754551883737,"filename":"image_07082025_03_02_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/7/c150058e5e7518a5b113b60dc6fbe2a0.jpg","text":"TemporaryFile(/tmp/multipartBody6688133541796111522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754551883737,"filename":"image_07082025_03_02_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/7/d243bd58953053e31d88271c95a6e18c.jpg","text":"TemporaryFile(/tmp/multipartBody6121328992661896751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754551883737,"filename":"image_07082025_03_00_04_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/7/370a3bdc9b31af9f035834740551a6f2.jpg","text":"TemporaryFile(/tmp/multipartBody4481128552001118366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754551883737,"filename":"image_07082025_03_02_04_9074.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/021d7e14c7a19dd3a5225bf4a4193bf1.jpg","text":"TemporaryFile(/tmp/multipartBody8371868513721069444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754551883737,"filename":"image_07082025_03_01_24_10020.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375598670","file1":"1375598668","file0":"1375598665","file4":"1375598693","file5":"1375598725","file3":"1375598673"},"map_files_photo_id_array":[{"photo_id":"1375598725","filename":"file5"},{"photo_id":"1375598670","filename":"file2"},{"photo_id":"1375598693","filename":"file4"},{"photo_id":"1375598668","filename":"file1"},{"photo_id":"1375598665","filename":"file0"},{"photo_id":"1375598673","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375598693":["hashtag1","hashtag2"]},{"1375598668":["hashtag1","hashtag2"]},{"1375598665":["hashtag1","hashtag2"]},{"1375598725":["hashtag1","hashtag2"]},{"1375598670":["hashtag1","hashtag2"]},{"1375598673":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375598693, 1375598668, 1375598665, 1375598725, 1375598670, 1375598673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.85886764526367 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:32:03.071560
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/59/image_07082025_02_59_54_10100.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg', 2), ('/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/59/image_07082025_02_59_54_10100.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg', '/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/59/image_07082025_02_59_54_10100.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg', '/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/59/image_07082025_02_59_54_10100.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg
/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg
uploaded 0 photos
time to upload: 30.20380687713623 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:33:02.706188
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/59/image_07082025_02_59_54_10100.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg', 2), ('/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/59/image_07082025_02_59_54_10100.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg', '/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/59/image_07082025_02_59_54_10100.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg', '/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/59/image_07082025_02_59_54_10100.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg
/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg
uploaded 0 photos
time to upload: 19.90234637260437 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-07 09:34:03.131076
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/59/image_07082025_02_59_54_10100.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg', 2), ('/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/59/image_07082025_02_59_54_10100.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg', '/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/59/image_07082025_02_59_54_10100.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg', '/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/59/image_07082025_02_59_54_10100.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg
/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg
uploaded 0 photos
time to upload: 30.205395221710205 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:35:03.029531
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/59/image_07082025_02_59_54_10100.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg', 2), ('/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/59/image_07082025_02_59_54_10100.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg', '/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/59/image_07082025_02_59_54_10100.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg', '/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/59/image_07082025_02_59_54_10100.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg
/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg
uploaded 0 photos
time to upload: 30.222585439682007 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:36:02.834343
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/59/image_07082025_02_59_54_10100.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg', 2), ('/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/59/image_07082025_02_59_54_10100.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg', '/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/59/image_07082025_02_59_54_10100.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg', '/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/59/image_07082025_02_59_54_10100.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg
/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg
uploaded 0 photos
time to upload: 30.202082872390747 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:37:02.821416
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/59/image_07082025_02_59_54_10100.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg', 2), ('/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg', 2), ('/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/59/image_07082025_02_59_54_10100.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg', '/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/59/image_07082025_02_59_54_10100.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg', '/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg', '/mnt/data/07082025/02/57/image_07082025_02_58_04_10302.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/59/image_07082025_02_59_54_10100.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_45_10172.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_35_10104.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_25_10134.jpg
/mnt/data/07082025/02/58/image_07082025_02_58_14_10206.jpg
/mnt/data/07082025/02/57/image_07082025_02_58_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":["1375600022","1375599893","1375599833","1375600053","1375599990","1375599930"],"photo_ids_order":["1375599833","1375599893","1375599930","1375599990","1375600022","1375600053"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/7108f63b2ab9223f82c52e393d1817b8.jpg","text":"TemporaryFile(/tmp/multipartBody8445716636742611444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754552311262,"filename":"image_07082025_02_58_14_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/7/764909dec072cdec8d7832e2712d6407.jpg","text":"TemporaryFile(/tmp/multipartBody4793281393925050722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754552311262,"filename":"image_07082025_02_58_45_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/7/5fc2638d9d47ba032f102dad8b08a99f.jpg","text":"TemporaryFile(/tmp/multipartBody9078379782846091016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754552311262,"filename":"image_07082025_02_59_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/7/879f3f2e0bd448d239691360d5b59dfc.jpg","text":"TemporaryFile(/tmp/multipartBody4885143143381986904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754552311262,"filename":"image_07082025_02_58_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/7/fef835e79204351c1b5c39b0fcb63beb.jpg","text":"TemporaryFile(/tmp/multipartBody1240347703555362630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754552311262,"filename":"image_07082025_02_58_25_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/7/ea701ca9767b0980c5a97a3ff5ba1163.jpg","text":"TemporaryFile(/tmp/multipartBody7815091144348111643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754552311262,"filename":"image_07082025_02_58_35_10104.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375599930","file1":"1375599893","file0":"1375599833","file4":"1375600022","file5":"1375600053","file3":"1375599990"},"map_files_photo_id_array":[{"photo_id":"1375600053","filename":"file5"},{"photo_id":"1375599930","filename":"file2"},{"photo_id":"1375600022","filename":"file4"},{"photo_id":"1375599893","filename":"file1"},{"photo_id":"1375599833","filename":"file0"},{"photo_id":"1375599990","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375600022":["hashtag1","hashtag2"]},{"1375599893":["hashtag1","hashtag2"]},{"1375599833":["hashtag1","hashtag2"]},{"1375600053":["hashtag1","hashtag2"]},{"1375599990":["hashtag1","hashtag2"]},{"1375599930":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375600022, 1375599893, 1375599833, 1375600053, 1375599990, 1375599930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.45671248435974 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:39:03.378749
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/57/image_07082025_02_57_54_9584.jpg', 2), ('/mnt/data/07082025/02/57/image_07082025_02_57_45_9971.jpg', 2), ('/mnt/data/07082025/02/57/image_07082025_02_57_34_10116.jpg', 2), ('/mnt/data/07082025/02/57/image_07082025_02_57_24_9917.jpg', 2), ('/mnt/data/07082025/02/57/image_07082025_02_57_14_10207.jpg', 2), ('/mnt/data/07082025/02/56/image_07082025_02_57_04_10232.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/57/image_07082025_02_57_54_9584.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_45_9971.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_34_10116.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_24_9917.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_14_10207.jpg', '/mnt/data/07082025/02/56/image_07082025_02_57_04_10232.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/57/image_07082025_02_57_54_9584.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_45_9971.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_34_10116.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_24_9917.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_14_10207.jpg', '/mnt/data/07082025/02/56/image_07082025_02_57_04_10232.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/57/image_07082025_02_57_54_9584.jpg
/mnt/data/07082025/02/57/image_07082025_02_57_45_9971.jpg
/mnt/data/07082025/02/57/image_07082025_02_57_34_10116.jpg
/mnt/data/07082025/02/57/image_07082025_02_57_24_9917.jpg
/mnt/data/07082025/02/57/image_07082025_02_57_14_10207.jpg
/mnt/data/07082025/02/56/image_07082025_02_57_04_10232.jpg
uploaded 0 photos
time to upload: 30.2698872089386 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:40:03.036990
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/57/image_07082025_02_57_54_9584.jpg', 2), ('/mnt/data/07082025/02/57/image_07082025_02_57_45_9971.jpg', 2), ('/mnt/data/07082025/02/57/image_07082025_02_57_34_10116.jpg', 2), ('/mnt/data/07082025/02/57/image_07082025_02_57_24_9917.jpg', 2), ('/mnt/data/07082025/02/57/image_07082025_02_57_14_10207.jpg', 2), ('/mnt/data/07082025/02/56/image_07082025_02_57_04_10232.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/57/image_07082025_02_57_54_9584.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_45_9971.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_34_10116.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_24_9917.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_14_10207.jpg', '/mnt/data/07082025/02/56/image_07082025_02_57_04_10232.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/57/image_07082025_02_57_54_9584.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_45_9971.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_34_10116.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_24_9917.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_14_10207.jpg', '/mnt/data/07082025/02/56/image_07082025_02_57_04_10232.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/57/image_07082025_02_57_54_9584.jpg
/mnt/data/07082025/02/57/image_07082025_02_57_45_9971.jpg
/mnt/data/07082025/02/57/image_07082025_02_57_34_10116.jpg
/mnt/data/07082025/02/57/image_07082025_02_57_24_9917.jpg
/mnt/data/07082025/02/57/image_07082025_02_57_14_10207.jpg
/mnt/data/07082025/02/56/image_07082025_02_57_04_10232.jpg
uploaded 0 photos
time to upload: 30.19505500793457 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:41:03.012639
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/57/image_07082025_02_57_54_9584.jpg', 2), ('/mnt/data/07082025/02/57/image_07082025_02_57_45_9971.jpg', 2), ('/mnt/data/07082025/02/57/image_07082025_02_57_34_10116.jpg', 2), ('/mnt/data/07082025/02/57/image_07082025_02_57_24_9917.jpg', 2), ('/mnt/data/07082025/02/57/image_07082025_02_57_14_10207.jpg', 2), ('/mnt/data/07082025/02/56/image_07082025_02_57_04_10232.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/57/image_07082025_02_57_54_9584.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_45_9971.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_34_10116.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_24_9917.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_14_10207.jpg', '/mnt/data/07082025/02/56/image_07082025_02_57_04_10232.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/57/image_07082025_02_57_54_9584.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_45_9971.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_34_10116.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_24_9917.jpg', '/mnt/data/07082025/02/57/image_07082025_02_57_14_10207.jpg', '/mnt/data/07082025/02/56/image_07082025_02_57_04_10232.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/57/image_07082025_02_57_54_9584.jpg
/mnt/data/07082025/02/57/image_07082025_02_57_45_9971.jpg
/mnt/data/07082025/02/57/image_07082025_02_57_34_10116.jpg
/mnt/data/07082025/02/57/image_07082025_02_57_24_9917.jpg
/mnt/data/07082025/02/57/image_07082025_02_57_14_10207.jpg
/mnt/data/07082025/02/56/image_07082025_02_57_04_10232.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":["1375602300","1375602012","1375602108","1375601928","1375602422","1375602202"],"photo_ids_order":["1375601928","1375602012","1375602108","1375602202","1375602300","1375602422"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/a298d37ca1cd8d2cfa70085f5ca9466d.jpg","text":"TemporaryFile(/tmp/multipartBody6930671578900903641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754552552432,"filename":"image_07082025_02_57_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/7/23cc6910e501a2920c8613d530727f8e.jpg","text":"TemporaryFile(/tmp/multipartBody9086493265411792400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754552552432,"filename":"image_07082025_02_57_45_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/7/96b8786639b66cffb61350a0d88b0d30.jpg","text":"TemporaryFile(/tmp/multipartBody5456141336511995084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754552552432,"filename":"image_07082025_02_57_34_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/7/2d77de441b65b7b6200aa38ac70640c1.jpg","text":"TemporaryFile(/tmp/multipartBody7210918391590808372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754552552432,"filename":"image_07082025_02_57_54_9584.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/9e5e79c62e46eff1d1a562983fd61233.jpg","text":"TemporaryFile(/tmp/multipartBody68048226402295113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754552552432,"filename":"image_07082025_02_57_04_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/7/8c4dc0e6a0573ba3288b10e336c80a72.jpg","text":"TemporaryFile(/tmp/multipartBody7418379827906642828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754552552432,"filename":"image_07082025_02_57_24_9917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375602108","file1":"1375602012","file0":"1375601928","file4":"1375602300","file5":"1375602422","file3":"1375602202"},"map_files_photo_id_array":[{"photo_id":"1375602422","filename":"file5"},{"photo_id":"1375602108","filename":"file2"},{"photo_id":"1375602300","filename":"file4"},{"photo_id":"1375602012","filename":"file1"},{"photo_id":"1375601928","filename":"file0"},{"photo_id":"1375602202","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375602300":["hashtag1","hashtag2"]},{"1375602012":["hashtag1","hashtag2"]},{"1375602108":["hashtag1","hashtag2"]},{"1375601928":["hashtag1","hashtag2"]},{"1375602422":["hashtag1","hashtag2"]},{"1375602202":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375602300, 1375602012, 1375602108, 1375601928, 1375602422, 1375602202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.44809079170227 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:43:02.974652
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/56/image_07082025_02_56_54_8912.jpg', 2), ('/mnt/data/07082025/02/56/image_07082025_02_56_45_11094.jpg', 2), ('/mnt/data/07082025/02/56/image_07082025_02_56_34_8942.jpg', 2), ('/mnt/data/07082025/02/56/image_07082025_02_56_25_10180.jpg', 2), ('/mnt/data/07082025/02/56/image_07082025_02_56_15_9960.jpg', 2), ('/mnt/data/07082025/02/55/image_07082025_02_56_05_10193.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/56/image_07082025_02_56_54_8912.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_45_11094.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_34_8942.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_25_10180.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_15_9960.jpg', '/mnt/data/07082025/02/55/image_07082025_02_56_05_10193.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/56/image_07082025_02_56_54_8912.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_45_11094.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_34_8942.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_25_10180.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_15_9960.jpg', '/mnt/data/07082025/02/55/image_07082025_02_56_05_10193.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/56/image_07082025_02_56_54_8912.jpg
/mnt/data/07082025/02/56/image_07082025_02_56_45_11094.jpg
/mnt/data/07082025/02/56/image_07082025_02_56_34_8942.jpg
/mnt/data/07082025/02/56/image_07082025_02_56_25_10180.jpg
/mnt/data/07082025/02/56/image_07082025_02_56_15_9960.jpg
/mnt/data/07082025/02/55/image_07082025_02_56_05_10193.jpg
uploaded 0 photos
time to upload: 30.251205682754517 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:44:02.499007
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/56/image_07082025_02_56_54_8912.jpg', 2), ('/mnt/data/07082025/02/56/image_07082025_02_56_45_11094.jpg', 2), ('/mnt/data/07082025/02/56/image_07082025_02_56_34_8942.jpg', 2), ('/mnt/data/07082025/02/56/image_07082025_02_56_25_10180.jpg', 2), ('/mnt/data/07082025/02/56/image_07082025_02_56_15_9960.jpg', 2), ('/mnt/data/07082025/02/55/image_07082025_02_56_05_10193.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/56/image_07082025_02_56_54_8912.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_45_11094.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_34_8942.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_25_10180.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_15_9960.jpg', '/mnt/data/07082025/02/55/image_07082025_02_56_05_10193.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/56/image_07082025_02_56_54_8912.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_45_11094.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_34_8942.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_25_10180.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_15_9960.jpg', '/mnt/data/07082025/02/55/image_07082025_02_56_05_10193.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/56/image_07082025_02_56_54_8912.jpg
/mnt/data/07082025/02/56/image_07082025_02_56_45_11094.jpg
/mnt/data/07082025/02/56/image_07082025_02_56_34_8942.jpg
/mnt/data/07082025/02/56/image_07082025_02_56_25_10180.jpg
/mnt/data/07082025/02/56/image_07082025_02_56_15_9960.jpg
/mnt/data/07082025/02/55/image_07082025_02_56_05_10193.jpg
uploaded 0 photos
time to upload: 30.20104479789734 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:45:03.572799
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/56/image_07082025_02_56_54_8912.jpg', 2), ('/mnt/data/07082025/02/56/image_07082025_02_56_45_11094.jpg', 2), ('/mnt/data/07082025/02/56/image_07082025_02_56_34_8942.jpg', 2), ('/mnt/data/07082025/02/56/image_07082025_02_56_25_10180.jpg', 2), ('/mnt/data/07082025/02/56/image_07082025_02_56_15_9960.jpg', 2), ('/mnt/data/07082025/02/55/image_07082025_02_56_05_10193.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/56/image_07082025_02_56_54_8912.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_45_11094.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_34_8942.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_25_10180.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_15_9960.jpg', '/mnt/data/07082025/02/55/image_07082025_02_56_05_10193.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/56/image_07082025_02_56_54_8912.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_45_11094.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_34_8942.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_25_10180.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_15_9960.jpg', '/mnt/data/07082025/02/55/image_07082025_02_56_05_10193.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/56/image_07082025_02_56_54_8912.jpg
/mnt/data/07082025/02/56/image_07082025_02_56_45_11094.jpg
/mnt/data/07082025/02/56/image_07082025_02_56_34_8942.jpg
/mnt/data/07082025/02/56/image_07082025_02_56_25_10180.jpg
/mnt/data/07082025/02/56/image_07082025_02_56_15_9960.jpg
/mnt/data/07082025/02/55/image_07082025_02_56_05_10193.jpg
uploaded 0 photos
time to upload: 30.227577686309814 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:46:02.873252
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/56/image_07082025_02_56_54_8912.jpg', 2), ('/mnt/data/07082025/02/56/image_07082025_02_56_45_11094.jpg', 2), ('/mnt/data/07082025/02/56/image_07082025_02_56_34_8942.jpg', 2), ('/mnt/data/07082025/02/56/image_07082025_02_56_25_10180.jpg', 2), ('/mnt/data/07082025/02/56/image_07082025_02_56_15_9960.jpg', 2), ('/mnt/data/07082025/02/55/image_07082025_02_56_05_10193.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/56/image_07082025_02_56_54_8912.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_45_11094.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_34_8942.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_25_10180.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_15_9960.jpg', '/mnt/data/07082025/02/55/image_07082025_02_56_05_10193.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/56/image_07082025_02_56_54_8912.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_45_11094.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_34_8942.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_25_10180.jpg', '/mnt/data/07082025/02/56/image_07082025_02_56_15_9960.jpg', '/mnt/data/07082025/02/55/image_07082025_02_56_05_10193.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/56/image_07082025_02_56_54_8912.jpg
/mnt/data/07082025/02/56/image_07082025_02_56_45_11094.jpg
/mnt/data/07082025/02/56/image_07082025_02_56_34_8942.jpg
/mnt/data/07082025/02/56/image_07082025_02_56_25_10180.jpg
/mnt/data/07082025/02/56/image_07082025_02_56_15_9960.jpg
/mnt/data/07082025/02/55/image_07082025_02_56_05_10193.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375605065","1375605041","1375605017","1375605081","1375605072","1375605092"],"photo_ids_order":["1375605017","1375605041","1375605065","1375605072","1375605081","1375605092"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/73f58870941fbedc251d70c0b9b32ce2.jpg","text":"TemporaryFile(/tmp/multipartBody6298913948712216500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754552827763,"filename":"image_07082025_02_56_34_8942.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d8359623d9adec995f53f0a63a7e7993.jpg","text":"TemporaryFile(/tmp/multipartBody2969697417420317007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754552827763,"filename":"image_07082025_02_56_45_11094.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/fa49b7dd0ca4faf559230630ee272d6b.jpg","text":"TemporaryFile(/tmp/multipartBody1526787648228049035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754552827763,"filename":"image_07082025_02_56_54_8912.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/6de119e9fd4e4c6fb4108ba0bcb481a1.jpg","text":"TemporaryFile(/tmp/multipartBody2503641427327175795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754552827763,"filename":"image_07082025_02_56_15_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/7/4600f6475cdbf7d9e12d2a2c44a9fbc2.jpg","text":"TemporaryFile(/tmp/multipartBody5613491424911734357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754552827763,"filename":"image_07082025_02_56_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/7/6824f6e14ef50fab119c54ecb0b8a484.jpg","text":"TemporaryFile(/tmp/multipartBody198959738553177137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754552827763,"filename":"image_07082025_02_56_05_10193.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375605065","file1":"1375605041","file0":"1375605017","file4":"1375605081","file5":"1375605092","file3":"1375605072"},"map_files_photo_id_array":[{"photo_id":"1375605092","filename":"file5"},{"photo_id":"1375605065","filename":"file2"},{"photo_id":"1375605081","filename":"file4"},{"photo_id":"1375605041","filename":"file1"},{"photo_id":"1375605017","filename":"file0"},{"photo_id":"1375605072","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375605065":["hashtag1","hashtag2"]},{"1375605041":["hashtag1","hashtag2"]},{"1375605017":["hashtag1","hashtag2"]},{"1375605081":["hashtag1","hashtag2"]},{"1375605072":["hashtag1","hashtag2"]},{"1375605092":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375605065, 1375605041, 1375605017, 1375605081, 1375605072, 1375605092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.652695178985596 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:47:02.917689
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/55/image_07082025_02_55_55_9999.jpg', 2), ('/mnt/data/07082025/02/55/image_07082025_02_55_45_10139.jpg', 2), ('/mnt/data/07082025/02/55/image_07082025_02_55_14_10093.jpg', 2), ('/mnt/data/07082025/02/54/image_07082025_02_55_04_10120.jpg', 2), ('/mnt/data/07082025/02/54/image_07082025_02_54_54_9967.jpg', 2), ('/mnt/data/07082025/02/53/image_07082025_02_53_44_9943.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/55/image_07082025_02_55_55_9999.jpg', '/mnt/data/07082025/02/55/image_07082025_02_55_45_10139.jpg', '/mnt/data/07082025/02/55/image_07082025_02_55_14_10093.jpg', '/mnt/data/07082025/02/54/image_07082025_02_55_04_10120.jpg', '/mnt/data/07082025/02/54/image_07082025_02_54_54_9967.jpg', '/mnt/data/07082025/02/53/image_07082025_02_53_44_9943.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/55/image_07082025_02_55_55_9999.jpg', '/mnt/data/07082025/02/55/image_07082025_02_55_45_10139.jpg', '/mnt/data/07082025/02/55/image_07082025_02_55_14_10093.jpg', '/mnt/data/07082025/02/54/image_07082025_02_55_04_10120.jpg', '/mnt/data/07082025/02/54/image_07082025_02_54_54_9967.jpg', '/mnt/data/07082025/02/53/image_07082025_02_53_44_9943.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/55/image_07082025_02_55_55_9999.jpg
/mnt/data/07082025/02/55/image_07082025_02_55_45_10139.jpg
/mnt/data/07082025/02/55/image_07082025_02_55_14_10093.jpg
/mnt/data/07082025/02/54/image_07082025_02_55_04_10120.jpg
/mnt/data/07082025/02/54/image_07082025_02_54_54_9967.jpg
/mnt/data/07082025/02/53/image_07082025_02_53_44_9943.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":["1375605437","1375605688","1375605625","1375605564","1375605372","1375605501"],"photo_ids_order":["1375605372","1375605437","1375605501","1375605564","1375605625","1375605688"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/9a49eac242512d27e7b4a42165935048.jpg","text":"TemporaryFile(/tmp/multipartBody6800880776147370170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754552907673,"filename":"image_07082025_02_55_45_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/7/ebacdecd9fd2b628d2f17541139fb070.jpg","text":"TemporaryFile(/tmp/multipartBody4222979138607720357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754552907673,"filename":"image_07082025_02_53_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/7/e9802101e0c7d34e03aae9cac1d397bc.jpg","text":"TemporaryFile(/tmp/multipartBody921108438649528094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754552907673,"filename":"image_07082025_02_54_54_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/7/15fba5a607c973cb67494d0320bddd4f.jpg","text":"TemporaryFile(/tmp/multipartBody6308137468967131953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754552907673,"filename":"image_07082025_02_55_04_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/7/ede64df12adc360100ea5c52022eb9e2.jpg","text":"TemporaryFile(/tmp/multipartBody7292781430233831732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754552907673,"filename":"image_07082025_02_55_55_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/7/b4b129fbe82673dd4bacbf45d14063dc.jpg","text":"TemporaryFile(/tmp/multipartBody6060890515746666150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754552907673,"filename":"image_07082025_02_55_14_10093.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375605501","file1":"1375605437","file0":"1375605372","file4":"1375605625","file5":"1375605688","file3":"1375605564"},"map_files_photo_id_array":[{"photo_id":"1375605688","filename":"file5"},{"photo_id":"1375605501","filename":"file2"},{"photo_id":"1375605625","filename":"file4"},{"photo_id":"1375605437","filename":"file1"},{"photo_id":"1375605372","filename":"file0"},{"photo_id":"1375605564","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375605437":["hashtag1","hashtag2"]},{"1375605688":["hashtag1","hashtag2"]},{"1375605625":["hashtag1","hashtag2"]},{"1375605564":["hashtag1","hashtag2"]},{"1375605372":["hashtag1","hashtag2"]},{"1375605501":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375605437, 1375605688, 1375605625, 1375605564, 1375605372, 1375605501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.692999839782715 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:49:03.547717
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/53/image_07082025_02_53_24_10004.jpg', 2), ('/mnt/data/07082025/02/53/image_07082025_02_53_14_9990.jpg', 2), ('/mnt/data/07082025/02/52/image_07082025_02_53_04_9152.jpg', 2), ('/mnt/data/07082025/02/52/image_07082025_02_52_55_10227.jpg', 2), ('/mnt/data/07082025/02/52/image_07082025_02_52_45_10302.jpg', 2), ('/mnt/data/07082025/02/52/image_07082025_02_52_34_10169.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/53/image_07082025_02_53_24_10004.jpg', '/mnt/data/07082025/02/53/image_07082025_02_53_14_9990.jpg', '/mnt/data/07082025/02/52/image_07082025_02_53_04_9152.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_55_10227.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_45_10302.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_34_10169.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/53/image_07082025_02_53_24_10004.jpg', '/mnt/data/07082025/02/53/image_07082025_02_53_14_9990.jpg', '/mnt/data/07082025/02/52/image_07082025_02_53_04_9152.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_55_10227.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_45_10302.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_34_10169.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/53/image_07082025_02_53_24_10004.jpg
/mnt/data/07082025/02/53/image_07082025_02_53_14_9990.jpg
/mnt/data/07082025/02/52/image_07082025_02_53_04_9152.jpg
/mnt/data/07082025/02/52/image_07082025_02_52_55_10227.jpg
/mnt/data/07082025/02/52/image_07082025_02_52_45_10302.jpg
/mnt/data/07082025/02/52/image_07082025_02_52_34_10169.jpg
uploaded 0 photos
time to upload: 30.201615571975708 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:50:03.065347
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/53/image_07082025_02_53_24_10004.jpg', 2), ('/mnt/data/07082025/02/53/image_07082025_02_53_14_9990.jpg', 2), ('/mnt/data/07082025/02/52/image_07082025_02_53_04_9152.jpg', 2), ('/mnt/data/07082025/02/52/image_07082025_02_52_55_10227.jpg', 2), ('/mnt/data/07082025/02/52/image_07082025_02_52_45_10302.jpg', 2), ('/mnt/data/07082025/02/52/image_07082025_02_52_34_10169.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/53/image_07082025_02_53_24_10004.jpg', '/mnt/data/07082025/02/53/image_07082025_02_53_14_9990.jpg', '/mnt/data/07082025/02/52/image_07082025_02_53_04_9152.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_55_10227.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_45_10302.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_34_10169.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/53/image_07082025_02_53_24_10004.jpg', '/mnt/data/07082025/02/53/image_07082025_02_53_14_9990.jpg', '/mnt/data/07082025/02/52/image_07082025_02_53_04_9152.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_55_10227.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_45_10302.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_34_10169.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/53/image_07082025_02_53_24_10004.jpg
/mnt/data/07082025/02/53/image_07082025_02_53_14_9990.jpg
/mnt/data/07082025/02/52/image_07082025_02_53_04_9152.jpg
/mnt/data/07082025/02/52/image_07082025_02_52_55_10227.jpg
/mnt/data/07082025/02/52/image_07082025_02_52_45_10302.jpg
/mnt/data/07082025/02/52/image_07082025_02_52_34_10169.jpg
uploaded 0 photos
time to upload: 30.195651054382324 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:51:03.092562
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/53/image_07082025_02_53_24_10004.jpg', 2), ('/mnt/data/07082025/02/53/image_07082025_02_53_14_9990.jpg', 2), ('/mnt/data/07082025/02/52/image_07082025_02_53_04_9152.jpg', 2), ('/mnt/data/07082025/02/52/image_07082025_02_52_55_10227.jpg', 2), ('/mnt/data/07082025/02/52/image_07082025_02_52_45_10302.jpg', 2), ('/mnt/data/07082025/02/52/image_07082025_02_52_34_10169.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/53/image_07082025_02_53_24_10004.jpg', '/mnt/data/07082025/02/53/image_07082025_02_53_14_9990.jpg', '/mnt/data/07082025/02/52/image_07082025_02_53_04_9152.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_55_10227.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_45_10302.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_34_10169.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/53/image_07082025_02_53_24_10004.jpg', '/mnt/data/07082025/02/53/image_07082025_02_53_14_9990.jpg', '/mnt/data/07082025/02/52/image_07082025_02_53_04_9152.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_55_10227.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_45_10302.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_34_10169.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/53/image_07082025_02_53_24_10004.jpg
/mnt/data/07082025/02/53/image_07082025_02_53_14_9990.jpg
/mnt/data/07082025/02/52/image_07082025_02_53_04_9152.jpg
/mnt/data/07082025/02/52/image_07082025_02_52_55_10227.jpg
/mnt/data/07082025/02/52/image_07082025_02_52_45_10302.jpg
/mnt/data/07082025/02/52/image_07082025_02_52_34_10169.jpg
uploaded 0 photos
time to upload: 30.22731852531433 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:52:02.828350
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/53/image_07082025_02_53_24_10004.jpg', 2), ('/mnt/data/07082025/02/53/image_07082025_02_53_14_9990.jpg', 2), ('/mnt/data/07082025/02/52/image_07082025_02_53_04_9152.jpg', 2), ('/mnt/data/07082025/02/52/image_07082025_02_52_55_10227.jpg', 2), ('/mnt/data/07082025/02/52/image_07082025_02_52_45_10302.jpg', 2), ('/mnt/data/07082025/02/52/image_07082025_02_52_34_10169.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/53/image_07082025_02_53_24_10004.jpg', '/mnt/data/07082025/02/53/image_07082025_02_53_14_9990.jpg', '/mnt/data/07082025/02/52/image_07082025_02_53_04_9152.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_55_10227.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_45_10302.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_34_10169.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/53/image_07082025_02_53_24_10004.jpg', '/mnt/data/07082025/02/53/image_07082025_02_53_14_9990.jpg', '/mnt/data/07082025/02/52/image_07082025_02_53_04_9152.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_55_10227.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_45_10302.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_34_10169.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/53/image_07082025_02_53_24_10004.jpg
/mnt/data/07082025/02/53/image_07082025_02_53_14_9990.jpg
/mnt/data/07082025/02/52/image_07082025_02_53_04_9152.jpg
/mnt/data/07082025/02/52/image_07082025_02_52_55_10227.jpg
/mnt/data/07082025/02/52/image_07082025_02_52_45_10302.jpg
/mnt/data/07082025/02/52/image_07082025_02_52_34_10169.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":["1375607754","1375607697","1375607718","1375607706","1375607786","1375607702"],"photo_ids_order":["1375607697","1375607702","1375607706","1375607718","1375607754","1375607786"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/e424ab6af92b6eef3463958a15c0ac11.jpg","text":"TemporaryFile(/tmp/multipartBody4577209521043719810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553205707,"filename":"image_07082025_02_52_45_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/7/3aef4ec034b89cf3bf3d8c35fb2a57d4.jpg","text":"TemporaryFile(/tmp/multipartBody2826681520989515563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553205707,"filename":"image_07082025_02_53_24_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/7/30f0a7907f39b11b5e10f03499584a8d.jpg","text":"TemporaryFile(/tmp/multipartBody209086551080174465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553205707,"filename":"image_07082025_02_52_55_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/7/9fde2fe97c04a8a78de59ecaf3a46fc7.jpg","text":"TemporaryFile(/tmp/multipartBody6750928412560203064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553205707,"filename":"image_07082025_02_53_04_9152.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/7616225b8225fe817718a909491b3a58.jpg","text":"TemporaryFile(/tmp/multipartBody6894894953926525984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553205707,"filename":"image_07082025_02_52_34_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/7/4140724605cbc9416d26ae8370d5e40d.jpg","text":"TemporaryFile(/tmp/multipartBody4363311972111041846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553205707,"filename":"image_07082025_02_53_14_9990.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375607706","file1":"1375607702","file0":"1375607697","file4":"1375607754","file5":"1375607786","file3":"1375607718"},"map_files_photo_id_array":[{"photo_id":"1375607786","filename":"file5"},{"photo_id":"1375607706","filename":"file2"},{"photo_id":"1375607754","filename":"file4"},{"photo_id":"1375607702","filename":"file1"},{"photo_id":"1375607697","filename":"file0"},{"photo_id":"1375607718","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375607754":["hashtag1","hashtag2"]},{"1375607697":["hashtag1","hashtag2"]},{"1375607718":["hashtag1","hashtag2"]},{"1375607706":["hashtag1","hashtag2"]},{"1375607786":["hashtag1","hashtag2"]},{"1375607702":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375607754, 1375607697, 1375607718, 1375607706, 1375607786, 1375607702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.985074520111084 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:54:02.863847
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/52/image_07082025_02_52_24_10207.jpg', 2), ('/mnt/data/07082025/02/52/image_07082025_02_52_14_8991.jpg', 2), ('/mnt/data/07082025/02/51/image_07082025_02_52_05_10390.jpg', 2), ('/mnt/data/07082025/02/51/image_07082025_02_51_54_10208.jpg', 2), ('/mnt/data/07082025/02/51/image_07082025_02_51_44_10187.jpg', 2), ('/mnt/data/07082025/02/51/image_07082025_02_51_34_10145.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/52/image_07082025_02_52_24_10207.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_14_8991.jpg', '/mnt/data/07082025/02/51/image_07082025_02_52_05_10390.jpg', '/mnt/data/07082025/02/51/image_07082025_02_51_54_10208.jpg', '/mnt/data/07082025/02/51/image_07082025_02_51_44_10187.jpg', '/mnt/data/07082025/02/51/image_07082025_02_51_34_10145.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/52/image_07082025_02_52_24_10207.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_14_8991.jpg', '/mnt/data/07082025/02/51/image_07082025_02_52_05_10390.jpg', '/mnt/data/07082025/02/51/image_07082025_02_51_54_10208.jpg', '/mnt/data/07082025/02/51/image_07082025_02_51_44_10187.jpg', '/mnt/data/07082025/02/51/image_07082025_02_51_34_10145.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/52/image_07082025_02_52_24_10207.jpg
/mnt/data/07082025/02/52/image_07082025_02_52_14_8991.jpg
/mnt/data/07082025/02/51/image_07082025_02_52_05_10390.jpg
/mnt/data/07082025/02/51/image_07082025_02_51_54_10208.jpg
/mnt/data/07082025/02/51/image_07082025_02_51_44_10187.jpg
/mnt/data/07082025/02/51/image_07082025_02_51_34_10145.jpg
uploaded 0 photos
time to upload: 31.251654863357544 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:55:02.786512
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/52/image_07082025_02_52_24_10207.jpg', 2), ('/mnt/data/07082025/02/52/image_07082025_02_52_14_8991.jpg', 2), ('/mnt/data/07082025/02/51/image_07082025_02_52_05_10390.jpg', 2), ('/mnt/data/07082025/02/51/image_07082025_02_51_54_10208.jpg', 2), ('/mnt/data/07082025/02/51/image_07082025_02_51_44_10187.jpg', 2), ('/mnt/data/07082025/02/51/image_07082025_02_51_34_10145.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/52/image_07082025_02_52_24_10207.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_14_8991.jpg', '/mnt/data/07082025/02/51/image_07082025_02_52_05_10390.jpg', '/mnt/data/07082025/02/51/image_07082025_02_51_54_10208.jpg', '/mnt/data/07082025/02/51/image_07082025_02_51_44_10187.jpg', '/mnt/data/07082025/02/51/image_07082025_02_51_34_10145.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/52/image_07082025_02_52_24_10207.jpg', '/mnt/data/07082025/02/52/image_07082025_02_52_14_8991.jpg', '/mnt/data/07082025/02/51/image_07082025_02_52_05_10390.jpg', '/mnt/data/07082025/02/51/image_07082025_02_51_54_10208.jpg', '/mnt/data/07082025/02/51/image_07082025_02_51_44_10187.jpg', '/mnt/data/07082025/02/51/image_07082025_02_51_34_10145.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/52/image_07082025_02_52_24_10207.jpg
/mnt/data/07082025/02/52/image_07082025_02_52_14_8991.jpg
/mnt/data/07082025/02/51/image_07082025_02_52_05_10390.jpg
/mnt/data/07082025/02/51/image_07082025_02_51_54_10208.jpg
/mnt/data/07082025/02/51/image_07082025_02_51_44_10187.jpg
/mnt/data/07082025/02/51/image_07082025_02_51_34_10145.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":["1375608648","1375608708","1375608788","1375608578","1375608767","1375608789"],"photo_ids_order":["1375608578","1375608648","1375608708","1375608767","1375608788","1375608789"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d3a1efe40a9424843aea51db129d0c99.jpg","text":"TemporaryFile(/tmp/multipartBody3740973103228815158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553385778,"filename":"image_07082025_02_52_14_8991.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/89fea46639b25955a09efdb5fa22c54a.jpg","text":"TemporaryFile(/tmp/multipartBody708028337366916122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553385778,"filename":"image_07082025_02_52_05_10390.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/8f1208bb97cad0b5904ec6b822db7b20.jpg","text":"TemporaryFile(/tmp/multipartBody5834539442680431320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553385778,"filename":"image_07082025_02_51_44_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/7/71743ba2979ab041267115263a948ae6.jpg","text":"TemporaryFile(/tmp/multipartBody3924525237249659633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553385778,"filename":"image_07082025_02_52_24_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/7/7ba85819e02da80a1ee91a0ba17e1cbe.jpg","text":"TemporaryFile(/tmp/multipartBody165956733264973111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553385778,"filename":"image_07082025_02_51_54_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/7/023a917f3b79bd285e3b50cc660ffeb4.jpg","text":"TemporaryFile(/tmp/multipartBody4107570474299523798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553385778,"filename":"image_07082025_02_51_34_10145.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375608708","file1":"1375608648","file0":"1375608578","file4":"1375608788","file5":"1375608789","file3":"1375608767"},"map_files_photo_id_array":[{"photo_id":"1375608789","filename":"file5"},{"photo_id":"1375608708","filename":"file2"},{"photo_id":"1375608788","filename":"file4"},{"photo_id":"1375608648","filename":"file1"},{"photo_id":"1375608578","filename":"file0"},{"photo_id":"1375608767","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375608648":["hashtag1","hashtag2"]},{"1375608708":["hashtag1","hashtag2"]},{"1375608788":["hashtag1","hashtag2"]},{"1375608578":["hashtag1","hashtag2"]},{"1375608767":["hashtag1","hashtag2"]},{"1375608789":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375608648, 1375608708, 1375608788, 1375608578, 1375608767, 1375608789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.81943273544312 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:57:03.085603
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/51/image_07082025_02_51_24_8981.jpg', 2), ('/mnt/data/07082025/02/51/image_07082025_02_51_15_10305.jpg', 2), ('/mnt/data/07082025/02/50/image_07082025_02_51_05_9973.jpg', 2), ('/mnt/data/07082025/02/50/image_07082025_02_50_55_10139.jpg', 2), ('/mnt/data/07082025/02/49/image_07082025_02_49_44_10185.jpg', 2), ('/mnt/data/07082025/02/49/image_07082025_02_49_34_9965.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/51/image_07082025_02_51_24_8981.jpg', '/mnt/data/07082025/02/51/image_07082025_02_51_15_10305.jpg', '/mnt/data/07082025/02/50/image_07082025_02_51_05_9973.jpg', '/mnt/data/07082025/02/50/image_07082025_02_50_55_10139.jpg', '/mnt/data/07082025/02/49/image_07082025_02_49_44_10185.jpg', '/mnt/data/07082025/02/49/image_07082025_02_49_34_9965.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/51/image_07082025_02_51_24_8981.jpg', '/mnt/data/07082025/02/51/image_07082025_02_51_15_10305.jpg', '/mnt/data/07082025/02/50/image_07082025_02_51_05_9973.jpg', '/mnt/data/07082025/02/50/image_07082025_02_50_55_10139.jpg', '/mnt/data/07082025/02/49/image_07082025_02_49_44_10185.jpg', '/mnt/data/07082025/02/49/image_07082025_02_49_34_9965.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/51/image_07082025_02_51_24_8981.jpg
/mnt/data/07082025/02/51/image_07082025_02_51_15_10305.jpg
/mnt/data/07082025/02/50/image_07082025_02_51_05_9973.jpg
/mnt/data/07082025/02/50/image_07082025_02_50_55_10139.jpg
/mnt/data/07082025/02/49/image_07082025_02_49_44_10185.jpg
/mnt/data/07082025/02/49/image_07082025_02_49_34_9965.jpg
uploaded 0 photos
time to upload: 30.258050203323364 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 09:59:03.676624
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/51/image_07082025_02_51_24_8981.jpg', 2), ('/mnt/data/07082025/02/51/image_07082025_02_51_15_10305.jpg', 2), ('/mnt/data/07082025/02/50/image_07082025_02_51_05_9973.jpg', 2), ('/mnt/data/07082025/02/50/image_07082025_02_50_55_10139.jpg', 2), ('/mnt/data/07082025/02/49/image_07082025_02_49_44_10185.jpg', 2), ('/mnt/data/07082025/02/49/image_07082025_02_49_34_9965.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/51/image_07082025_02_51_24_8981.jpg', '/mnt/data/07082025/02/51/image_07082025_02_51_15_10305.jpg', '/mnt/data/07082025/02/50/image_07082025_02_51_05_9973.jpg', '/mnt/data/07082025/02/50/image_07082025_02_50_55_10139.jpg', '/mnt/data/07082025/02/49/image_07082025_02_49_44_10185.jpg', '/mnt/data/07082025/02/49/image_07082025_02_49_34_9965.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/51/image_07082025_02_51_24_8981.jpg', '/mnt/data/07082025/02/51/image_07082025_02_51_15_10305.jpg', '/mnt/data/07082025/02/50/image_07082025_02_51_05_9973.jpg', '/mnt/data/07082025/02/50/image_07082025_02_50_55_10139.jpg', '/mnt/data/07082025/02/49/image_07082025_02_49_44_10185.jpg', '/mnt/data/07082025/02/49/image_07082025_02_49_34_9965.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/51/image_07082025_02_51_24_8981.jpg
/mnt/data/07082025/02/51/image_07082025_02_51_15_10305.jpg
/mnt/data/07082025/02/50/image_07082025_02_51_05_9973.jpg
/mnt/data/07082025/02/50/image_07082025_02_50_55_10139.jpg
/mnt/data/07082025/02/49/image_07082025_02_49_44_10185.jpg
/mnt/data/07082025/02/49/image_07082025_02_49_34_9965.jpg
uploaded 0 photos
time to upload: 30.22392249107361 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:00:03.322629
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/51/image_07082025_02_51_24_8981.jpg', 2), ('/mnt/data/07082025/02/51/image_07082025_02_51_15_10305.jpg', 2), ('/mnt/data/07082025/02/50/image_07082025_02_51_05_9973.jpg', 2), ('/mnt/data/07082025/02/50/image_07082025_02_50_55_10139.jpg', 2), ('/mnt/data/07082025/02/49/image_07082025_02_49_44_10185.jpg', 2), ('/mnt/data/07082025/02/49/image_07082025_02_49_34_9965.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/51/image_07082025_02_51_24_8981.jpg', '/mnt/data/07082025/02/51/image_07082025_02_51_15_10305.jpg', '/mnt/data/07082025/02/50/image_07082025_02_51_05_9973.jpg', '/mnt/data/07082025/02/50/image_07082025_02_50_55_10139.jpg', '/mnt/data/07082025/02/49/image_07082025_02_49_44_10185.jpg', '/mnt/data/07082025/02/49/image_07082025_02_49_34_9965.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/51/image_07082025_02_51_24_8981.jpg', '/mnt/data/07082025/02/51/image_07082025_02_51_15_10305.jpg', '/mnt/data/07082025/02/50/image_07082025_02_51_05_9973.jpg', '/mnt/data/07082025/02/50/image_07082025_02_50_55_10139.jpg', '/mnt/data/07082025/02/49/image_07082025_02_49_44_10185.jpg', '/mnt/data/07082025/02/49/image_07082025_02_49_34_9965.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/51/image_07082025_02_51_24_8981.jpg
/mnt/data/07082025/02/51/image_07082025_02_51_15_10305.jpg
/mnt/data/07082025/02/50/image_07082025_02_51_05_9973.jpg
/mnt/data/07082025/02/50/image_07082025_02_50_55_10139.jpg
/mnt/data/07082025/02/49/image_07082025_02_49_44_10185.jpg
/mnt/data/07082025/02/49/image_07082025_02_49_34_9965.jpg
uploaded 0 photos
time to upload: 30.218097925186157 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:01:03.485635
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/51/image_07082025_02_51_24_8981.jpg', 2), ('/mnt/data/07082025/02/51/image_07082025_02_51_15_10305.jpg', 2), ('/mnt/data/07082025/02/50/image_07082025_02_51_05_9973.jpg', 2), ('/mnt/data/07082025/02/50/image_07082025_02_50_55_10139.jpg', 2), ('/mnt/data/07082025/02/49/image_07082025_02_49_44_10185.jpg', 2), ('/mnt/data/07082025/02/49/image_07082025_02_49_34_9965.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/51/image_07082025_02_51_24_8981.jpg', '/mnt/data/07082025/02/51/image_07082025_02_51_15_10305.jpg', '/mnt/data/07082025/02/50/image_07082025_02_51_05_9973.jpg', '/mnt/data/07082025/02/50/image_07082025_02_50_55_10139.jpg', '/mnt/data/07082025/02/49/image_07082025_02_49_44_10185.jpg', '/mnt/data/07082025/02/49/image_07082025_02_49_34_9965.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/51/image_07082025_02_51_24_8981.jpg', '/mnt/data/07082025/02/51/image_07082025_02_51_15_10305.jpg', '/mnt/data/07082025/02/50/image_07082025_02_51_05_9973.jpg', '/mnt/data/07082025/02/50/image_07082025_02_50_55_10139.jpg', '/mnt/data/07082025/02/49/image_07082025_02_49_44_10185.jpg', '/mnt/data/07082025/02/49/image_07082025_02_49_34_9965.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/51/image_07082025_02_51_24_8981.jpg
/mnt/data/07082025/02/51/image_07082025_02_51_15_10305.jpg
/mnt/data/07082025/02/50/image_07082025_02_51_05_9973.jpg
/mnt/data/07082025/02/50/image_07082025_02_50_55_10139.jpg
/mnt/data/07082025/02/49/image_07082025_02_49_44_10185.jpg
/mnt/data/07082025/02/49/image_07082025_02_49_34_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":["1375610754","1375610745","1375610739","1375610750","1375610747","1375610749"],"photo_ids_order":["1375610739","1375610745","1375610747","1375610749","1375610750","1375610754"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/3e61b8434877a3c1022d61e34045368d.jpg","text":"TemporaryFile(/tmp/multipartBody3981960216730459681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553749865,"filename":"image_07082025_02_49_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/7/b7da49d8d404fd0f00f63a4efde578f5.jpg","text":"TemporaryFile(/tmp/multipartBody4108047376360750201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553749865,"filename":"image_07082025_02_51_15_10305.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/87b3942a9c1d25680de210d17f95b11a.jpg","text":"TemporaryFile(/tmp/multipartBody7878382468212295412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553749865,"filename":"image_07082025_02_51_24_8981.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/f0dd75eb9eace88df1a5935bb19d057d.jpg","text":"TemporaryFile(/tmp/multipartBody8893921447240027264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553749865,"filename":"image_07082025_02_49_44_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/7/f816a97f8eb728b842372a0b5ae07fc0.jpg","text":"TemporaryFile(/tmp/multipartBody7705429671809567904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553749865,"filename":"image_07082025_02_51_05_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/7/7dbae71908f251cffa05fe9496c45a9f.jpg","text":"TemporaryFile(/tmp/multipartBody4394842434537037816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553749865,"filename":"image_07082025_02_50_55_10139.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375610747","file1":"1375610745","file0":"1375610739","file4":"1375610750","file5":"1375610754","file3":"1375610749"},"map_files_photo_id_array":[{"photo_id":"1375610754","filename":"file5"},{"photo_id":"1375610747","filename":"file2"},{"photo_id":"1375610750","filename":"file4"},{"photo_id":"1375610745","filename":"file1"},{"photo_id":"1375610739","filename":"file0"},{"photo_id":"1375610749","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375610754":["hashtag1","hashtag2"]},{"1375610745":["hashtag1","hashtag2"]},{"1375610739":["hashtag1","hashtag2"]},{"1375610750":["hashtag1","hashtag2"]},{"1375610747":["hashtag1","hashtag2"]},{"1375610749":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375610754, 1375610745, 1375610739, 1375610750, 1375610747, 1375610749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 82.45769047737122 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:03:02.630766
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/49/image_07082025_02_49_24_9742.jpg', 2), ('/mnt/data/07082025/02/49/image_07082025_02_49_14_10059.jpg', 2), ('/mnt/data/07082025/02/48/image_07082025_02_49_04_10007.jpg', 2), ('/mnt/data/07082025/02/48/image_07082025_02_48_54_10055.jpg', 2), ('/mnt/data/07082025/02/47/image_07082025_02_47_24_10015.jpg', 2), ('/mnt/data/07082025/02/47/image_07082025_02_47_14_9949.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/49/image_07082025_02_49_24_9742.jpg', '/mnt/data/07082025/02/49/image_07082025_02_49_14_10059.jpg', '/mnt/data/07082025/02/48/image_07082025_02_49_04_10007.jpg', '/mnt/data/07082025/02/48/image_07082025_02_48_54_10055.jpg', '/mnt/data/07082025/02/47/image_07082025_02_47_24_10015.jpg', '/mnt/data/07082025/02/47/image_07082025_02_47_14_9949.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/49/image_07082025_02_49_24_9742.jpg', '/mnt/data/07082025/02/49/image_07082025_02_49_14_10059.jpg', '/mnt/data/07082025/02/48/image_07082025_02_49_04_10007.jpg', '/mnt/data/07082025/02/48/image_07082025_02_48_54_10055.jpg', '/mnt/data/07082025/02/47/image_07082025_02_47_24_10015.jpg', '/mnt/data/07082025/02/47/image_07082025_02_47_14_9949.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/49/image_07082025_02_49_24_9742.jpg
/mnt/data/07082025/02/49/image_07082025_02_49_14_10059.jpg
/mnt/data/07082025/02/48/image_07082025_02_49_04_10007.jpg
/mnt/data/07082025/02/48/image_07082025_02_48_54_10055.jpg
/mnt/data/07082025/02/47/image_07082025_02_47_24_10015.jpg
/mnt/data/07082025/02/47/image_07082025_02_47_14_9949.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375610963","1375610791","1375611025","1375611090","1375610833","1375610898"],"photo_ids_order":["1375610791","1375610833","1375610898","1375610963","1375611025","1375611090"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/8c11ffe6515ee471c62fdb91a8f4ae8b.jpg","text":"TemporaryFile(/tmp/multipartBody2852910247556027770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553849356,"filename":"image_07082025_02_48_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/7/2c949867ceee0a73ae71d5a8ef044a30.jpg","text":"TemporaryFile(/tmp/multipartBody5875582943262966649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553849356,"filename":"image_07082025_02_49_24_9742.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/a946baf049df85a912bf0862a92f7643.jpg","text":"TemporaryFile(/tmp/multipartBody827444756897912655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553849356,"filename":"image_07082025_02_47_24_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/7/36a9cd34c2d91c6bbf3a80e6533976c1.jpg","text":"TemporaryFile(/tmp/multipartBody7138044966302410576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553849356,"filename":"image_07082025_02_47_14_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/7/4cd190c119061021d0c7642d82ddec19.jpg","text":"TemporaryFile(/tmp/multipartBody3935398713311360169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553849356,"filename":"image_07082025_02_49_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/7/78cd410be2f7e0c37ac45cafc9e6ce07.jpg","text":"TemporaryFile(/tmp/multipartBody8307857204675868055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553849356,"filename":"image_07082025_02_49_04_10007.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375610898","file1":"1375610833","file0":"1375610791","file4":"1375611025","file5":"1375611090","file3":"1375610963"},"map_files_photo_id_array":[{"photo_id":"1375611090","filename":"file5"},{"photo_id":"1375610898","filename":"file2"},{"photo_id":"1375611025","filename":"file4"},{"photo_id":"1375610833","filename":"file1"},{"photo_id":"1375610791","filename":"file0"},{"photo_id":"1375610963","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375610963":["hashtag1","hashtag2"]},{"1375610791":["hashtag1","hashtag2"]},{"1375611025":["hashtag1","hashtag2"]},{"1375611090":["hashtag1","hashtag2"]},{"1375610833":["hashtag1","hashtag2"]},{"1375610898":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375610963, 1375610791, 1375611025, 1375611090, 1375610833, 1375610898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.204002141952515 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:04:03.489528
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/46/image_07082025_02_47_04_10270.jpg', 2), ('/mnt/data/07082025/02/46/image_07082025_02_46_54_10161.jpg', 2), ('/mnt/data/07082025/02/46/image_07082025_02_46_44_8986.jpg', 2), ('/mnt/data/07082025/02/46/image_07082025_02_46_35_10129.jpg', 2), ('/mnt/data/07082025/02/46/image_07082025_02_46_25_10221.jpg', 2), ('/mnt/data/07082025/02/46/image_07082025_02_46_15_10211.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/46/image_07082025_02_47_04_10270.jpg', '/mnt/data/07082025/02/46/image_07082025_02_46_54_10161.jpg', '/mnt/data/07082025/02/46/image_07082025_02_46_44_8986.jpg', '/mnt/data/07082025/02/46/image_07082025_02_46_35_10129.jpg', '/mnt/data/07082025/02/46/image_07082025_02_46_25_10221.jpg', '/mnt/data/07082025/02/46/image_07082025_02_46_15_10211.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/46/image_07082025_02_47_04_10270.jpg', '/mnt/data/07082025/02/46/image_07082025_02_46_54_10161.jpg', '/mnt/data/07082025/02/46/image_07082025_02_46_44_8986.jpg', '/mnt/data/07082025/02/46/image_07082025_02_46_35_10129.jpg', '/mnt/data/07082025/02/46/image_07082025_02_46_25_10221.jpg', '/mnt/data/07082025/02/46/image_07082025_02_46_15_10211.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/46/image_07082025_02_47_04_10270.jpg
/mnt/data/07082025/02/46/image_07082025_02_46_54_10161.jpg
/mnt/data/07082025/02/46/image_07082025_02_46_44_8986.jpg
/mnt/data/07082025/02/46/image_07082025_02_46_35_10129.jpg
/mnt/data/07082025/02/46/image_07082025_02_46_25_10221.jpg
/mnt/data/07082025/02/46/image_07082025_02_46_15_10211.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375611791","1375611889","1375611853","1375611718","1375611684","1375611753"],"photo_ids_order":["1375611684","1375611718","1375611753","1375611791","1375611853","1375611889"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/74828d4bb341d7f36d089e5f99a9a926.jpg","text":"TemporaryFile(/tmp/multipartBody4183322364122759962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553917155,"filename":"image_07082025_02_46_35_10129.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/013fd87d653e8b17894dd6a44e68e28a.jpg","text":"TemporaryFile(/tmp/multipartBody5187634804306914690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553917155,"filename":"image_07082025_02_46_15_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/7/162cce443ca3b1f16b03d3ad1b126870.jpg","text":"TemporaryFile(/tmp/multipartBody8386815622864013350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553917155,"filename":"image_07082025_02_46_25_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/7/8bb70789b7537b5b0980f354b227be76.jpg","text":"TemporaryFile(/tmp/multipartBody6991868961907234063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553917155,"filename":"image_07082025_02_46_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/7/b53580ea5248e9687e2c838235359c81.jpg","text":"TemporaryFile(/tmp/multipartBody3732277463671262513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553917155,"filename":"image_07082025_02_47_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/7/baefbef6846ae4feaea39234af7593ea.jpg","text":"TemporaryFile(/tmp/multipartBody7130893623603300424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754553917155,"filename":"image_07082025_02_46_44_8986.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375611753","file1":"1375611718","file0":"1375611684","file4":"1375611853","file5":"1375611889","file3":"1375611791"},"map_files_photo_id_array":[{"photo_id":"1375611889","filename":"file5"},{"photo_id":"1375611753","filename":"file2"},{"photo_id":"1375611853","filename":"file4"},{"photo_id":"1375611718","filename":"file1"},{"photo_id":"1375611684","filename":"file0"},{"photo_id":"1375611791","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375611791":["hashtag1","hashtag2"]},{"1375611889":["hashtag1","hashtag2"]},{"1375611853":["hashtag1","hashtag2"]},{"1375611718":["hashtag1","hashtag2"]},{"1375611684":["hashtag1","hashtag2"]},{"1375611753":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375611791, 1375611889, 1375611853, 1375611718, 1375611684, 1375611753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.6389045715332 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:05:03.421527
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/45/image_07082025_02_46_04_10424.jpg', 2), ('/mnt/data/07082025/02/45/image_07082025_02_45_54_10133.jpg', 2), ('/mnt/data/07082025/02/45/image_07082025_02_45_44_8932.jpg', 2), ('/mnt/data/07082025/02/45/image_07082025_02_45_35_10153.jpg', 2), ('/mnt/data/07082025/02/45/image_07082025_02_45_15_10133.jpg', 2), ('/mnt/data/07082025/02/44/image_07082025_02_45_05_10043.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/45/image_07082025_02_46_04_10424.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_54_10133.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_44_8932.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_35_10153.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_15_10133.jpg', '/mnt/data/07082025/02/44/image_07082025_02_45_05_10043.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/45/image_07082025_02_46_04_10424.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_54_10133.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_44_8932.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_35_10153.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_15_10133.jpg', '/mnt/data/07082025/02/44/image_07082025_02_45_05_10043.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/45/image_07082025_02_46_04_10424.jpg
/mnt/data/07082025/02/45/image_07082025_02_45_54_10133.jpg
/mnt/data/07082025/02/45/image_07082025_02_45_44_8932.jpg
/mnt/data/07082025/02/45/image_07082025_02_45_35_10153.jpg
/mnt/data/07082025/02/45/image_07082025_02_45_15_10133.jpg
/mnt/data/07082025/02/44/image_07082025_02_45_05_10043.jpg
uploaded 0 photos
time to upload: 30.235470294952393 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:06:02.770949
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/45/image_07082025_02_46_04_10424.jpg', 2), ('/mnt/data/07082025/02/45/image_07082025_02_45_54_10133.jpg', 2), ('/mnt/data/07082025/02/45/image_07082025_02_45_44_8932.jpg', 2), ('/mnt/data/07082025/02/45/image_07082025_02_45_35_10153.jpg', 2), ('/mnt/data/07082025/02/45/image_07082025_02_45_15_10133.jpg', 2), ('/mnt/data/07082025/02/44/image_07082025_02_45_05_10043.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/45/image_07082025_02_46_04_10424.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_54_10133.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_44_8932.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_35_10153.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_15_10133.jpg', '/mnt/data/07082025/02/44/image_07082025_02_45_05_10043.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/45/image_07082025_02_46_04_10424.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_54_10133.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_44_8932.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_35_10153.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_15_10133.jpg', '/mnt/data/07082025/02/44/image_07082025_02_45_05_10043.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/45/image_07082025_02_46_04_10424.jpg
/mnt/data/07082025/02/45/image_07082025_02_45_54_10133.jpg
/mnt/data/07082025/02/45/image_07082025_02_45_44_8932.jpg
/mnt/data/07082025/02/45/image_07082025_02_45_35_10153.jpg
/mnt/data/07082025/02/45/image_07082025_02_45_15_10133.jpg
/mnt/data/07082025/02/44/image_07082025_02_45_05_10043.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 134.88252234458923 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-07 10:09:03.130600
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/45/image_07082025_02_46_04_10424.jpg', 2), ('/mnt/data/07082025/02/45/image_07082025_02_45_54_10133.jpg', 2), ('/mnt/data/07082025/02/45/image_07082025_02_45_44_8932.jpg', 2), ('/mnt/data/07082025/02/45/image_07082025_02_45_35_10153.jpg', 2), ('/mnt/data/07082025/02/45/image_07082025_02_45_15_10133.jpg', 2), ('/mnt/data/07082025/02/44/image_07082025_02_45_05_10043.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/45/image_07082025_02_46_04_10424.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_54_10133.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_44_8932.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_35_10153.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_15_10133.jpg', '/mnt/data/07082025/02/44/image_07082025_02_45_05_10043.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/45/image_07082025_02_46_04_10424.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_54_10133.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_44_8932.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_35_10153.jpg', '/mnt/data/07082025/02/45/image_07082025_02_45_15_10133.jpg', '/mnt/data/07082025/02/44/image_07082025_02_45_05_10043.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/45/image_07082025_02_46_04_10424.jpg
/mnt/data/07082025/02/45/image_07082025_02_45_54_10133.jpg
/mnt/data/07082025/02/45/image_07082025_02_45_44_8932.jpg
/mnt/data/07082025/02/45/image_07082025_02_45_35_10153.jpg
/mnt/data/07082025/02/45/image_07082025_02_45_15_10133.jpg
/mnt/data/07082025/02/44/image_07082025_02_45_05_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":["1375613936","1375613899","1375613680","1375613994","1375613793","1375613852"],"photo_ids_order":["1375613680","1375613793","1375613852","1375613899","1375613936","1375613994"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/7bb758e88cda9db1a5b5919d8ef01337.jpg","text":"TemporaryFile(/tmp/multipartBody372743622321657624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754554220290,"filename":"image_07082025_02_45_15_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/7/251cc702fd3c0d101a6b377605df100b.jpg","text":"TemporaryFile(/tmp/multipartBody1353758863611044397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754554220290,"filename":"image_07082025_02_45_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/7/3a6637b11fc511f1f8a596fab30c76ea.jpg","text":"TemporaryFile(/tmp/multipartBody2971664337398106509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754554220290,"filename":"image_07082025_02_46_04_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/7/ddd34e48ab1f4a8b1e02095c6e495649.jpg","text":"TemporaryFile(/tmp/multipartBody2003538002875500752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754554220290,"filename":"image_07082025_02_45_05_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/7/5c4de51ab6329a5dc95b7745acb47a62.jpg","text":"TemporaryFile(/tmp/multipartBody4367848171768193346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754554220290,"filename":"image_07082025_02_45_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/7/1debf62b2c8be9acbc265572c37f0990.jpg","text":"TemporaryFile(/tmp/multipartBody3414754435956433952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754554220290,"filename":"image_07082025_02_45_44_8932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375613852","file1":"1375613793","file0":"1375613680","file4":"1375613936","file5":"1375613994","file3":"1375613899"},"map_files_photo_id_array":[{"photo_id":"1375613994","filename":"file5"},{"photo_id":"1375613852","filename":"file2"},{"photo_id":"1375613936","filename":"file4"},{"photo_id":"1375613793","filename":"file1"},{"photo_id":"1375613680","filename":"file0"},{"photo_id":"1375613899","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375613936":["hashtag1","hashtag2"]},{"1375613899":["hashtag1","hashtag2"]},{"1375613680":["hashtag1","hashtag2"]},{"1375613994":["hashtag1","hashtag2"]},{"1375613793":["hashtag1","hashtag2"]},{"1375613852":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375613936, 1375613899, 1375613680, 1375613994, 1375613793, 1375613852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.67792010307312 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:11:03.498398
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/44/image_07082025_02_44_55_9962.jpg', 2), ('/mnt/data/07082025/02/43/image_07082025_02_43_55_9963.jpg', 2), ('/mnt/data/07082025/02/42/image_07082025_02_42_45_9981.jpg', 2), ('/mnt/data/07082025/02/42/image_07082025_02_42_35_9961.jpg', 2), ('/mnt/data/07082025/02/42/image_07082025_02_42_25_9983.jpg', 2), ('/mnt/data/07082025/02/42/image_07082025_02_42_15_10013.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/44/image_07082025_02_44_55_9962.jpg', '/mnt/data/07082025/02/43/image_07082025_02_43_55_9963.jpg', '/mnt/data/07082025/02/42/image_07082025_02_42_45_9981.jpg', '/mnt/data/07082025/02/42/image_07082025_02_42_35_9961.jpg', '/mnt/data/07082025/02/42/image_07082025_02_42_25_9983.jpg', '/mnt/data/07082025/02/42/image_07082025_02_42_15_10013.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/44/image_07082025_02_44_55_9962.jpg', '/mnt/data/07082025/02/43/image_07082025_02_43_55_9963.jpg', '/mnt/data/07082025/02/42/image_07082025_02_42_45_9981.jpg', '/mnt/data/07082025/02/42/image_07082025_02_42_35_9961.jpg', '/mnt/data/07082025/02/42/image_07082025_02_42_25_9983.jpg', '/mnt/data/07082025/02/42/image_07082025_02_42_15_10013.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/44/image_07082025_02_44_55_9962.jpg
/mnt/data/07082025/02/43/image_07082025_02_43_55_9963.jpg
/mnt/data/07082025/02/42/image_07082025_02_42_45_9981.jpg
/mnt/data/07082025/02/42/image_07082025_02_42_35_9961.jpg
/mnt/data/07082025/02/42/image_07082025_02_42_25_9983.jpg
/mnt/data/07082025/02/42/image_07082025_02_42_15_10013.jpg
uploaded 0 photos
time to upload: 30.206021785736084 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:12:02.685412
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/44/image_07082025_02_44_55_9962.jpg', 2), ('/mnt/data/07082025/02/43/image_07082025_02_43_55_9963.jpg', 2), ('/mnt/data/07082025/02/42/image_07082025_02_42_45_9981.jpg', 2), ('/mnt/data/07082025/02/42/image_07082025_02_42_35_9961.jpg', 2), ('/mnt/data/07082025/02/42/image_07082025_02_42_25_9983.jpg', 2), ('/mnt/data/07082025/02/42/image_07082025_02_42_15_10013.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/44/image_07082025_02_44_55_9962.jpg', '/mnt/data/07082025/02/43/image_07082025_02_43_55_9963.jpg', '/mnt/data/07082025/02/42/image_07082025_02_42_45_9981.jpg', '/mnt/data/07082025/02/42/image_07082025_02_42_35_9961.jpg', '/mnt/data/07082025/02/42/image_07082025_02_42_25_9983.jpg', '/mnt/data/07082025/02/42/image_07082025_02_42_15_10013.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/44/image_07082025_02_44_55_9962.jpg', '/mnt/data/07082025/02/43/image_07082025_02_43_55_9963.jpg', '/mnt/data/07082025/02/42/image_07082025_02_42_45_9981.jpg', '/mnt/data/07082025/02/42/image_07082025_02_42_35_9961.jpg', '/mnt/data/07082025/02/42/image_07082025_02_42_25_9983.jpg', '/mnt/data/07082025/02/42/image_07082025_02_42_15_10013.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/44/image_07082025_02_44_55_9962.jpg
/mnt/data/07082025/02/43/image_07082025_02_43_55_9963.jpg
/mnt/data/07082025/02/42/image_07082025_02_42_45_9981.jpg
/mnt/data/07082025/02/42/image_07082025_02_42_35_9961.jpg
/mnt/data/07082025/02/42/image_07082025_02_42_25_9983.jpg
/mnt/data/07082025/02/42/image_07082025_02_42_15_10013.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375614506","1375614501","1375614494","1375614497","1375614512","1375614515"],"photo_ids_order":["1375614494","1375614497","1375614501","1375614506","1375614512","1375614515"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/c11dc12025280b8e5db32fbf80fd4815.jpg","text":"TemporaryFile(/tmp/multipartBody1829983013342403133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754554389727,"filename":"image_07082025_02_42_35_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/7/46f549af30bab0f2260023d4c9827bcb.jpg","text":"TemporaryFile(/tmp/multipartBody6692010124249778480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754554389727,"filename":"image_07082025_02_42_45_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/7/8efa9d5600293cd45c157351c2823c34.jpg","text":"TemporaryFile(/tmp/multipartBody3904039881674636945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754554389727,"filename":"image_07082025_02_44_55_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/7/6a8e27129dbb22dda05519b311323c1d.jpg","text":"TemporaryFile(/tmp/multipartBody2810019540228954317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754554389727,"filename":"image_07082025_02_43_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/7/c14b26f972bbca0c22c8156db8c9eb15.jpg","text":"TemporaryFile(/tmp/multipartBody7537418584877610777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754554389727,"filename":"image_07082025_02_42_25_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/7/7960fadadd1caa28dd83064c3088b753.jpg","text":"TemporaryFile(/tmp/multipartBody7870420143365345229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754554389727,"filename":"image_07082025_02_42_15_10013.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375614501","file1":"1375614497","file0":"1375614494","file4":"1375614512","file5":"1375614515","file3":"1375614506"},"map_files_photo_id_array":[{"photo_id":"1375614515","filename":"file5"},{"photo_id":"1375614501","filename":"file2"},{"photo_id":"1375614512","filename":"file4"},{"photo_id":"1375614497","filename":"file1"},{"photo_id":"1375614494","filename":"file0"},{"photo_id":"1375614506","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375614506":["hashtag1","hashtag2"]},{"1375614501":["hashtag1","hashtag2"]},{"1375614494":["hashtag1","hashtag2"]},{"1375614497":["hashtag1","hashtag2"]},{"1375614512":["hashtag1","hashtag2"]},{"1375614515":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375614506, 1375614501, 1375614494, 1375614497, 1375614512, 1375614515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.97332692146301 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:13:02.843076
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/41/image_07082025_02_42_05_10075.jpg', 2), ('/mnt/data/07082025/02/41/image_07082025_02_41_55_10060.jpg', 2), ('/mnt/data/07082025/02/39/image_07082025_02_39_34_9915.jpg', 2), ('/mnt/data/07082025/02/39/image_07082025_02_39_24_9915.jpg', 2), ('/mnt/data/07082025/02/39/image_07082025_02_39_14_10005.jpg', 2), ('/mnt/data/07082025/02/38/image_07082025_02_39_04_10123.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/41/image_07082025_02_42_05_10075.jpg', '/mnt/data/07082025/02/41/image_07082025_02_41_55_10060.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_34_9915.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_24_9915.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_14_10005.jpg', '/mnt/data/07082025/02/38/image_07082025_02_39_04_10123.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/41/image_07082025_02_42_05_10075.jpg', '/mnt/data/07082025/02/41/image_07082025_02_41_55_10060.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_34_9915.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_24_9915.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_14_10005.jpg', '/mnt/data/07082025/02/38/image_07082025_02_39_04_10123.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/41/image_07082025_02_42_05_10075.jpg
/mnt/data/07082025/02/41/image_07082025_02_41_55_10060.jpg
/mnt/data/07082025/02/39/image_07082025_02_39_34_9915.jpg
/mnt/data/07082025/02/39/image_07082025_02_39_24_9915.jpg
/mnt/data/07082025/02/39/image_07082025_02_39_14_10005.jpg
/mnt/data/07082025/02/38/image_07082025_02_39_04_10123.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 134.00262022018433 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-07 10:16:02.838760
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/41/image_07082025_02_42_05_10075.jpg', 2), ('/mnt/data/07082025/02/41/image_07082025_02_41_55_10060.jpg', 2), ('/mnt/data/07082025/02/39/image_07082025_02_39_34_9915.jpg', 2), ('/mnt/data/07082025/02/39/image_07082025_02_39_24_9915.jpg', 2), ('/mnt/data/07082025/02/39/image_07082025_02_39_14_10005.jpg', 2), ('/mnt/data/07082025/02/38/image_07082025_02_39_04_10123.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/41/image_07082025_02_42_05_10075.jpg', '/mnt/data/07082025/02/41/image_07082025_02_41_55_10060.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_34_9915.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_24_9915.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_14_10005.jpg', '/mnt/data/07082025/02/38/image_07082025_02_39_04_10123.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/41/image_07082025_02_42_05_10075.jpg', '/mnt/data/07082025/02/41/image_07082025_02_41_55_10060.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_34_9915.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_24_9915.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_14_10005.jpg', '/mnt/data/07082025/02/38/image_07082025_02_39_04_10123.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/41/image_07082025_02_42_05_10075.jpg
/mnt/data/07082025/02/41/image_07082025_02_41_55_10060.jpg
/mnt/data/07082025/02/39/image_07082025_02_39_34_9915.jpg
/mnt/data/07082025/02/39/image_07082025_02_39_24_9915.jpg
/mnt/data/07082025/02/39/image_07082025_02_39_14_10005.jpg
/mnt/data/07082025/02/38/image_07082025_02_39_04_10123.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 135.72239923477173 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-07 10:19:02.935720
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/41/image_07082025_02_42_05_10075.jpg', 2), ('/mnt/data/07082025/02/41/image_07082025_02_41_55_10060.jpg', 2), ('/mnt/data/07082025/02/39/image_07082025_02_39_34_9915.jpg', 2), ('/mnt/data/07082025/02/39/image_07082025_02_39_24_9915.jpg', 2), ('/mnt/data/07082025/02/39/image_07082025_02_39_14_10005.jpg', 2), ('/mnt/data/07082025/02/38/image_07082025_02_39_04_10123.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/41/image_07082025_02_42_05_10075.jpg', '/mnt/data/07082025/02/41/image_07082025_02_41_55_10060.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_34_9915.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_24_9915.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_14_10005.jpg', '/mnt/data/07082025/02/38/image_07082025_02_39_04_10123.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/41/image_07082025_02_42_05_10075.jpg', '/mnt/data/07082025/02/41/image_07082025_02_41_55_10060.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_34_9915.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_24_9915.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_14_10005.jpg', '/mnt/data/07082025/02/38/image_07082025_02_39_04_10123.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/41/image_07082025_02_42_05_10075.jpg
/mnt/data/07082025/02/41/image_07082025_02_41_55_10060.jpg
/mnt/data/07082025/02/39/image_07082025_02_39_34_9915.jpg
/mnt/data/07082025/02/39/image_07082025_02_39_24_9915.jpg
/mnt/data/07082025/02/39/image_07082025_02_39_14_10005.jpg
/mnt/data/07082025/02/38/image_07082025_02_39_04_10123.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 17.393738269805908 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-07 10:20:02.716093
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/41/image_07082025_02_42_05_10075.jpg', 2), ('/mnt/data/07082025/02/41/image_07082025_02_41_55_10060.jpg', 2), ('/mnt/data/07082025/02/39/image_07082025_02_39_34_9915.jpg', 2), ('/mnt/data/07082025/02/39/image_07082025_02_39_24_9915.jpg', 2), ('/mnt/data/07082025/02/39/image_07082025_02_39_14_10005.jpg', 2), ('/mnt/data/07082025/02/38/image_07082025_02_39_04_10123.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/41/image_07082025_02_42_05_10075.jpg', '/mnt/data/07082025/02/41/image_07082025_02_41_55_10060.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_34_9915.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_24_9915.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_14_10005.jpg', '/mnt/data/07082025/02/38/image_07082025_02_39_04_10123.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/41/image_07082025_02_42_05_10075.jpg', '/mnt/data/07082025/02/41/image_07082025_02_41_55_10060.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_34_9915.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_24_9915.jpg', '/mnt/data/07082025/02/39/image_07082025_02_39_14_10005.jpg', '/mnt/data/07082025/02/38/image_07082025_02_39_04_10123.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/41/image_07082025_02_42_05_10075.jpg
/mnt/data/07082025/02/41/image_07082025_02_41_55_10060.jpg
/mnt/data/07082025/02/39/image_07082025_02_39_34_9915.jpg
/mnt/data/07082025/02/39/image_07082025_02_39_24_9915.jpg
/mnt/data/07082025/02/39/image_07082025_02_39_14_10005.jpg
/mnt/data/07082025/02/38/image_07082025_02_39_04_10123.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":["1375616658","1375616687","1375616735","1375616740","1375616710","1375616809"],"photo_ids_order":["1375616658","1375616687","1375616710","1375616735","1375616740","1375616809"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/5298f3b95f7154c56ffd04b79da2c641.jpg","text":"TemporaryFile(/tmp/multipartBody7961491386818733789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754554878090,"filename":"image_07082025_02_42_05_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/7/c0bf3c2581a3fef001a52ead183fa055.jpg","text":"TemporaryFile(/tmp/multipartBody5954937298734874839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754554878090,"filename":"image_07082025_02_41_55_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/7/69a0c59c0a042fa0cc4e6b1c9e11fb48.jpg","text":"TemporaryFile(/tmp/multipartBody3298668977523939167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754554878090,"filename":"image_07082025_02_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/7/a434b8fe803e5e020c5631058caee5be.jpg","text":"TemporaryFile(/tmp/multipartBody2238586799161472324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754554878090,"filename":"image_07082025_02_39_14_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/7/9658b461d1f3546301b55c015bf41861.jpg","text":"TemporaryFile(/tmp/multipartBody1634689175954195380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754554878090,"filename":"image_07082025_02_39_34_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/7/faf4f43a4b65f10529a913a9326d9cd5.jpg","text":"TemporaryFile(/tmp/multipartBody6208660060929182045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754554878090,"filename":"image_07082025_02_39_04_10123.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375616710","file1":"1375616687","file0":"1375616658","file4":"1375616740","file5":"1375616809","file3":"1375616735"},"map_files_photo_id_array":[{"photo_id":"1375616809","filename":"file5"},{"photo_id":"1375616710","filename":"file2"},{"photo_id":"1375616740","filename":"file4"},{"photo_id":"1375616687","filename":"file1"},{"photo_id":"1375616658","filename":"file0"},{"photo_id":"1375616735","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375616658":["hashtag1","hashtag2"]},{"1375616687":["hashtag1","hashtag2"]},{"1375616735":["hashtag1","hashtag2"]},{"1375616740":["hashtag1","hashtag2"]},{"1375616710":["hashtag1","hashtag2"]},{"1375616809":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375616658, 1375616687, 1375616735, 1375616740, 1375616710, 1375616809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.107709646224976 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:22:03.205283
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/38/image_07082025_02_38_54_10013.jpg', 2), ('/mnt/data/07082025/02/37/image_07082025_02_37_45_9954.jpg', 2), ('/mnt/data/07082025/02/37/image_07082025_02_37_35_10584.jpg', 2), ('/mnt/data/07082025/02/37/image_07082025_02_37_25_9976.jpg', 2), ('/mnt/data/07082025/02/37/image_07082025_02_37_14_9970.jpg', 2), ('/mnt/data/07082025/02/36/image_07082025_02_37_04_9991.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/38/image_07082025_02_38_54_10013.jpg', '/mnt/data/07082025/02/37/image_07082025_02_37_45_9954.jpg', '/mnt/data/07082025/02/37/image_07082025_02_37_35_10584.jpg', '/mnt/data/07082025/02/37/image_07082025_02_37_25_9976.jpg', '/mnt/data/07082025/02/37/image_07082025_02_37_14_9970.jpg', '/mnt/data/07082025/02/36/image_07082025_02_37_04_9991.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/38/image_07082025_02_38_54_10013.jpg', '/mnt/data/07082025/02/37/image_07082025_02_37_45_9954.jpg', '/mnt/data/07082025/02/37/image_07082025_02_37_35_10584.jpg', '/mnt/data/07082025/02/37/image_07082025_02_37_25_9976.jpg', '/mnt/data/07082025/02/37/image_07082025_02_37_14_9970.jpg', '/mnt/data/07082025/02/36/image_07082025_02_37_04_9991.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/38/image_07082025_02_38_54_10013.jpg
/mnt/data/07082025/02/37/image_07082025_02_37_45_9954.jpg
/mnt/data/07082025/02/37/image_07082025_02_37_35_10584.jpg
/mnt/data/07082025/02/37/image_07082025_02_37_25_9976.jpg
/mnt/data/07082025/02/37/image_07082025_02_37_14_9970.jpg
/mnt/data/07082025/02/36/image_07082025_02_37_04_9991.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375617111","1375617128","1375617113","1375617067","1375617115","1375617093"],"photo_ids_order":["1375617067","1375617093","1375617111","1375617113","1375617115","1375617128"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/f02e3e22762b74db3516a032e1626d41.jpg","text":"TemporaryFile(/tmp/multipartBody6051313325734023552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754554999173,"filename":"image_07082025_02_37_35_10584.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/0aa023bd72881506204b6032ac323870.jpg","text":"TemporaryFile(/tmp/multipartBody7675730691226618513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754554999173,"filename":"image_07082025_02_37_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/7/d07527993f38015926524c3320ba2df9.jpg","text":"TemporaryFile(/tmp/multipartBody3867633507537831659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754554999173,"filename":"image_07082025_02_37_25_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/7/82f3fcda9d74fac7742b19de1167c349.jpg","text":"TemporaryFile(/tmp/multipartBody4561678445994912411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754554999173,"filename":"image_07082025_02_38_54_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/7/26cefac9f9e52c8bb08a7c5eefe7142e.jpg","text":"TemporaryFile(/tmp/multipartBody6963209572054505254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754554999173,"filename":"image_07082025_02_37_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/7/8e90df24bccd36898227132dfb0906bf.jpg","text":"TemporaryFile(/tmp/multipartBody7547739734817184323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754554999173,"filename":"image_07082025_02_37_45_9954.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375617111","file1":"1375617093","file0":"1375617067","file4":"1375617115","file5":"1375617128","file3":"1375617113"},"map_files_photo_id_array":[{"photo_id":"1375617128","filename":"file5"},{"photo_id":"1375617111","filename":"file2"},{"photo_id":"1375617115","filename":"file4"},{"photo_id":"1375617093","filename":"file1"},{"photo_id":"1375617067","filename":"file0"},{"photo_id":"1375617113","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375617111":["hashtag1","hashtag2"]},{"1375617128":["hashtag1","hashtag2"]},{"1375617113":["hashtag1","hashtag2"]},{"1375617067":["hashtag1","hashtag2"]},{"1375617115":["hashtag1","hashtag2"]},{"1375617093":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375617111, 1375617128, 1375617113, 1375617067, 1375617115, 1375617093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.29024052619934 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:23:03.106686
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/36/image_07082025_02_36_54_9939.jpg', 2), ('/mnt/data/07082025/02/36/image_07082025_02_36_44_9969.jpg', 2), ('/mnt/data/07082025/02/36/image_07082025_02_36_34_10050.jpg', 2), ('/mnt/data/07082025/02/36/image_07082025_02_36_24_9923.jpg', 2), ('/mnt/data/07082025/02/36/image_07082025_02_36_14_10226.jpg', 2), ('/mnt/data/07082025/02/35/image_07082025_02_36_04_10266.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/36/image_07082025_02_36_54_9939.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_44_9969.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_34_10050.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_24_9923.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_14_10226.jpg', '/mnt/data/07082025/02/35/image_07082025_02_36_04_10266.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/36/image_07082025_02_36_54_9939.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_44_9969.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_34_10050.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_24_9923.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_14_10226.jpg', '/mnt/data/07082025/02/35/image_07082025_02_36_04_10266.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/36/image_07082025_02_36_54_9939.jpg
/mnt/data/07082025/02/36/image_07082025_02_36_44_9969.jpg
/mnt/data/07082025/02/36/image_07082025_02_36_34_10050.jpg
/mnt/data/07082025/02/36/image_07082025_02_36_24_9923.jpg
/mnt/data/07082025/02/36/image_07082025_02_36_14_10226.jpg
/mnt/data/07082025/02/35/image_07082025_02_36_04_10266.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 132.1952702999115 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-07 10:26:02.759843
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/36/image_07082025_02_36_54_9939.jpg', 2), ('/mnt/data/07082025/02/36/image_07082025_02_36_44_9969.jpg', 2), ('/mnt/data/07082025/02/36/image_07082025_02_36_34_10050.jpg', 2), ('/mnt/data/07082025/02/36/image_07082025_02_36_24_9923.jpg', 2), ('/mnt/data/07082025/02/36/image_07082025_02_36_14_10226.jpg', 2), ('/mnt/data/07082025/02/35/image_07082025_02_36_04_10266.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/36/image_07082025_02_36_54_9939.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_44_9969.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_34_10050.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_24_9923.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_14_10226.jpg', '/mnt/data/07082025/02/35/image_07082025_02_36_04_10266.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/36/image_07082025_02_36_54_9939.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_44_9969.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_34_10050.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_24_9923.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_14_10226.jpg', '/mnt/data/07082025/02/35/image_07082025_02_36_04_10266.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/36/image_07082025_02_36_54_9939.jpg
/mnt/data/07082025/02/36/image_07082025_02_36_44_9969.jpg
/mnt/data/07082025/02/36/image_07082025_02_36_34_10050.jpg
/mnt/data/07082025/02/36/image_07082025_02_36_24_9923.jpg
/mnt/data/07082025/02/36/image_07082025_02_36_14_10226.jpg
/mnt/data/07082025/02/35/image_07082025_02_36_04_10266.jpg
uploaded 0 photos
time to upload: 30.216508150100708 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:27:02.954364
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/36/image_07082025_02_36_54_9939.jpg', 2), ('/mnt/data/07082025/02/36/image_07082025_02_36_44_9969.jpg', 2), ('/mnt/data/07082025/02/36/image_07082025_02_36_34_10050.jpg', 2), ('/mnt/data/07082025/02/36/image_07082025_02_36_24_9923.jpg', 2), ('/mnt/data/07082025/02/36/image_07082025_02_36_14_10226.jpg', 2), ('/mnt/data/07082025/02/35/image_07082025_02_36_04_10266.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/36/image_07082025_02_36_54_9939.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_44_9969.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_34_10050.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_24_9923.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_14_10226.jpg', '/mnt/data/07082025/02/35/image_07082025_02_36_04_10266.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/36/image_07082025_02_36_54_9939.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_44_9969.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_34_10050.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_24_9923.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_14_10226.jpg', '/mnt/data/07082025/02/35/image_07082025_02_36_04_10266.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/36/image_07082025_02_36_54_9939.jpg
/mnt/data/07082025/02/36/image_07082025_02_36_44_9969.jpg
/mnt/data/07082025/02/36/image_07082025_02_36_34_10050.jpg
/mnt/data/07082025/02/36/image_07082025_02_36_24_9923.jpg
/mnt/data/07082025/02/36/image_07082025_02_36_14_10226.jpg
/mnt/data/07082025/02/35/image_07082025_02_36_04_10266.jpg
uploaded 0 photos
time to upload: 30.202927350997925 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:28:02.864344
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/36/image_07082025_02_36_54_9939.jpg', 2), ('/mnt/data/07082025/02/36/image_07082025_02_36_44_9969.jpg', 2), ('/mnt/data/07082025/02/36/image_07082025_02_36_34_10050.jpg', 2), ('/mnt/data/07082025/02/36/image_07082025_02_36_24_9923.jpg', 2), ('/mnt/data/07082025/02/36/image_07082025_02_36_14_10226.jpg', 2), ('/mnt/data/07082025/02/35/image_07082025_02_36_04_10266.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/36/image_07082025_02_36_54_9939.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_44_9969.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_34_10050.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_24_9923.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_14_10226.jpg', '/mnt/data/07082025/02/35/image_07082025_02_36_04_10266.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/36/image_07082025_02_36_54_9939.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_44_9969.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_34_10050.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_24_9923.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_14_10226.jpg', '/mnt/data/07082025/02/35/image_07082025_02_36_04_10266.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/36/image_07082025_02_36_54_9939.jpg
/mnt/data/07082025/02/36/image_07082025_02_36_44_9969.jpg
/mnt/data/07082025/02/36/image_07082025_02_36_34_10050.jpg
/mnt/data/07082025/02/36/image_07082025_02_36_24_9923.jpg
/mnt/data/07082025/02/36/image_07082025_02_36_14_10226.jpg
/mnt/data/07082025/02/35/image_07082025_02_36_04_10266.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 131.01623439788818 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-07 10:31:03.258198
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/36/image_07082025_02_36_54_9939.jpg', 2), ('/mnt/data/07082025/02/36/image_07082025_02_36_44_9969.jpg', 2), ('/mnt/data/07082025/02/36/image_07082025_02_36_34_10050.jpg', 2), ('/mnt/data/07082025/02/36/image_07082025_02_36_24_9923.jpg', 2), ('/mnt/data/07082025/02/36/image_07082025_02_36_14_10226.jpg', 2), ('/mnt/data/07082025/02/35/image_07082025_02_36_04_10266.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/36/image_07082025_02_36_54_9939.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_44_9969.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_34_10050.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_24_9923.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_14_10226.jpg', '/mnt/data/07082025/02/35/image_07082025_02_36_04_10266.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/36/image_07082025_02_36_54_9939.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_44_9969.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_34_10050.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_24_9923.jpg', '/mnt/data/07082025/02/36/image_07082025_02_36_14_10226.jpg', '/mnt/data/07082025/02/35/image_07082025_02_36_04_10266.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/36/image_07082025_02_36_54_9939.jpg
/mnt/data/07082025/02/36/image_07082025_02_36_44_9969.jpg
/mnt/data/07082025/02/36/image_07082025_02_36_34_10050.jpg
/mnt/data/07082025/02/36/image_07082025_02_36_24_9923.jpg
/mnt/data/07082025/02/36/image_07082025_02_36_14_10226.jpg
/mnt/data/07082025/02/35/image_07082025_02_36_04_10266.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":["1375619598","1375619856","1375619742","1375619795","1375619675","1375619843"],"photo_ids_order":["1375619598","1375619675","1375619742","1375619795","1375619843","1375619856"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/a4eec665a275328ea4c74d0ff97d0e53.jpg","text":"TemporaryFile(/tmp/multipartBody155302053480800595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754555540102,"filename":"image_07082025_02_36_54_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/7/166aa8efc4e1b19e83ef8fb0decea5f6.jpg","text":"TemporaryFile(/tmp/multipartBody3559343711585777317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754555540102,"filename":"image_07082025_02_36_04_10266.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/95658e63c656af7fd865eb82c737a616.jpg","text":"TemporaryFile(/tmp/multipartBody4578479398233428945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754555540102,"filename":"image_07082025_02_36_34_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/7/7ac0b2cc4e5e758278b60d70e635b008.jpg","text":"TemporaryFile(/tmp/multipartBody6555349693973710448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754555540102,"filename":"image_07082025_02_36_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/7/a05312f9d044bea57b98b9e02d5314fc.jpg","text":"TemporaryFile(/tmp/multipartBody5325410002463653906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754555540102,"filename":"image_07082025_02_36_44_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/7/e8e505465af25477eb68f97b271a39cf.jpg","text":"TemporaryFile(/tmp/multipartBody8710172210138923245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754555540102,"filename":"image_07082025_02_36_14_10226.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375619742","file1":"1375619675","file0":"1375619598","file4":"1375619843","file5":"1375619856","file3":"1375619795"},"map_files_photo_id_array":[{"photo_id":"1375619856","filename":"file5"},{"photo_id":"1375619742","filename":"file2"},{"photo_id":"1375619843","filename":"file4"},{"photo_id":"1375619675","filename":"file1"},{"photo_id":"1375619598","filename":"file0"},{"photo_id":"1375619795","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375619598":["hashtag1","hashtag2"]},{"1375619856":["hashtag1","hashtag2"]},{"1375619742":["hashtag1","hashtag2"]},{"1375619795":["hashtag1","hashtag2"]},{"1375619675":["hashtag1","hashtag2"]},{"1375619843":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375619598, 1375619856, 1375619742, 1375619795, 1375619675, 1375619843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.06254243850708 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:33:02.504201
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/35/image_07082025_02_35_54_10095.jpg', 2), ('/mnt/data/07082025/02/35/image_07082025_02_35_44_10074.jpg', 2), ('/mnt/data/07082025/02/35/image_07082025_02_35_34_10110.jpg', 2), ('/mnt/data/07082025/02/35/image_07082025_02_35_24_8920.jpg', 2), ('/mnt/data/07082025/02/35/image_07082025_02_35_15_10043.jpg', 2), ('/mnt/data/07082025/02/34/image_07082025_02_35_05_10036.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/35/image_07082025_02_35_54_10095.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_44_10074.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_34_10110.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_24_8920.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_15_10043.jpg', '/mnt/data/07082025/02/34/image_07082025_02_35_05_10036.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/35/image_07082025_02_35_54_10095.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_44_10074.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_34_10110.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_24_8920.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_15_10043.jpg', '/mnt/data/07082025/02/34/image_07082025_02_35_05_10036.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/35/image_07082025_02_35_54_10095.jpg
/mnt/data/07082025/02/35/image_07082025_02_35_44_10074.jpg
/mnt/data/07082025/02/35/image_07082025_02_35_34_10110.jpg
/mnt/data/07082025/02/35/image_07082025_02_35_24_8920.jpg
/mnt/data/07082025/02/35/image_07082025_02_35_15_10043.jpg
/mnt/data/07082025/02/34/image_07082025_02_35_05_10036.jpg
uploaded 0 photos
time to upload: 30.22280502319336 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:34:02.632886
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/35/image_07082025_02_35_54_10095.jpg', 2), ('/mnt/data/07082025/02/35/image_07082025_02_35_44_10074.jpg', 2), ('/mnt/data/07082025/02/35/image_07082025_02_35_34_10110.jpg', 2), ('/mnt/data/07082025/02/35/image_07082025_02_35_24_8920.jpg', 2), ('/mnt/data/07082025/02/35/image_07082025_02_35_15_10043.jpg', 2), ('/mnt/data/07082025/02/34/image_07082025_02_35_05_10036.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/35/image_07082025_02_35_54_10095.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_44_10074.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_34_10110.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_24_8920.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_15_10043.jpg', '/mnt/data/07082025/02/34/image_07082025_02_35_05_10036.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/35/image_07082025_02_35_54_10095.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_44_10074.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_34_10110.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_24_8920.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_15_10043.jpg', '/mnt/data/07082025/02/34/image_07082025_02_35_05_10036.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/35/image_07082025_02_35_54_10095.jpg
/mnt/data/07082025/02/35/image_07082025_02_35_44_10074.jpg
/mnt/data/07082025/02/35/image_07082025_02_35_34_10110.jpg
/mnt/data/07082025/02/35/image_07082025_02_35_24_8920.jpg
/mnt/data/07082025/02/35/image_07082025_02_35_15_10043.jpg
/mnt/data/07082025/02/34/image_07082025_02_35_05_10036.jpg
uploaded 0 photos
time to upload: 30.219658374786377 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:35:03.196905
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/35/image_07082025_02_35_54_10095.jpg', 2), ('/mnt/data/07082025/02/35/image_07082025_02_35_44_10074.jpg', 2), ('/mnt/data/07082025/02/35/image_07082025_02_35_34_10110.jpg', 2), ('/mnt/data/07082025/02/35/image_07082025_02_35_24_8920.jpg', 2), ('/mnt/data/07082025/02/35/image_07082025_02_35_15_10043.jpg', 2), ('/mnt/data/07082025/02/34/image_07082025_02_35_05_10036.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/35/image_07082025_02_35_54_10095.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_44_10074.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_34_10110.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_24_8920.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_15_10043.jpg', '/mnt/data/07082025/02/34/image_07082025_02_35_05_10036.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/35/image_07082025_02_35_54_10095.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_44_10074.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_34_10110.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_24_8920.jpg', '/mnt/data/07082025/02/35/image_07082025_02_35_15_10043.jpg', '/mnt/data/07082025/02/34/image_07082025_02_35_05_10036.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/35/image_07082025_02_35_54_10095.jpg
/mnt/data/07082025/02/35/image_07082025_02_35_44_10074.jpg
/mnt/data/07082025/02/35/image_07082025_02_35_34_10110.jpg
/mnt/data/07082025/02/35/image_07082025_02_35_24_8920.jpg
/mnt/data/07082025/02/35/image_07082025_02_35_15_10043.jpg
/mnt/data/07082025/02/34/image_07082025_02_35_05_10036.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":["1375620592","1375620594","1375620756","1375620726","1375620636","1375620717"],"photo_ids_order":["1375620592","1375620594","1375620636","1375620717","1375620726","1375620756"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/a72b569758428370cd29d481936215e9.jpg","text":"TemporaryFile(/tmp/multipartBody3469484529629186223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754555791398,"filename":"image_07082025_02_35_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/7/c67e19286c626a9441da55f7b601521c.jpg","text":"TemporaryFile(/tmp/multipartBody7248731327701806770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754555791398,"filename":"image_07082025_02_35_44_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/7/8e8d420d87f0ae55c59bea52dc2a24b1.jpg","text":"TemporaryFile(/tmp/multipartBody482903744318863820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754555791398,"filename":"image_07082025_02_35_05_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/7/1dee184d2da56fb4e486a0be01728a27.jpg","text":"TemporaryFile(/tmp/multipartBody878948146629693211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754555791398,"filename":"image_07082025_02_35_15_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/7/9f6635741a0d27575581527e05899f1c.jpg","text":"TemporaryFile(/tmp/multipartBody872990025214616251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754555791398,"filename":"image_07082025_02_35_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/7/32e82ebb950e2626fb8cf7ea997a4cb7.jpg","text":"TemporaryFile(/tmp/multipartBody3915920470473164748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754555791398,"filename":"image_07082025_02_35_24_8920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375620636","file1":"1375620594","file0":"1375620592","file4":"1375620726","file5":"1375620756","file3":"1375620717"},"map_files_photo_id_array":[{"photo_id":"1375620756","filename":"file5"},{"photo_id":"1375620636","filename":"file2"},{"photo_id":"1375620726","filename":"file4"},{"photo_id":"1375620594","filename":"file1"},{"photo_id":"1375620592","filename":"file0"},{"photo_id":"1375620717","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375620592":["hashtag1","hashtag2"]},{"1375620594":["hashtag1","hashtag2"]},{"1375620756":["hashtag1","hashtag2"]},{"1375620726":["hashtag1","hashtag2"]},{"1375620636":["hashtag1","hashtag2"]},{"1375620717":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375620592, 1375620594, 1375620756, 1375620726, 1375620636, 1375620717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.28381991386414 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:37:03.672446
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/34/image_07082025_02_34_55_9962.jpg', 2), ('/mnt/data/07082025/02/34/image_07082025_02_34_45_10011.jpg', 2), ('/mnt/data/07082025/02/34/image_07082025_02_34_35_9944.jpg', 2), ('/mnt/data/07082025/02/34/image_07082025_02_34_25_9957.jpg', 2), ('/mnt/data/07082025/02/34/image_07082025_02_34_15_10063.jpg', 2), ('/mnt/data/07082025/02/33/image_07082025_02_34_05_10081.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/34/image_07082025_02_34_55_9962.jpg', '/mnt/data/07082025/02/34/image_07082025_02_34_45_10011.jpg', '/mnt/data/07082025/02/34/image_07082025_02_34_35_9944.jpg', '/mnt/data/07082025/02/34/image_07082025_02_34_25_9957.jpg', '/mnt/data/07082025/02/34/image_07082025_02_34_15_10063.jpg', '/mnt/data/07082025/02/33/image_07082025_02_34_05_10081.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/34/image_07082025_02_34_55_9962.jpg', '/mnt/data/07082025/02/34/image_07082025_02_34_45_10011.jpg', '/mnt/data/07082025/02/34/image_07082025_02_34_35_9944.jpg', '/mnt/data/07082025/02/34/image_07082025_02_34_25_9957.jpg', '/mnt/data/07082025/02/34/image_07082025_02_34_15_10063.jpg', '/mnt/data/07082025/02/33/image_07082025_02_34_05_10081.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/34/image_07082025_02_34_55_9962.jpg
/mnt/data/07082025/02/34/image_07082025_02_34_45_10011.jpg
/mnt/data/07082025/02/34/image_07082025_02_34_35_9944.jpg
/mnt/data/07082025/02/34/image_07082025_02_34_25_9957.jpg
/mnt/data/07082025/02/34/image_07082025_02_34_15_10063.jpg
/mnt/data/07082025/02/33/image_07082025_02_34_05_10081.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 130.22954630851746 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-07 10:40:02.621981
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/34/image_07082025_02_34_55_9962.jpg', 2), ('/mnt/data/07082025/02/34/image_07082025_02_34_45_10011.jpg', 2), ('/mnt/data/07082025/02/34/image_07082025_02_34_35_9944.jpg', 2), ('/mnt/data/07082025/02/34/image_07082025_02_34_25_9957.jpg', 2), ('/mnt/data/07082025/02/34/image_07082025_02_34_15_10063.jpg', 2), ('/mnt/data/07082025/02/33/image_07082025_02_34_05_10081.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/34/image_07082025_02_34_55_9962.jpg', '/mnt/data/07082025/02/34/image_07082025_02_34_45_10011.jpg', '/mnt/data/07082025/02/34/image_07082025_02_34_35_9944.jpg', '/mnt/data/07082025/02/34/image_07082025_02_34_25_9957.jpg', '/mnt/data/07082025/02/34/image_07082025_02_34_15_10063.jpg', '/mnt/data/07082025/02/33/image_07082025_02_34_05_10081.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/34/image_07082025_02_34_55_9962.jpg', '/mnt/data/07082025/02/34/image_07082025_02_34_45_10011.jpg', '/mnt/data/07082025/02/34/image_07082025_02_34_35_9944.jpg', '/mnt/data/07082025/02/34/image_07082025_02_34_25_9957.jpg', '/mnt/data/07082025/02/34/image_07082025_02_34_15_10063.jpg', '/mnt/data/07082025/02/33/image_07082025_02_34_05_10081.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/34/image_07082025_02_34_55_9962.jpg
/mnt/data/07082025/02/34/image_07082025_02_34_45_10011.jpg
/mnt/data/07082025/02/34/image_07082025_02_34_35_9944.jpg
/mnt/data/07082025/02/34/image_07082025_02_34_25_9957.jpg
/mnt/data/07082025/02/34/image_07082025_02_34_15_10063.jpg
/mnt/data/07082025/02/33/image_07082025_02_34_05_10081.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375621693","1375621756","1375621834","1375621593","1375621877","1375621643"],"photo_ids_order":["1375621593","1375621643","1375621693","1375621756","1375621834","1375621877"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d73cd3bd60f679732eeb248b64cc6e10.jpg","text":"TemporaryFile(/tmp/multipartBody592891001903029233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754556070801,"filename":"image_07082025_02_34_35_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/7/8ef4be233fcdc12ae2b1a4d8f2dc5e35.jpg","text":"TemporaryFile(/tmp/multipartBody5475239513114376915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754556070801,"filename":"image_07082025_02_34_25_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/7/3a69e06725df3b8e25650ea357a3ccae.jpg","text":"TemporaryFile(/tmp/multipartBody7564719116540703305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754556070801,"filename":"image_07082025_02_34_15_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/7/77d8e77418b2bd8fadc1a2ac6ac67810.jpg","text":"TemporaryFile(/tmp/multipartBody3761291416330966719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754556070801,"filename":"image_07082025_02_34_55_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/7/6555694039be3b1002fd77966e59d676.jpg","text":"TemporaryFile(/tmp/multipartBody5755331079715962195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754556070801,"filename":"image_07082025_02_34_05_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/7/4c1296a58cadc9fc5712e48a728df1f1.jpg","text":"TemporaryFile(/tmp/multipartBody6264039667800759790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754556070801,"filename":"image_07082025_02_34_45_10011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375621693","file1":"1375621643","file0":"1375621593","file4":"1375621834","file5":"1375621877","file3":"1375621756"},"map_files_photo_id_array":[{"photo_id":"1375621877","filename":"file5"},{"photo_id":"1375621693","filename":"file2"},{"photo_id":"1375621834","filename":"file4"},{"photo_id":"1375621643","filename":"file1"},{"photo_id":"1375621593","filename":"file0"},{"photo_id":"1375621756","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375621693":["hashtag1","hashtag2"]},{"1375621756":["hashtag1","hashtag2"]},{"1375621834":["hashtag1","hashtag2"]},{"1375621593":["hashtag1","hashtag2"]},{"1375621877":["hashtag1","hashtag2"]},{"1375621643":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375621693, 1375621756, 1375621834, 1375621593, 1375621877, 1375621643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.33445119857788 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:41:02.728144
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', 2), ('/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg
/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg
uploaded 0 photos
time to upload: 30.212947607040405 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:42:02.538838
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', 2), ('/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg
/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg
uploaded 0 photos
time to upload: 30.227067232131958 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:43:03.463525
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', 2), ('/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg
/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 140.8935468196869 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-07 10:46:03.357543
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', 2), ('/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg
/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg
uploaded 0 photos
time to upload: 30.22666049003601 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:47:03.421821
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', 2), ('/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg
/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg
uploaded 0 photos
time to upload: 30.221662044525146 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:48:03.050523
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', 2), ('/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg
/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg
uploaded 0 photos
time to upload: 30.212286710739136 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:49:03.172192
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', 2), ('/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg
/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg
uploaded 0 photos
time to upload: 8.720163583755493 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-07 10:50:02.601388
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', 2), ('/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg
/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg
uploaded 0 photos
time to upload: 30.23119282722473 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:51:02.577187
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', 2), ('/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg
/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg
uploaded 0 photos
time to upload: 30.23889470100403 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:52:03.164173
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', 2), ('/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg
/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg
uploaded 0 photos
time to upload: 30.22410273551941 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:53:03.317969
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', 2), ('/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg
/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg
uploaded 0 photos
time to upload: 30.215018033981323 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:54:03.023745
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', 2), ('/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', 2), ('/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg', '/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg', '/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/33/image_07082025_02_33_55_10028.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_44_10176.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_34_9068.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_25_10142.jpg
/mnt/data/07082025/02/31/image_07082025_02_31_15_10250.jpg
/mnt/data/07082025/02/30/image_07082025_02_31_05_10307.jpg
 val : 1 : upload photos already in processing! 
 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":["1375627768","1375627933","1375627822","1375627765","1375627752","1375627769"],"photo_ids_order":["1375627752","1375627765","1375627768","1375627769","1375627822","1375627933"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/20f519a2a66002fa7855a67c2f230a6c.jpg","text":"TemporaryFile(/tmp/multipartBody8155645477794496410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754556994723,"filename":"image_07082025_02_31_34_9068.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/e2fc2d2f43f372307995c583d9f5c8ad.jpg","text":"TemporaryFile(/tmp/multipartBody3035195316598735397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754556994723,"filename":"image_07082025_02_31_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/7/6ebd87579ee44de83a575a79d3028d1b.jpg","text":"TemporaryFile(/tmp/multipartBody8707725946372260217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754556994723,"filename":"image_07082025_02_31_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/7/ed72fa03520287706ba5028cfc72c170.jpg","text":"TemporaryFile(/tmp/multipartBody2933378558098022791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754556994723,"filename":"image_07082025_02_31_44_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/7/f5b09e3ed5127293423aa258aadacd55.jpg","text":"TemporaryFile(/tmp/multipartBody4193138562871265994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754556994723,"filename":"image_07082025_02_33_55_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/7/327ed0ef7ad38b21ce24e9e0efbe7b74.jpg","text":"TemporaryFile(/tmp/multipartBody8683819387511182834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754556994723,"filename":"image_07082025_02_31_25_10142.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375627768","file1":"1375627765","file0":"1375627752","file4":"1375627822","file5":"1375627933","file3":"1375627769"},"map_files_photo_id_array":[{"photo_id":"1375627933","filename":"file5"},{"photo_id":"1375627768","filename":"file2"},{"photo_id":"1375627822","filename":"file4"},{"photo_id":"1375627765","filename":"file1"},{"photo_id":"1375627752","filename":"file0"},{"photo_id":"1375627769","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375627768":["hashtag1","hashtag2"]},{"1375627933":["hashtag1","hashtag2"]},{"1375627822":["hashtag1","hashtag2"]},{"1375627765":["hashtag1","hashtag2"]},{"1375627752":["hashtag1","hashtag2"]},{"1375627769":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375627768, 1375627933, 1375627822, 1375627765, 1375627752, 1375627769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 130.02849650382996 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:57:02.882632
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/30/image_07082025_02_30_54_10126.jpg', 2), ('/mnt/data/07082025/02/30/image_07082025_02_30_44_10126.jpg', 2), ('/mnt/data/07082025/02/30/image_07082025_02_30_24_8937.jpg', 2), ('/mnt/data/07082025/02/30/image_07082025_02_30_15_10092.jpg', 2), ('/mnt/data/07082025/02/29/image_07082025_02_30_05_10225.jpg', 2), ('/mnt/data/07082025/02/29/image_07082025_02_29_55_10205.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/30/image_07082025_02_30_54_10126.jpg', '/mnt/data/07082025/02/30/image_07082025_02_30_44_10126.jpg', '/mnt/data/07082025/02/30/image_07082025_02_30_24_8937.jpg', '/mnt/data/07082025/02/30/image_07082025_02_30_15_10092.jpg', '/mnt/data/07082025/02/29/image_07082025_02_30_05_10225.jpg', '/mnt/data/07082025/02/29/image_07082025_02_29_55_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/30/image_07082025_02_30_54_10126.jpg', '/mnt/data/07082025/02/30/image_07082025_02_30_44_10126.jpg', '/mnt/data/07082025/02/30/image_07082025_02_30_24_8937.jpg', '/mnt/data/07082025/02/30/image_07082025_02_30_15_10092.jpg', '/mnt/data/07082025/02/29/image_07082025_02_30_05_10225.jpg', '/mnt/data/07082025/02/29/image_07082025_02_29_55_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/30/image_07082025_02_30_54_10126.jpg
/mnt/data/07082025/02/30/image_07082025_02_30_44_10126.jpg
/mnt/data/07082025/02/30/image_07082025_02_30_24_8937.jpg
/mnt/data/07082025/02/30/image_07082025_02_30_15_10092.jpg
/mnt/data/07082025/02/29/image_07082025_02_30_05_10225.jpg
/mnt/data/07082025/02/29/image_07082025_02_29_55_10205.jpg
uploaded 0 photos
time to upload: 30.232855319976807 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 10:59:03.096636
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/30/image_07082025_02_30_54_10126.jpg', 2), ('/mnt/data/07082025/02/30/image_07082025_02_30_44_10126.jpg', 2), ('/mnt/data/07082025/02/30/image_07082025_02_30_24_8937.jpg', 2), ('/mnt/data/07082025/02/30/image_07082025_02_30_15_10092.jpg', 2), ('/mnt/data/07082025/02/29/image_07082025_02_30_05_10225.jpg', 2), ('/mnt/data/07082025/02/29/image_07082025_02_29_55_10205.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/30/image_07082025_02_30_54_10126.jpg', '/mnt/data/07082025/02/30/image_07082025_02_30_44_10126.jpg', '/mnt/data/07082025/02/30/image_07082025_02_30_24_8937.jpg', '/mnt/data/07082025/02/30/image_07082025_02_30_15_10092.jpg', '/mnt/data/07082025/02/29/image_07082025_02_30_05_10225.jpg', '/mnt/data/07082025/02/29/image_07082025_02_29_55_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/30/image_07082025_02_30_54_10126.jpg', '/mnt/data/07082025/02/30/image_07082025_02_30_44_10126.jpg', '/mnt/data/07082025/02/30/image_07082025_02_30_24_8937.jpg', '/mnt/data/07082025/02/30/image_07082025_02_30_15_10092.jpg', '/mnt/data/07082025/02/29/image_07082025_02_30_05_10225.jpg', '/mnt/data/07082025/02/29/image_07082025_02_29_55_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/30/image_07082025_02_30_54_10126.jpg
/mnt/data/07082025/02/30/image_07082025_02_30_44_10126.jpg
/mnt/data/07082025/02/30/image_07082025_02_30_24_8937.jpg
/mnt/data/07082025/02/30/image_07082025_02_30_15_10092.jpg
/mnt/data/07082025/02/29/image_07082025_02_30_05_10225.jpg
/mnt/data/07082025/02/29/image_07082025_02_29_55_10205.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":["1375628173","1375628187","1375628183","1375628189","1375628185","1375628179"],"photo_ids_order":["1375628173","1375628179","1375628183","1375628185","1375628187","1375628189"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/08ee0a99713942edcfa39619487012f5.jpg","text":"TemporaryFile(/tmp/multipartBody8021660210268472327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557230592,"filename":"image_07082025_02_30_54_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/7/43496d85a699de55be444e1b086d6438.jpg","text":"TemporaryFile(/tmp/multipartBody413918467552071303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557230592,"filename":"image_07082025_02_30_05_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/7/b4fc17099bce59d6d5eeb293fddc6a73.jpg","text":"TemporaryFile(/tmp/multipartBody7058223794557003843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557230592,"filename":"image_07082025_02_30_24_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/7/bec2ccec2796143d970b9332d930403c.jpg","text":"TemporaryFile(/tmp/multipartBody2293280043742101910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557230592,"filename":"image_07082025_02_29_55_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/7/3fa2c5dacc3343e882973535b1d5e659.jpg","text":"TemporaryFile(/tmp/multipartBody1165205401133610859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557230592,"filename":"image_07082025_02_30_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/7/7e6dbacd45cabcf55ec5a42d77cfc681.jpg","text":"TemporaryFile(/tmp/multipartBody4562205588522306292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557230592,"filename":"image_07082025_02_30_44_10126.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375628183","file1":"1375628179","file0":"1375628173","file4":"1375628187","file5":"1375628189","file3":"1375628185"},"map_files_photo_id_array":[{"photo_id":"1375628189","filename":"file5"},{"photo_id":"1375628183","filename":"file2"},{"photo_id":"1375628187","filename":"file4"},{"photo_id":"1375628179","filename":"file1"},{"photo_id":"1375628173","filename":"file0"},{"photo_id":"1375628185","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375628173":["hashtag1","hashtag2"]},{"1375628187":["hashtag1","hashtag2"]},{"1375628183":["hashtag1","hashtag2"]},{"1375628189":["hashtag1","hashtag2"]},{"1375628185":["hashtag1","hashtag2"]},{"1375628179":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375628173, 1375628187, 1375628183, 1375628189, 1375628185, 1375628179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 79.45221543312073 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:01:02.936635
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/29/image_07082025_02_29_44_10085.jpg', 2), ('/mnt/data/07082025/02/29/image_07082025_02_29_34_10077.jpg', 2), ('/mnt/data/07082025/02/29/image_07082025_02_29_24_10219.jpg', 2), ('/mnt/data/07082025/02/29/image_07082025_02_29_14_9021.jpg', 2), ('/mnt/data/07082025/02/28/image_07082025_02_29_05_10110.jpg', 2), ('/mnt/data/07082025/02/28/image_07082025_02_28_55_10109.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/29/image_07082025_02_29_44_10085.jpg', '/mnt/data/07082025/02/29/image_07082025_02_29_34_10077.jpg', '/mnt/data/07082025/02/29/image_07082025_02_29_24_10219.jpg', '/mnt/data/07082025/02/29/image_07082025_02_29_14_9021.jpg', '/mnt/data/07082025/02/28/image_07082025_02_29_05_10110.jpg', '/mnt/data/07082025/02/28/image_07082025_02_28_55_10109.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/29/image_07082025_02_29_44_10085.jpg', '/mnt/data/07082025/02/29/image_07082025_02_29_34_10077.jpg', '/mnt/data/07082025/02/29/image_07082025_02_29_24_10219.jpg', '/mnt/data/07082025/02/29/image_07082025_02_29_14_9021.jpg', '/mnt/data/07082025/02/28/image_07082025_02_29_05_10110.jpg', '/mnt/data/07082025/02/28/image_07082025_02_28_55_10109.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/29/image_07082025_02_29_44_10085.jpg
/mnt/data/07082025/02/29/image_07082025_02_29_34_10077.jpg
/mnt/data/07082025/02/29/image_07082025_02_29_24_10219.jpg
/mnt/data/07082025/02/29/image_07082025_02_29_14_9021.jpg
/mnt/data/07082025/02/28/image_07082025_02_29_05_10110.jpg
/mnt/data/07082025/02/28/image_07082025_02_28_55_10109.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":["1375628571","1375628673","1375628864","1375628738","1375628531","1375628807"],"photo_ids_order":["1375628531","1375628571","1375628673","1375628738","1375628807","1375628864"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/768af8d7c8663e4684c56c2802ea3fa5.jpg","text":"TemporaryFile(/tmp/multipartBody5875130240284252650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557346694,"filename":"image_07082025_02_29_34_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/7/b3f7357aaf6c1c5790d9166c9698d476.jpg","text":"TemporaryFile(/tmp/multipartBody8242646924126000313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557346694,"filename":"image_07082025_02_29_24_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/7/4def49a1f43f74acc1fc2b988decf302.jpg","text":"TemporaryFile(/tmp/multipartBody4366451317861585016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557346694,"filename":"image_07082025_02_28_55_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/7/c3e021a57937ea18138a519a5c173d19.jpg","text":"TemporaryFile(/tmp/multipartBody5350089015151890649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557346694,"filename":"image_07082025_02_29_14_9021.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/4ef241ff9816fd46940e071663adbb0d.jpg","text":"TemporaryFile(/tmp/multipartBody5265315800069041762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557346694,"filename":"image_07082025_02_29_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/7/8391011edc4aa79f381782346c194ffa.jpg","text":"TemporaryFile(/tmp/multipartBody236186234394705582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557346694,"filename":"image_07082025_02_29_05_10110.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375628673","file1":"1375628571","file0":"1375628531","file4":"1375628807","file5":"1375628864","file3":"1375628738"},"map_files_photo_id_array":[{"photo_id":"1375628864","filename":"file5"},{"photo_id":"1375628673","filename":"file2"},{"photo_id":"1375628807","filename":"file4"},{"photo_id":"1375628571","filename":"file1"},{"photo_id":"1375628531","filename":"file0"},{"photo_id":"1375628738","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375628571":["hashtag1","hashtag2"]},{"1375628673":["hashtag1","hashtag2"]},{"1375628864":["hashtag1","hashtag2"]},{"1375628738":["hashtag1","hashtag2"]},{"1375628531":["hashtag1","hashtag2"]},{"1375628807":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375628571, 1375628673, 1375628864, 1375628738, 1375628531, 1375628807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.93749904632568 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:03:03.372003
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/28/image_07082025_02_28_45_10197.jpg', 2), ('/mnt/data/07082025/02/28/image_07082025_02_28_35_10155.jpg', 2), ('/mnt/data/07082025/02/28/image_07082025_02_28_24_10070.jpg', 2), ('/mnt/data/07082025/02/28/image_07082025_02_28_14_10034.jpg', 2), ('/mnt/data/07082025/02/27/image_07082025_02_28_04_10292.jpg', 2), ('/mnt/data/07082025/02/27/image_07082025_02_27_54_10100.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/28/image_07082025_02_28_45_10197.jpg', '/mnt/data/07082025/02/28/image_07082025_02_28_35_10155.jpg', '/mnt/data/07082025/02/28/image_07082025_02_28_24_10070.jpg', '/mnt/data/07082025/02/28/image_07082025_02_28_14_10034.jpg', '/mnt/data/07082025/02/27/image_07082025_02_28_04_10292.jpg', '/mnt/data/07082025/02/27/image_07082025_02_27_54_10100.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/28/image_07082025_02_28_45_10197.jpg', '/mnt/data/07082025/02/28/image_07082025_02_28_35_10155.jpg', '/mnt/data/07082025/02/28/image_07082025_02_28_24_10070.jpg', '/mnt/data/07082025/02/28/image_07082025_02_28_14_10034.jpg', '/mnt/data/07082025/02/27/image_07082025_02_28_04_10292.jpg', '/mnt/data/07082025/02/27/image_07082025_02_27_54_10100.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/28/image_07082025_02_28_45_10197.jpg
/mnt/data/07082025/02/28/image_07082025_02_28_35_10155.jpg
/mnt/data/07082025/02/28/image_07082025_02_28_24_10070.jpg
/mnt/data/07082025/02/28/image_07082025_02_28_14_10034.jpg
/mnt/data/07082025/02/27/image_07082025_02_28_04_10292.jpg
/mnt/data/07082025/02/27/image_07082025_02_27_54_10100.jpg
uploaded 0 photos
time to upload: 30.252501487731934 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:04:02.712927
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/28/image_07082025_02_28_45_10197.jpg', 2), ('/mnt/data/07082025/02/28/image_07082025_02_28_35_10155.jpg', 2), ('/mnt/data/07082025/02/28/image_07082025_02_28_24_10070.jpg', 2), ('/mnt/data/07082025/02/28/image_07082025_02_28_14_10034.jpg', 2), ('/mnt/data/07082025/02/27/image_07082025_02_28_04_10292.jpg', 2), ('/mnt/data/07082025/02/27/image_07082025_02_27_54_10100.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/28/image_07082025_02_28_45_10197.jpg', '/mnt/data/07082025/02/28/image_07082025_02_28_35_10155.jpg', '/mnt/data/07082025/02/28/image_07082025_02_28_24_10070.jpg', '/mnt/data/07082025/02/28/image_07082025_02_28_14_10034.jpg', '/mnt/data/07082025/02/27/image_07082025_02_28_04_10292.jpg', '/mnt/data/07082025/02/27/image_07082025_02_27_54_10100.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/28/image_07082025_02_28_45_10197.jpg', '/mnt/data/07082025/02/28/image_07082025_02_28_35_10155.jpg', '/mnt/data/07082025/02/28/image_07082025_02_28_24_10070.jpg', '/mnt/data/07082025/02/28/image_07082025_02_28_14_10034.jpg', '/mnt/data/07082025/02/27/image_07082025_02_28_04_10292.jpg', '/mnt/data/07082025/02/27/image_07082025_02_27_54_10100.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/28/image_07082025_02_28_45_10197.jpg
/mnt/data/07082025/02/28/image_07082025_02_28_35_10155.jpg
/mnt/data/07082025/02/28/image_07082025_02_28_24_10070.jpg
/mnt/data/07082025/02/28/image_07082025_02_28_14_10034.jpg
/mnt/data/07082025/02/27/image_07082025_02_28_04_10292.jpg
/mnt/data/07082025/02/27/image_07082025_02_27_54_10100.jpg
uploaded 0 photos
time to upload: 30.219740629196167 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:05:02.960701
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/28/image_07082025_02_28_45_10197.jpg', 2), ('/mnt/data/07082025/02/28/image_07082025_02_28_35_10155.jpg', 2), ('/mnt/data/07082025/02/28/image_07082025_02_28_24_10070.jpg', 2), ('/mnt/data/07082025/02/28/image_07082025_02_28_14_10034.jpg', 2), ('/mnt/data/07082025/02/27/image_07082025_02_28_04_10292.jpg', 2), ('/mnt/data/07082025/02/27/image_07082025_02_27_54_10100.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/28/image_07082025_02_28_45_10197.jpg', '/mnt/data/07082025/02/28/image_07082025_02_28_35_10155.jpg', '/mnt/data/07082025/02/28/image_07082025_02_28_24_10070.jpg', '/mnt/data/07082025/02/28/image_07082025_02_28_14_10034.jpg', '/mnt/data/07082025/02/27/image_07082025_02_28_04_10292.jpg', '/mnt/data/07082025/02/27/image_07082025_02_27_54_10100.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/28/image_07082025_02_28_45_10197.jpg', '/mnt/data/07082025/02/28/image_07082025_02_28_35_10155.jpg', '/mnt/data/07082025/02/28/image_07082025_02_28_24_10070.jpg', '/mnt/data/07082025/02/28/image_07082025_02_28_14_10034.jpg', '/mnt/data/07082025/02/27/image_07082025_02_28_04_10292.jpg', '/mnt/data/07082025/02/27/image_07082025_02_27_54_10100.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/28/image_07082025_02_28_45_10197.jpg
/mnt/data/07082025/02/28/image_07082025_02_28_35_10155.jpg
/mnt/data/07082025/02/28/image_07082025_02_28_24_10070.jpg
/mnt/data/07082025/02/28/image_07082025_02_28_14_10034.jpg
/mnt/data/07082025/02/27/image_07082025_02_28_04_10292.jpg
/mnt/data/07082025/02/27/image_07082025_02_27_54_10100.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375630158","1375630137","1375630142","1375630139","1375630136","1375630189"],"photo_ids_order":["1375630136","1375630137","1375630139","1375630142","1375630158","1375630189"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/625f1b9ec1b201d2a9e0c73adf35b11d.jpg","text":"TemporaryFile(/tmp/multipartBody4325281386205339624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557567038,"filename":"image_07082025_02_28_04_10292.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/0bbd464a2be05600cfcec6ab97b92c2a.jpg","text":"TemporaryFile(/tmp/multipartBody4226107154376509260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557567038,"filename":"image_07082025_02_28_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/7/41616ff43cce438d7c294c4e436939e9.jpg","text":"TemporaryFile(/tmp/multipartBody1910613471463196769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557567038,"filename":"image_07082025_02_28_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/7/22e82b31f10f72eff0164ebd23e7ce71.jpg","text":"TemporaryFile(/tmp/multipartBody8716951796929062988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557567038,"filename":"image_07082025_02_28_24_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/7/61afc2b40f135405ed6b6773e69b5371.jpg","text":"TemporaryFile(/tmp/multipartBody4189466951482033849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557567038,"filename":"image_07082025_02_28_45_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/7/e88085b5388d69db0e97dedfa87dac56.jpg","text":"TemporaryFile(/tmp/multipartBody1428124310114439398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557567038,"filename":"image_07082025_02_27_54_10100.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375630139","file1":"1375630137","file0":"1375630136","file4":"1375630158","file5":"1375630189","file3":"1375630142"},"map_files_photo_id_array":[{"photo_id":"1375630189","filename":"file5"},{"photo_id":"1375630139","filename":"file2"},{"photo_id":"1375630158","filename":"file4"},{"photo_id":"1375630137","filename":"file1"},{"photo_id":"1375630136","filename":"file0"},{"photo_id":"1375630142","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375630158":["hashtag1","hashtag2"]},{"1375630137":["hashtag1","hashtag2"]},{"1375630142":["hashtag1","hashtag2"]},{"1375630139":["hashtag1","hashtag2"]},{"1375630136":["hashtag1","hashtag2"]},{"1375630189":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375630158, 1375630137, 1375630142, 1375630139, 1375630136, 1375630189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.08760094642639 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:06:02.577426
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/26/image_07082025_02_26_44_10333.jpg', 2), ('/mnt/data/07082025/02/26/image_07082025_02_26_34_10028.jpg', 2), ('/mnt/data/07082025/02/26/image_07082025_02_26_24_10077.jpg', 2), ('/mnt/data/07082025/02/25/image_07082025_02_25_34_10060.jpg', 2), ('/mnt/data/07082025/02/25/image_07082025_02_25_24_9944.jpg', 2), ('/mnt/data/07082025/02/25/image_07082025_02_25_14_9960.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/26/image_07082025_02_26_44_10333.jpg', '/mnt/data/07082025/02/26/image_07082025_02_26_34_10028.jpg', '/mnt/data/07082025/02/26/image_07082025_02_26_24_10077.jpg', '/mnt/data/07082025/02/25/image_07082025_02_25_34_10060.jpg', '/mnt/data/07082025/02/25/image_07082025_02_25_24_9944.jpg', '/mnt/data/07082025/02/25/image_07082025_02_25_14_9960.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/26/image_07082025_02_26_44_10333.jpg', '/mnt/data/07082025/02/26/image_07082025_02_26_34_10028.jpg', '/mnt/data/07082025/02/26/image_07082025_02_26_24_10077.jpg', '/mnt/data/07082025/02/25/image_07082025_02_25_34_10060.jpg', '/mnt/data/07082025/02/25/image_07082025_02_25_24_9944.jpg', '/mnt/data/07082025/02/25/image_07082025_02_25_14_9960.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/26/image_07082025_02_26_44_10333.jpg
/mnt/data/07082025/02/26/image_07082025_02_26_34_10028.jpg
/mnt/data/07082025/02/26/image_07082025_02_26_24_10077.jpg
/mnt/data/07082025/02/25/image_07082025_02_25_34_10060.jpg
/mnt/data/07082025/02/25/image_07082025_02_25_24_9944.jpg
/mnt/data/07082025/02/25/image_07082025_02_25_14_9960.jpg
uploaded 0 photos
time to upload: 30.226985216140747 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:07:03.522602
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/26/image_07082025_02_26_44_10333.jpg', 2), ('/mnt/data/07082025/02/26/image_07082025_02_26_34_10028.jpg', 2), ('/mnt/data/07082025/02/26/image_07082025_02_26_24_10077.jpg', 2), ('/mnt/data/07082025/02/25/image_07082025_02_25_34_10060.jpg', 2), ('/mnt/data/07082025/02/25/image_07082025_02_25_24_9944.jpg', 2), ('/mnt/data/07082025/02/25/image_07082025_02_25_14_9960.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/26/image_07082025_02_26_44_10333.jpg', '/mnt/data/07082025/02/26/image_07082025_02_26_34_10028.jpg', '/mnt/data/07082025/02/26/image_07082025_02_26_24_10077.jpg', '/mnt/data/07082025/02/25/image_07082025_02_25_34_10060.jpg', '/mnt/data/07082025/02/25/image_07082025_02_25_24_9944.jpg', '/mnt/data/07082025/02/25/image_07082025_02_25_14_9960.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/26/image_07082025_02_26_44_10333.jpg', '/mnt/data/07082025/02/26/image_07082025_02_26_34_10028.jpg', '/mnt/data/07082025/02/26/image_07082025_02_26_24_10077.jpg', '/mnt/data/07082025/02/25/image_07082025_02_25_34_10060.jpg', '/mnt/data/07082025/02/25/image_07082025_02_25_24_9944.jpg', '/mnt/data/07082025/02/25/image_07082025_02_25_14_9960.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/26/image_07082025_02_26_44_10333.jpg
/mnt/data/07082025/02/26/image_07082025_02_26_34_10028.jpg
/mnt/data/07082025/02/26/image_07082025_02_26_24_10077.jpg
/mnt/data/07082025/02/25/image_07082025_02_25_34_10060.jpg
/mnt/data/07082025/02/25/image_07082025_02_25_24_9944.jpg
/mnt/data/07082025/02/25/image_07082025_02_25_14_9960.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375630759","1375630732","1375630698","1375630746","1375630784","1375630658"],"photo_ids_order":["1375630658","1375630698","1375630732","1375630746","1375630759","1375630784"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/e92d57ed7cdd289b5681c8dd5e3d8ca6.jpg","text":"TemporaryFile(/tmp/multipartBody8033665833199912573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557698228,"filename":"image_07082025_02_25_24_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/7/ee24a3d0fd336f31858064405a2d84fc.jpg","text":"TemporaryFile(/tmp/multipartBody3450575451360357096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557698228,"filename":"image_07082025_02_26_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/7/70b321b080998fa67353d8012c10fccc.jpg","text":"TemporaryFile(/tmp/multipartBody7675252030140069236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557698228,"filename":"image_07082025_02_26_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/7/ec6189f0fae951c81ffd7accd2683275.jpg","text":"TemporaryFile(/tmp/multipartBody471890546890080361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557698228,"filename":"image_07082025_02_25_34_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/7/92215f987a93d5de79ab2f1f3fa8cdd1.jpg","text":"TemporaryFile(/tmp/multipartBody3449606479353038367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557698228,"filename":"image_07082025_02_25_14_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/7/bdcb563131f612b1f57c7a08caec8c30.jpg","text":"TemporaryFile(/tmp/multipartBody3976045423894978479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557698228,"filename":"image_07082025_02_26_44_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375630732","file1":"1375630698","file0":"1375630658","file4":"1375630759","file5":"1375630784","file3":"1375630746"},"map_files_photo_id_array":[{"photo_id":"1375630784","filename":"file5"},{"photo_id":"1375630732","filename":"file2"},{"photo_id":"1375630759","filename":"file4"},{"photo_id":"1375630698","filename":"file1"},{"photo_id":"1375630658","filename":"file0"},{"photo_id":"1375630746","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375630759":["hashtag1","hashtag2"]},{"1375630732":["hashtag1","hashtag2"]},{"1375630698":["hashtag1","hashtag2"]},{"1375630746":["hashtag1","hashtag2"]},{"1375630784":["hashtag1","hashtag2"]},{"1375630658":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375630759, 1375630732, 1375630698, 1375630746, 1375630784, 1375630658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.89042568206787 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:08:02.857968
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/24/image_07082025_02_25_04_10266.jpg', 2), ('/mnt/data/07082025/02/24/image_07082025_02_24_54_10017.jpg', 2), ('/mnt/data/07082025/02/24/image_07082025_02_24_44_9997.jpg', 2), ('/mnt/data/07082025/02/24/image_07082025_02_24_34_10116.jpg', 2), ('/mnt/data/07082025/02/24/image_07082025_02_24_24_10092.jpg', 2), ('/mnt/data/07082025/02/24/image_07082025_02_24_14_8964.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/24/image_07082025_02_25_04_10266.jpg', '/mnt/data/07082025/02/24/image_07082025_02_24_54_10017.jpg', '/mnt/data/07082025/02/24/image_07082025_02_24_44_9997.jpg', '/mnt/data/07082025/02/24/image_07082025_02_24_34_10116.jpg', '/mnt/data/07082025/02/24/image_07082025_02_24_24_10092.jpg', '/mnt/data/07082025/02/24/image_07082025_02_24_14_8964.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/24/image_07082025_02_25_04_10266.jpg', '/mnt/data/07082025/02/24/image_07082025_02_24_54_10017.jpg', '/mnt/data/07082025/02/24/image_07082025_02_24_44_9997.jpg', '/mnt/data/07082025/02/24/image_07082025_02_24_34_10116.jpg', '/mnt/data/07082025/02/24/image_07082025_02_24_24_10092.jpg', '/mnt/data/07082025/02/24/image_07082025_02_24_14_8964.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/24/image_07082025_02_25_04_10266.jpg
/mnt/data/07082025/02/24/image_07082025_02_24_54_10017.jpg
/mnt/data/07082025/02/24/image_07082025_02_24_44_9997.jpg
/mnt/data/07082025/02/24/image_07082025_02_24_34_10116.jpg
/mnt/data/07082025/02/24/image_07082025_02_24_24_10092.jpg
/mnt/data/07082025/02/24/image_07082025_02_24_14_8964.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375630848","1375630833","1375630842","1375630839","1375630835","1375630852"],"photo_ids_order":["1375630833","1375630835","1375630839","1375630842","1375630848","1375630852"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/8b9bea1bee019a13aa01f81d0b3525ac.jpg","text":"TemporaryFile(/tmp/multipartBody6867731924057019696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557757700,"filename":"image_07082025_02_24_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/7/a0bdd83799cfe0ba8e8b94d0d6baab23.jpg","text":"TemporaryFile(/tmp/multipartBody8574387562734240585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557757700,"filename":"image_07082025_02_25_04_10266.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/010dcf19fb1b2895cce5555cd7392639.jpg","text":"TemporaryFile(/tmp/multipartBody7288365067280918826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557757700,"filename":"image_07082025_02_24_34_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/7/6adcfe1d624887a00afe30e80d512bd2.jpg","text":"TemporaryFile(/tmp/multipartBody5781708294553823911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557757700,"filename":"image_07082025_02_24_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/7/ca63a124e778962aa38d726af68401de.jpg","text":"TemporaryFile(/tmp/multipartBody2414692691821931288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557757700,"filename":"image_07082025_02_24_54_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/7/0d57e4ef821be051053ba23658ce8b97.jpg","text":"TemporaryFile(/tmp/multipartBody3585280476841734907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754557757700,"filename":"image_07082025_02_24_14_8964.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375630839","file1":"1375630835","file0":"1375630833","file4":"1375630848","file5":"1375630852","file3":"1375630842"},"map_files_photo_id_array":[{"photo_id":"1375630852","filename":"file5"},{"photo_id":"1375630839","filename":"file2"},{"photo_id":"1375630848","filename":"file4"},{"photo_id":"1375630835","filename":"file1"},{"photo_id":"1375630833","filename":"file0"},{"photo_id":"1375630842","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375630848":["hashtag1","hashtag2"]},{"1375630833":["hashtag1","hashtag2"]},{"1375630842":["hashtag1","hashtag2"]},{"1375630839":["hashtag1","hashtag2"]},{"1375630835":["hashtag1","hashtag2"]},{"1375630852":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375630848, 1375630833, 1375630842, 1375630839, 1375630835, 1375630852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.20344281196594 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:09:03.218374
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg
uploaded 0 photos
time to upload: 30.22531223297119 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:10:02.717731
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg
uploaded 0 photos
time to upload: 30.22279191017151 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:11:02.753888
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg
uploaded 0 photos
time to upload: 30.222071886062622 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:12:02.403762
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg
uploaded 0 photos
time to upload: 30.197787046432495 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:13:03.409422
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg
uploaded 0 photos
time to upload: 30.22263789176941 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:14:03.289899
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg
uploaded 0 photos
time to upload: 30.2100613117218 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:15:03.064019
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg
uploaded 0 photos
time to upload: 30.22714066505432 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:16:02.754421
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg
uploaded 0 photos
time to upload: 30.222005605697632 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:17:02.736581
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg
uploaded 0 photos
time to upload: 30.234451055526733 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:18:02.378079
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg
uploaded 0 photos
time to upload: 30.214991807937622 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:19:03.426973
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', 2), ('/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg', '/mnt/data/07082025/02/23/image_07082025_02_23_14_9945.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/23/image_07082025_02_24_05_10234.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_55_10081.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_45_10123.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_34_10103.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_24_10142.jpg
/mnt/data/07082025/02/23/image_07082025_02_23_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":["1375632748","1375632814","1375632709","1375632873","1375632780","1375632762"],"photo_ids_order":["1375632709","1375632748","1375632762","1375632780","1375632814","1375632873"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/324f9d401e964bc6f4dfd57b10393a57.jpg","text":"TemporaryFile(/tmp/multipartBody466026030589127152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754558421166,"filename":"image_07082025_02_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/7/4ce0259081cb2289104a4bf1e9aa9577.jpg","text":"TemporaryFile(/tmp/multipartBody1808233595214699585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754558421166,"filename":"image_07082025_02_23_24_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/7/ac921a963348a3133dd434dbceb2925f.jpg","text":"TemporaryFile(/tmp/multipartBody8599623003634916776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754558421166,"filename":"image_07082025_02_24_05_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/7/9df31300b4538dd3ef090b2f63eb66f1.jpg","text":"TemporaryFile(/tmp/multipartBody2185372025729162479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754558421166,"filename":"image_07082025_02_23_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/7/56a77996163a429c0e8b185c1828668d.jpg","text":"TemporaryFile(/tmp/multipartBody2737944629403372696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754558421166,"filename":"image_07082025_02_23_34_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/7/05035167cb2f8b858b02ec38b852b844.jpg","text":"TemporaryFile(/tmp/multipartBody6271982460939536766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754558421166,"filename":"image_07082025_02_23_45_10123.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375632762","file1":"1375632748","file0":"1375632709","file4":"1375632814","file5":"1375632873","file3":"1375632780"},"map_files_photo_id_array":[{"photo_id":"1375632873","filename":"file5"},{"photo_id":"1375632762","filename":"file2"},{"photo_id":"1375632814","filename":"file4"},{"photo_id":"1375632748","filename":"file1"},{"photo_id":"1375632709","filename":"file0"},{"photo_id":"1375632780","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375632748":["hashtag1","hashtag2"]},{"1375632814":["hashtag1","hashtag2"]},{"1375632709":["hashtag1","hashtag2"]},{"1375632873":["hashtag1","hashtag2"]},{"1375632780":["hashtag1","hashtag2"]},{"1375632762":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375632748, 1375632814, 1375632709, 1375632873, 1375632780, 1375632762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.315675020217896 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:21:03.043715
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/22/image_07082025_02_23_04_10149.jpg', 2), ('/mnt/data/07082025/02/22/image_07082025_02_22_54_10011.jpg', 2), ('/mnt/data/07082025/02/22/image_07082025_02_22_44_10057.jpg', 2), ('/mnt/data/07082025/02/22/image_07082025_02_22_34_10019.jpg', 2), ('/mnt/data/07082025/02/22/image_07082025_02_22_24_9975.jpg', 2), ('/mnt/data/07082025/02/22/image_07082025_02_22_14_9962.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/22/image_07082025_02_23_04_10149.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_54_10011.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_44_10057.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_34_10019.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_24_9975.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_14_9962.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/22/image_07082025_02_23_04_10149.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_54_10011.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_44_10057.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_34_10019.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_24_9975.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_14_9962.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/22/image_07082025_02_23_04_10149.jpg
/mnt/data/07082025/02/22/image_07082025_02_22_54_10011.jpg
/mnt/data/07082025/02/22/image_07082025_02_22_44_10057.jpg
/mnt/data/07082025/02/22/image_07082025_02_22_34_10019.jpg
/mnt/data/07082025/02/22/image_07082025_02_22_24_9975.jpg
/mnt/data/07082025/02/22/image_07082025_02_22_14_9962.jpg
uploaded 0 photos
time to upload: 30.21546196937561 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:22:02.532149
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/22/image_07082025_02_23_04_10149.jpg', 2), ('/mnt/data/07082025/02/22/image_07082025_02_22_54_10011.jpg', 2), ('/mnt/data/07082025/02/22/image_07082025_02_22_44_10057.jpg', 2), ('/mnt/data/07082025/02/22/image_07082025_02_22_34_10019.jpg', 2), ('/mnt/data/07082025/02/22/image_07082025_02_22_24_9975.jpg', 2), ('/mnt/data/07082025/02/22/image_07082025_02_22_14_9962.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/22/image_07082025_02_23_04_10149.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_54_10011.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_44_10057.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_34_10019.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_24_9975.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_14_9962.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/22/image_07082025_02_23_04_10149.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_54_10011.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_44_10057.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_34_10019.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_24_9975.jpg', '/mnt/data/07082025/02/22/image_07082025_02_22_14_9962.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/22/image_07082025_02_23_04_10149.jpg
/mnt/data/07082025/02/22/image_07082025_02_22_54_10011.jpg
/mnt/data/07082025/02/22/image_07082025_02_22_44_10057.jpg
/mnt/data/07082025/02/22/image_07082025_02_22_34_10019.jpg
/mnt/data/07082025/02/22/image_07082025_02_22_24_9975.jpg
/mnt/data/07082025/02/22/image_07082025_02_22_14_9962.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375633598","1375633727","1375633655","1375633798","1375633690","1375633764"],"photo_ids_order":["1375633598","1375633655","1375633690","1375633727","1375633764","1375633798"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/e6e831bc8164c50884ef8f92ffa4d579.jpg","text":"TemporaryFile(/tmp/multipartBody8642547759542879197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754558590178,"filename":"image_07082025_02_23_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/7/c3dcedff1f065b51754d2a8bbeda319c.jpg","text":"TemporaryFile(/tmp/multipartBody6562063690723124242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754558590178,"filename":"image_07082025_02_22_34_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/7/8f4d51249a86ecda8a409351d010c066.jpg","text":"TemporaryFile(/tmp/multipartBody3222482375550486162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754558590178,"filename":"image_07082025_02_22_54_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/7/1fe9d56dd2c28ac1373fd0d1fc6de8f1.jpg","text":"TemporaryFile(/tmp/multipartBody3263541892881343311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754558590178,"filename":"image_07082025_02_22_14_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/7/af34d5a6db17458d6f8370d18499437e.jpg","text":"TemporaryFile(/tmp/multipartBody1911471715045985671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754558590178,"filename":"image_07082025_02_22_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/7/82e7bd600f828e470631ca5ffebd3662.jpg","text":"TemporaryFile(/tmp/multipartBody5852001874260803121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754558590178,"filename":"image_07082025_02_22_24_9975.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375633690","file1":"1375633655","file0":"1375633598","file4":"1375633764","file5":"1375633798","file3":"1375633727"},"map_files_photo_id_array":[{"photo_id":"1375633798","filename":"file5"},{"photo_id":"1375633690","filename":"file2"},{"photo_id":"1375633764","filename":"file4"},{"photo_id":"1375633655","filename":"file1"},{"photo_id":"1375633598","filename":"file0"},{"photo_id":"1375633727","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375633598":["hashtag1","hashtag2"]},{"1375633727":["hashtag1","hashtag2"]},{"1375633655":["hashtag1","hashtag2"]},{"1375633798":["hashtag1","hashtag2"]},{"1375633690":["hashtag1","hashtag2"]},{"1375633764":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375633598, 1375633727, 1375633655, 1375633798, 1375633690, 1375633764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.261340618133545 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:23:03.592829
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/21/image_07082025_02_22_04_10110.jpg', 2), ('/mnt/data/07082025/02/21/image_07082025_02_21_54_10025.jpg', 2), ('/mnt/data/07082025/02/21/image_07082025_02_21_44_9995.jpg', 2), ('/mnt/data/07082025/02/21/image_07082025_02_21_34_10004.jpg', 2), ('/mnt/data/07082025/02/21/image_07082025_02_21_24_10066.jpg', 2), ('/mnt/data/07082025/02/21/image_07082025_02_21_14_8948.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/21/image_07082025_02_22_04_10110.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_54_10025.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_44_9995.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_34_10004.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_24_10066.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_14_8948.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/21/image_07082025_02_22_04_10110.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_54_10025.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_44_9995.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_34_10004.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_24_10066.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_14_8948.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/21/image_07082025_02_22_04_10110.jpg
/mnt/data/07082025/02/21/image_07082025_02_21_54_10025.jpg
/mnt/data/07082025/02/21/image_07082025_02_21_44_9995.jpg
/mnt/data/07082025/02/21/image_07082025_02_21_34_10004.jpg
/mnt/data/07082025/02/21/image_07082025_02_21_24_10066.jpg
/mnt/data/07082025/02/21/image_07082025_02_21_14_8948.jpg
uploaded 0 photos
time to upload: 30.243481159210205 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:24:03.283721
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/21/image_07082025_02_22_04_10110.jpg', 2), ('/mnt/data/07082025/02/21/image_07082025_02_21_54_10025.jpg', 2), ('/mnt/data/07082025/02/21/image_07082025_02_21_44_9995.jpg', 2), ('/mnt/data/07082025/02/21/image_07082025_02_21_34_10004.jpg', 2), ('/mnt/data/07082025/02/21/image_07082025_02_21_24_10066.jpg', 2), ('/mnt/data/07082025/02/21/image_07082025_02_21_14_8948.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/21/image_07082025_02_22_04_10110.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_54_10025.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_44_9995.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_34_10004.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_24_10066.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_14_8948.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/21/image_07082025_02_22_04_10110.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_54_10025.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_44_9995.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_34_10004.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_24_10066.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_14_8948.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/21/image_07082025_02_22_04_10110.jpg
/mnt/data/07082025/02/21/image_07082025_02_21_54_10025.jpg
/mnt/data/07082025/02/21/image_07082025_02_21_44_9995.jpg
/mnt/data/07082025/02/21/image_07082025_02_21_34_10004.jpg
/mnt/data/07082025/02/21/image_07082025_02_21_24_10066.jpg
/mnt/data/07082025/02/21/image_07082025_02_21_14_8948.jpg
uploaded 0 photos
time to upload: 30.2209210395813 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:25:03.314965
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/21/image_07082025_02_22_04_10110.jpg', 2), ('/mnt/data/07082025/02/21/image_07082025_02_21_54_10025.jpg', 2), ('/mnt/data/07082025/02/21/image_07082025_02_21_44_9995.jpg', 2), ('/mnt/data/07082025/02/21/image_07082025_02_21_34_10004.jpg', 2), ('/mnt/data/07082025/02/21/image_07082025_02_21_24_10066.jpg', 2), ('/mnt/data/07082025/02/21/image_07082025_02_21_14_8948.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/21/image_07082025_02_22_04_10110.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_54_10025.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_44_9995.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_34_10004.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_24_10066.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_14_8948.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/21/image_07082025_02_22_04_10110.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_54_10025.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_44_9995.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_34_10004.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_24_10066.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_14_8948.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/21/image_07082025_02_22_04_10110.jpg
/mnt/data/07082025/02/21/image_07082025_02_21_54_10025.jpg
/mnt/data/07082025/02/21/image_07082025_02_21_44_9995.jpg
/mnt/data/07082025/02/21/image_07082025_02_21_34_10004.jpg
/mnt/data/07082025/02/21/image_07082025_02_21_24_10066.jpg
/mnt/data/07082025/02/21/image_07082025_02_21_14_8948.jpg
uploaded 0 photos
time to upload: 30.224499702453613 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:26:02.951372
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/21/image_07082025_02_22_04_10110.jpg', 2), ('/mnt/data/07082025/02/21/image_07082025_02_21_54_10025.jpg', 2), ('/mnt/data/07082025/02/21/image_07082025_02_21_44_9995.jpg', 2), ('/mnt/data/07082025/02/21/image_07082025_02_21_34_10004.jpg', 2), ('/mnt/data/07082025/02/21/image_07082025_02_21_24_10066.jpg', 2), ('/mnt/data/07082025/02/21/image_07082025_02_21_14_8948.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/21/image_07082025_02_22_04_10110.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_54_10025.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_44_9995.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_34_10004.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_24_10066.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_14_8948.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/21/image_07082025_02_22_04_10110.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_54_10025.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_44_9995.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_34_10004.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_24_10066.jpg', '/mnt/data/07082025/02/21/image_07082025_02_21_14_8948.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/21/image_07082025_02_22_04_10110.jpg
/mnt/data/07082025/02/21/image_07082025_02_21_54_10025.jpg
/mnt/data/07082025/02/21/image_07082025_02_21_44_9995.jpg
/mnt/data/07082025/02/21/image_07082025_02_21_34_10004.jpg
/mnt/data/07082025/02/21/image_07082025_02_21_24_10066.jpg
/mnt/data/07082025/02/21/image_07082025_02_21_14_8948.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":["1375634863","1375634857","1375634871","1375634865","1375634859","1375634861"],"photo_ids_order":["1375634857","1375634859","1375634861","1375634863","1375634865","1375634871"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/22212331fa77c1165bad405a0f43f880.jpg","text":"TemporaryFile(/tmp/multipartBody8195355973430143807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754558840303,"filename":"image_07082025_02_21_34_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/7/1acbb5afc90a313f6a00ab0f1f20d32d.jpg","text":"TemporaryFile(/tmp/multipartBody3739907696776243463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754558840303,"filename":"image_07082025_02_22_04_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/7/151f6840b310fecba9401498647e4b07.jpg","text":"TemporaryFile(/tmp/multipartBody7229878954226088946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754558840303,"filename":"image_07082025_02_21_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/7/a7d24ae74e69dca2a42d000b36c85472.jpg","text":"TemporaryFile(/tmp/multipartBody1145933454892785029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754558840303,"filename":"image_07082025_02_21_24_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/7/3f0b2245f57b7f5731e77bd2281864b5.jpg","text":"TemporaryFile(/tmp/multipartBody7670675719033264959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754558840303,"filename":"image_07082025_02_21_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/7/43f6ed278110699c16f1c67e2c762aad.jpg","text":"TemporaryFile(/tmp/multipartBody8998308541821395965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754558840303,"filename":"image_07082025_02_21_44_9995.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375634861","file1":"1375634859","file0":"1375634857","file4":"1375634865","file5":"1375634871","file3":"1375634863"},"map_files_photo_id_array":[{"photo_id":"1375634871","filename":"file5"},{"photo_id":"1375634861","filename":"file2"},{"photo_id":"1375634865","filename":"file4"},{"photo_id":"1375634859","filename":"file1"},{"photo_id":"1375634857","filename":"file0"},{"photo_id":"1375634863","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375634863":["hashtag1","hashtag2"]},{"1375634857":["hashtag1","hashtag2"]},{"1375634871":["hashtag1","hashtag2"]},{"1375634865":["hashtag1","hashtag2"]},{"1375634859":["hashtag1","hashtag2"]},{"1375634861":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375634863, 1375634857, 1375634871, 1375634865, 1375634859, 1375634861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.56675171852112 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:29:02.618399
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/20/image_07082025_02_21_05_10239.jpg', 2), ('/mnt/data/07082025/02/20/image_07082025_02_20_55_9974.jpg', 2), ('/mnt/data/07082025/02/18/image_07082025_02_18_45_10177.jpg', 2), ('/mnt/data/07082025/02/18/image_07082025_02_18_35_10373.jpg', 2), ('/mnt/data/07082025/02/18/image_07082025_02_18_26_10147.jpg', 2), ('/mnt/data/07082025/02/18/image_07082025_02_18_14_10100.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/20/image_07082025_02_21_05_10239.jpg', '/mnt/data/07082025/02/20/image_07082025_02_20_55_9974.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_45_10177.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_35_10373.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_26_10147.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_14_10100.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/20/image_07082025_02_21_05_10239.jpg', '/mnt/data/07082025/02/20/image_07082025_02_20_55_9974.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_45_10177.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_35_10373.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_26_10147.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_14_10100.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/20/image_07082025_02_21_05_10239.jpg
/mnt/data/07082025/02/20/image_07082025_02_20_55_9974.jpg
/mnt/data/07082025/02/18/image_07082025_02_18_45_10177.jpg
/mnt/data/07082025/02/18/image_07082025_02_18_35_10373.jpg
/mnt/data/07082025/02/18/image_07082025_02_18_26_10147.jpg
/mnt/data/07082025/02/18/image_07082025_02_18_14_10100.jpg
uploaded 0 photos
time to upload: 30.25748872756958 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:30:02.900149
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/20/image_07082025_02_21_05_10239.jpg', 2), ('/mnt/data/07082025/02/20/image_07082025_02_20_55_9974.jpg', 2), ('/mnt/data/07082025/02/18/image_07082025_02_18_45_10177.jpg', 2), ('/mnt/data/07082025/02/18/image_07082025_02_18_35_10373.jpg', 2), ('/mnt/data/07082025/02/18/image_07082025_02_18_26_10147.jpg', 2), ('/mnt/data/07082025/02/18/image_07082025_02_18_14_10100.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/20/image_07082025_02_21_05_10239.jpg', '/mnt/data/07082025/02/20/image_07082025_02_20_55_9974.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_45_10177.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_35_10373.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_26_10147.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_14_10100.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/20/image_07082025_02_21_05_10239.jpg', '/mnt/data/07082025/02/20/image_07082025_02_20_55_9974.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_45_10177.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_35_10373.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_26_10147.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_14_10100.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/20/image_07082025_02_21_05_10239.jpg
/mnt/data/07082025/02/20/image_07082025_02_20_55_9974.jpg
/mnt/data/07082025/02/18/image_07082025_02_18_45_10177.jpg
/mnt/data/07082025/02/18/image_07082025_02_18_35_10373.jpg
/mnt/data/07082025/02/18/image_07082025_02_18_26_10147.jpg
/mnt/data/07082025/02/18/image_07082025_02_18_14_10100.jpg
uploaded 0 photos
time to upload: 30.207398891448975 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:31:02.906697
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/20/image_07082025_02_21_05_10239.jpg', 2), ('/mnt/data/07082025/02/20/image_07082025_02_20_55_9974.jpg', 2), ('/mnt/data/07082025/02/18/image_07082025_02_18_45_10177.jpg', 2), ('/mnt/data/07082025/02/18/image_07082025_02_18_35_10373.jpg', 2), ('/mnt/data/07082025/02/18/image_07082025_02_18_26_10147.jpg', 2), ('/mnt/data/07082025/02/18/image_07082025_02_18_14_10100.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/20/image_07082025_02_21_05_10239.jpg', '/mnt/data/07082025/02/20/image_07082025_02_20_55_9974.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_45_10177.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_35_10373.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_26_10147.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_14_10100.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/20/image_07082025_02_21_05_10239.jpg', '/mnt/data/07082025/02/20/image_07082025_02_20_55_9974.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_45_10177.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_35_10373.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_26_10147.jpg', '/mnt/data/07082025/02/18/image_07082025_02_18_14_10100.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/20/image_07082025_02_21_05_10239.jpg
/mnt/data/07082025/02/20/image_07082025_02_20_55_9974.jpg
/mnt/data/07082025/02/18/image_07082025_02_18_45_10177.jpg
/mnt/data/07082025/02/18/image_07082025_02_18_35_10373.jpg
/mnt/data/07082025/02/18/image_07082025_02_18_26_10147.jpg
/mnt/data/07082025/02/18/image_07082025_02_18_14_10100.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":["1375635967","1375636012","1375636065","1375636167","1375636134","1375635977"],"photo_ids_order":["1375635967","1375635977","1375636012","1375636065","1375636134","1375636167"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/49edfcb195fd4cd426f3c914123d94d8.jpg","text":"TemporaryFile(/tmp/multipartBody9192804661707857799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754559147564,"filename":"image_07082025_02_21_05_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/7/37e89bb979412159833f4c3656bcab1a.jpg","text":"TemporaryFile(/tmp/multipartBody4194846732532289154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754559147564,"filename":"image_07082025_02_18_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/7/1271afa34c72a2629d5a3bd15533f8d6.jpg","text":"TemporaryFile(/tmp/multipartBody7579711863024965161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754559147564,"filename":"image_07082025_02_18_35_10373.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/94fe94fc4f8cb11f9d9df97668142e90.jpg","text":"TemporaryFile(/tmp/multipartBody1105631375887107940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754559147564,"filename":"image_07082025_02_18_14_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/7/d3e79d45749deb9452c190f1352ace2c.jpg","text":"TemporaryFile(/tmp/multipartBody5147899793778445340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754559147564,"filename":"image_07082025_02_18_26_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/7/94fc90477cb8bc31b32a5a53382ffae4.jpg","text":"TemporaryFile(/tmp/multipartBody1745020050081858238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754559147564,"filename":"image_07082025_02_20_55_9974.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375636012","file1":"1375635977","file0":"1375635967","file4":"1375636134","file5":"1375636167","file3":"1375636065"},"map_files_photo_id_array":[{"photo_id":"1375636167","filename":"file5"},{"photo_id":"1375636012","filename":"file2"},{"photo_id":"1375636134","filename":"file4"},{"photo_id":"1375635977","filename":"file1"},{"photo_id":"1375635967","filename":"file0"},{"photo_id":"1375636065","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375635967":["hashtag1","hashtag2"]},{"1375636012":["hashtag1","hashtag2"]},{"1375636065":["hashtag1","hashtag2"]},{"1375636167":["hashtag1","hashtag2"]},{"1375636134":["hashtag1","hashtag2"]},{"1375635977":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375635967, 1375636012, 1375636065, 1375636167, 1375636134, 1375635977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.8867495059967 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:33:03.375182
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/17/image_07082025_02_18_04_10238.jpg', 2), ('/mnt/data/07082025/02/17/image_07082025_02_17_45_10103.jpg', 2), ('/mnt/data/07082025/02/17/image_07082025_02_17_35_10100.jpg', 2), ('/mnt/data/07082025/02/17/image_07082025_02_17_25_10145.jpg', 2), ('/mnt/data/07082025/02/16/image_07082025_02_17_04_9238.jpg', 2), ('/mnt/data/07082025/02/16/image_07082025_02_16_55_10156.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/17/image_07082025_02_18_04_10238.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_45_10103.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_35_10100.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_25_10145.jpg', '/mnt/data/07082025/02/16/image_07082025_02_17_04_9238.jpg', '/mnt/data/07082025/02/16/image_07082025_02_16_55_10156.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/17/image_07082025_02_18_04_10238.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_45_10103.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_35_10100.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_25_10145.jpg', '/mnt/data/07082025/02/16/image_07082025_02_17_04_9238.jpg', '/mnt/data/07082025/02/16/image_07082025_02_16_55_10156.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/17/image_07082025_02_18_04_10238.jpg
/mnt/data/07082025/02/17/image_07082025_02_17_45_10103.jpg
/mnt/data/07082025/02/17/image_07082025_02_17_35_10100.jpg
/mnt/data/07082025/02/17/image_07082025_02_17_25_10145.jpg
/mnt/data/07082025/02/16/image_07082025_02_17_04_9238.jpg
/mnt/data/07082025/02/16/image_07082025_02_16_55_10156.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 140.73491024971008 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-07 11:36:03.528603
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/17/image_07082025_02_18_04_10238.jpg', 2), ('/mnt/data/07082025/02/17/image_07082025_02_17_45_10103.jpg', 2), ('/mnt/data/07082025/02/17/image_07082025_02_17_35_10100.jpg', 2), ('/mnt/data/07082025/02/17/image_07082025_02_17_25_10145.jpg', 2), ('/mnt/data/07082025/02/16/image_07082025_02_17_04_9238.jpg', 2), ('/mnt/data/07082025/02/16/image_07082025_02_16_55_10156.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/17/image_07082025_02_18_04_10238.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_45_10103.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_35_10100.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_25_10145.jpg', '/mnt/data/07082025/02/16/image_07082025_02_17_04_9238.jpg', '/mnt/data/07082025/02/16/image_07082025_02_16_55_10156.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/17/image_07082025_02_18_04_10238.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_45_10103.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_35_10100.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_25_10145.jpg', '/mnt/data/07082025/02/16/image_07082025_02_17_04_9238.jpg', '/mnt/data/07082025/02/16/image_07082025_02_16_55_10156.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/17/image_07082025_02_18_04_10238.jpg
/mnt/data/07082025/02/17/image_07082025_02_17_45_10103.jpg
/mnt/data/07082025/02/17/image_07082025_02_17_35_10100.jpg
/mnt/data/07082025/02/17/image_07082025_02_17_25_10145.jpg
/mnt/data/07082025/02/16/image_07082025_02_17_04_9238.jpg
/mnt/data/07082025/02/16/image_07082025_02_16_55_10156.jpg
uploaded 0 photos
time to upload: 30.238488912582397 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:37:03.282422
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/17/image_07082025_02_18_04_10238.jpg', 2), ('/mnt/data/07082025/02/17/image_07082025_02_17_45_10103.jpg', 2), ('/mnt/data/07082025/02/17/image_07082025_02_17_35_10100.jpg', 2), ('/mnt/data/07082025/02/17/image_07082025_02_17_25_10145.jpg', 2), ('/mnt/data/07082025/02/16/image_07082025_02_17_04_9238.jpg', 2), ('/mnt/data/07082025/02/16/image_07082025_02_16_55_10156.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/17/image_07082025_02_18_04_10238.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_45_10103.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_35_10100.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_25_10145.jpg', '/mnt/data/07082025/02/16/image_07082025_02_17_04_9238.jpg', '/mnt/data/07082025/02/16/image_07082025_02_16_55_10156.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/17/image_07082025_02_18_04_10238.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_45_10103.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_35_10100.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_25_10145.jpg', '/mnt/data/07082025/02/16/image_07082025_02_17_04_9238.jpg', '/mnt/data/07082025/02/16/image_07082025_02_16_55_10156.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/17/image_07082025_02_18_04_10238.jpg
/mnt/data/07082025/02/17/image_07082025_02_17_45_10103.jpg
/mnt/data/07082025/02/17/image_07082025_02_17_35_10100.jpg
/mnt/data/07082025/02/17/image_07082025_02_17_25_10145.jpg
/mnt/data/07082025/02/16/image_07082025_02_17_04_9238.jpg
/mnt/data/07082025/02/16/image_07082025_02_16_55_10156.jpg
uploaded 0 photos
time to upload: 30.225852727890015 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:38:03.141153
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/17/image_07082025_02_18_04_10238.jpg', 2), ('/mnt/data/07082025/02/17/image_07082025_02_17_45_10103.jpg', 2), ('/mnt/data/07082025/02/17/image_07082025_02_17_35_10100.jpg', 2), ('/mnt/data/07082025/02/17/image_07082025_02_17_25_10145.jpg', 2), ('/mnt/data/07082025/02/16/image_07082025_02_17_04_9238.jpg', 2), ('/mnt/data/07082025/02/16/image_07082025_02_16_55_10156.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/17/image_07082025_02_18_04_10238.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_45_10103.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_35_10100.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_25_10145.jpg', '/mnt/data/07082025/02/16/image_07082025_02_17_04_9238.jpg', '/mnt/data/07082025/02/16/image_07082025_02_16_55_10156.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/17/image_07082025_02_18_04_10238.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_45_10103.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_35_10100.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_25_10145.jpg', '/mnt/data/07082025/02/16/image_07082025_02_17_04_9238.jpg', '/mnt/data/07082025/02/16/image_07082025_02_16_55_10156.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/17/image_07082025_02_18_04_10238.jpg
/mnt/data/07082025/02/17/image_07082025_02_17_45_10103.jpg
/mnt/data/07082025/02/17/image_07082025_02_17_35_10100.jpg
/mnt/data/07082025/02/17/image_07082025_02_17_25_10145.jpg
/mnt/data/07082025/02/16/image_07082025_02_17_04_9238.jpg
/mnt/data/07082025/02/16/image_07082025_02_16_55_10156.jpg
uploaded 0 photos
time to upload: 30.198782920837402 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:39:03.127950
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/17/image_07082025_02_18_04_10238.jpg', 2), ('/mnt/data/07082025/02/17/image_07082025_02_17_45_10103.jpg', 2), ('/mnt/data/07082025/02/17/image_07082025_02_17_35_10100.jpg', 2), ('/mnt/data/07082025/02/17/image_07082025_02_17_25_10145.jpg', 2), ('/mnt/data/07082025/02/16/image_07082025_02_17_04_9238.jpg', 2), ('/mnt/data/07082025/02/16/image_07082025_02_16_55_10156.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/17/image_07082025_02_18_04_10238.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_45_10103.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_35_10100.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_25_10145.jpg', '/mnt/data/07082025/02/16/image_07082025_02_17_04_9238.jpg', '/mnt/data/07082025/02/16/image_07082025_02_16_55_10156.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/17/image_07082025_02_18_04_10238.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_45_10103.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_35_10100.jpg', '/mnt/data/07082025/02/17/image_07082025_02_17_25_10145.jpg', '/mnt/data/07082025/02/16/image_07082025_02_17_04_9238.jpg', '/mnt/data/07082025/02/16/image_07082025_02_16_55_10156.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/17/image_07082025_02_18_04_10238.jpg
/mnt/data/07082025/02/17/image_07082025_02_17_45_10103.jpg
/mnt/data/07082025/02/17/image_07082025_02_17_35_10100.jpg
/mnt/data/07082025/02/17/image_07082025_02_17_25_10145.jpg
/mnt/data/07082025/02/16/image_07082025_02_17_04_9238.jpg
/mnt/data/07082025/02/16/image_07082025_02_16_55_10156.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":["1375638530","1375638544","1375638526","1375638520","1375638523","1375638558"],"photo_ids_order":["1375638520","1375638523","1375638526","1375638530","1375638544","1375638558"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d54c626b0782d9603b13c05b6321eaff.jpg","text":"TemporaryFile(/tmp/multipartBody5073384493248849072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754559627902,"filename":"image_07082025_02_17_25_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/7/76d763c834df308f89edecf6a12b5384.jpg","text":"TemporaryFile(/tmp/multipartBody4692221485973390118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754559627902,"filename":"image_07082025_02_17_04_9238.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/baef39a3a5e6164e741c06afc94ff7a5.jpg","text":"TemporaryFile(/tmp/multipartBody784769704386149266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754559627902,"filename":"image_07082025_02_17_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/7/c243e2fd5b229f67e43682ec96cca4c2.jpg","text":"TemporaryFile(/tmp/multipartBody4249567517260483606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754559627902,"filename":"image_07082025_02_18_04_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/7/f0c8cd89cb19b30d32308397435780ba.jpg","text":"TemporaryFile(/tmp/multipartBody8630602679521209628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754559627902,"filename":"image_07082025_02_17_45_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/7/d65f0904d0cb99f1bfa73b8e092a902e.jpg","text":"TemporaryFile(/tmp/multipartBody3923391074907001156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754559627902,"filename":"image_07082025_02_16_55_10156.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375638526","file1":"1375638523","file0":"1375638520","file4":"1375638544","file5":"1375638558","file3":"1375638530"},"map_files_photo_id_array":[{"photo_id":"1375638558","filename":"file5"},{"photo_id":"1375638526","filename":"file2"},{"photo_id":"1375638544","filename":"file4"},{"photo_id":"1375638523","filename":"file1"},{"photo_id":"1375638520","filename":"file0"},{"photo_id":"1375638530","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375638530":["hashtag1","hashtag2"]},{"1375638544":["hashtag1","hashtag2"]},{"1375638526":["hashtag1","hashtag2"]},{"1375638520":["hashtag1","hashtag2"]},{"1375638523":["hashtag1","hashtag2"]},{"1375638558":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375638530, 1375638544, 1375638526, 1375638520, 1375638523, 1375638558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.97631025314331 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:41:03.232898
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/15/image_07082025_02_15_45_9976.jpg', 2), ('/mnt/data/07082025/02/15/image_07082025_02_15_35_10016.jpg', 2), ('/mnt/data/07082025/02/15/image_07082025_02_15_25_9930.jpg', 2), ('/mnt/data/07082025/02/15/image_07082025_02_15_15_9915.jpg', 2), ('/mnt/data/07082025/02/14/image_07082025_02_15_05_10002.jpg', 2), ('/mnt/data/07082025/02/14/image_07082025_02_14_55_9977.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/15/image_07082025_02_15_45_9976.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_35_10016.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_25_9930.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_15_9915.jpg', '/mnt/data/07082025/02/14/image_07082025_02_15_05_10002.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_55_9977.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/15/image_07082025_02_15_45_9976.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_35_10016.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_25_9930.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_15_9915.jpg', '/mnt/data/07082025/02/14/image_07082025_02_15_05_10002.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_55_9977.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/15/image_07082025_02_15_45_9976.jpg
/mnt/data/07082025/02/15/image_07082025_02_15_35_10016.jpg
/mnt/data/07082025/02/15/image_07082025_02_15_25_9930.jpg
/mnt/data/07082025/02/15/image_07082025_02_15_15_9915.jpg
/mnt/data/07082025/02/14/image_07082025_02_15_05_10002.jpg
/mnt/data/07082025/02/14/image_07082025_02_14_55_9977.jpg
uploaded 0 photos
time to upload: 30.25429892539978 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:42:02.548726
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/15/image_07082025_02_15_45_9976.jpg', 2), ('/mnt/data/07082025/02/15/image_07082025_02_15_35_10016.jpg', 2), ('/mnt/data/07082025/02/15/image_07082025_02_15_25_9930.jpg', 2), ('/mnt/data/07082025/02/15/image_07082025_02_15_15_9915.jpg', 2), ('/mnt/data/07082025/02/14/image_07082025_02_15_05_10002.jpg', 2), ('/mnt/data/07082025/02/14/image_07082025_02_14_55_9977.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/15/image_07082025_02_15_45_9976.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_35_10016.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_25_9930.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_15_9915.jpg', '/mnt/data/07082025/02/14/image_07082025_02_15_05_10002.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_55_9977.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/15/image_07082025_02_15_45_9976.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_35_10016.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_25_9930.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_15_9915.jpg', '/mnt/data/07082025/02/14/image_07082025_02_15_05_10002.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_55_9977.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/15/image_07082025_02_15_45_9976.jpg
/mnt/data/07082025/02/15/image_07082025_02_15_35_10016.jpg
/mnt/data/07082025/02/15/image_07082025_02_15_25_9930.jpg
/mnt/data/07082025/02/15/image_07082025_02_15_15_9915.jpg
/mnt/data/07082025/02/14/image_07082025_02_15_05_10002.jpg
/mnt/data/07082025/02/14/image_07082025_02_14_55_9977.jpg
uploaded 0 photos
time to upload: 30.459564208984375 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:43:03.475594
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/15/image_07082025_02_15_45_9976.jpg', 2), ('/mnt/data/07082025/02/15/image_07082025_02_15_35_10016.jpg', 2), ('/mnt/data/07082025/02/15/image_07082025_02_15_25_9930.jpg', 2), ('/mnt/data/07082025/02/15/image_07082025_02_15_15_9915.jpg', 2), ('/mnt/data/07082025/02/14/image_07082025_02_15_05_10002.jpg', 2), ('/mnt/data/07082025/02/14/image_07082025_02_14_55_9977.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/15/image_07082025_02_15_45_9976.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_35_10016.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_25_9930.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_15_9915.jpg', '/mnt/data/07082025/02/14/image_07082025_02_15_05_10002.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_55_9977.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/15/image_07082025_02_15_45_9976.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_35_10016.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_25_9930.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_15_9915.jpg', '/mnt/data/07082025/02/14/image_07082025_02_15_05_10002.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_55_9977.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/15/image_07082025_02_15_45_9976.jpg
/mnt/data/07082025/02/15/image_07082025_02_15_35_10016.jpg
/mnt/data/07082025/02/15/image_07082025_02_15_25_9930.jpg
/mnt/data/07082025/02/15/image_07082025_02_15_15_9915.jpg
/mnt/data/07082025/02/14/image_07082025_02_15_05_10002.jpg
/mnt/data/07082025/02/14/image_07082025_02_14_55_9977.jpg
uploaded 0 photos
time to upload: 30.216352701187134 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:44:02.960521
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/15/image_07082025_02_15_45_9976.jpg', 2), ('/mnt/data/07082025/02/15/image_07082025_02_15_35_10016.jpg', 2), ('/mnt/data/07082025/02/15/image_07082025_02_15_25_9930.jpg', 2), ('/mnt/data/07082025/02/15/image_07082025_02_15_15_9915.jpg', 2), ('/mnt/data/07082025/02/14/image_07082025_02_15_05_10002.jpg', 2), ('/mnt/data/07082025/02/14/image_07082025_02_14_55_9977.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/15/image_07082025_02_15_45_9976.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_35_10016.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_25_9930.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_15_9915.jpg', '/mnt/data/07082025/02/14/image_07082025_02_15_05_10002.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_55_9977.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/15/image_07082025_02_15_45_9976.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_35_10016.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_25_9930.jpg', '/mnt/data/07082025/02/15/image_07082025_02_15_15_9915.jpg', '/mnt/data/07082025/02/14/image_07082025_02_15_05_10002.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_55_9977.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/15/image_07082025_02_15_45_9976.jpg
/mnt/data/07082025/02/15/image_07082025_02_15_35_10016.jpg
/mnt/data/07082025/02/15/image_07082025_02_15_25_9930.jpg
/mnt/data/07082025/02/15/image_07082025_02_15_15_9915.jpg
/mnt/data/07082025/02/14/image_07082025_02_15_05_10002.jpg
/mnt/data/07082025/02/14/image_07082025_02_14_55_9977.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375639544","1375639555","1375639581","1375639551","1375639653","1375639530"],"photo_ids_order":["1375639530","1375639544","1375639551","1375639555","1375639581","1375639653"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/7c03d47c332e73cdb8a304a03ca1bea1.jpg","text":"TemporaryFile(/tmp/multipartBody3705997582457566298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754559918649,"filename":"image_07082025_02_15_35_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/7/cbdd6722fba93beab52f19a74a04b64d.jpg","text":"TemporaryFile(/tmp/multipartBody8156374967945451171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754559918649,"filename":"image_07082025_02_15_15_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/7/6e9374bf2a36a588f531697b96fba960.jpg","text":"TemporaryFile(/tmp/multipartBody1580446512799096866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754559918649,"filename":"image_07082025_02_15_05_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/7/f92f0c4a48015fc78646eb80ce7b2e41.jpg","text":"TemporaryFile(/tmp/multipartBody4847907735879106054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754559918649,"filename":"image_07082025_02_15_25_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/7/b25758ef04de3010ae4b39dea51bf988.jpg","text":"TemporaryFile(/tmp/multipartBody7108541536124626753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754559918649,"filename":"image_07082025_02_14_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/7/c557c2ef1c154f91254b3b074b607ada.jpg","text":"TemporaryFile(/tmp/multipartBody8862579923218690594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754559918649,"filename":"image_07082025_02_15_45_9976.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375639551","file1":"1375639544","file0":"1375639530","file4":"1375639581","file5":"1375639653","file3":"1375639555"},"map_files_photo_id_array":[{"photo_id":"1375639653","filename":"file5"},{"photo_id":"1375639551","filename":"file2"},{"photo_id":"1375639581","filename":"file4"},{"photo_id":"1375639544","filename":"file1"},{"photo_id":"1375639530","filename":"file0"},{"photo_id":"1375639555","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375639544":["hashtag1","hashtag2"]},{"1375639555":["hashtag1","hashtag2"]},{"1375639581":["hashtag1","hashtag2"]},{"1375639551":["hashtag1","hashtag2"]},{"1375639653":["hashtag1","hashtag2"]},{"1375639530":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375639544, 1375639555, 1375639581, 1375639551, 1375639653, 1375639530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.98857307434082 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:45:03.192222
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/14/image_07082025_02_14_45_9991.jpg', 2), ('/mnt/data/07082025/02/14/image_07082025_02_14_35_9912.jpg', 2), ('/mnt/data/07082025/02/14/image_07082025_02_14_25_11132.jpg', 2), ('/mnt/data/07082025/02/14/image_07082025_02_14_14_9963.jpg', 2), ('/mnt/data/07082025/02/13/image_07082025_02_14_04_8952.jpg', 2), ('/mnt/data/07082025/02/13/image_07082025_02_13_55_9988.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/14/image_07082025_02_14_45_9991.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_35_9912.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_25_11132.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_14_9963.jpg', '/mnt/data/07082025/02/13/image_07082025_02_14_04_8952.jpg', '/mnt/data/07082025/02/13/image_07082025_02_13_55_9988.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/14/image_07082025_02_14_45_9991.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_35_9912.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_25_11132.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_14_9963.jpg', '/mnt/data/07082025/02/13/image_07082025_02_14_04_8952.jpg', '/mnt/data/07082025/02/13/image_07082025_02_13_55_9988.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/14/image_07082025_02_14_45_9991.jpg
/mnt/data/07082025/02/14/image_07082025_02_14_35_9912.jpg
/mnt/data/07082025/02/14/image_07082025_02_14_25_11132.jpg
/mnt/data/07082025/02/14/image_07082025_02_14_14_9963.jpg
/mnt/data/07082025/02/13/image_07082025_02_14_04_8952.jpg
/mnt/data/07082025/02/13/image_07082025_02_13_55_9988.jpg
uploaded 0 photos
time to upload: 30.235978841781616 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:46:02.881911
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/14/image_07082025_02_14_45_9991.jpg', 2), ('/mnt/data/07082025/02/14/image_07082025_02_14_35_9912.jpg', 2), ('/mnt/data/07082025/02/14/image_07082025_02_14_25_11132.jpg', 2), ('/mnt/data/07082025/02/14/image_07082025_02_14_14_9963.jpg', 2), ('/mnt/data/07082025/02/13/image_07082025_02_14_04_8952.jpg', 2), ('/mnt/data/07082025/02/13/image_07082025_02_13_55_9988.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/14/image_07082025_02_14_45_9991.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_35_9912.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_25_11132.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_14_9963.jpg', '/mnt/data/07082025/02/13/image_07082025_02_14_04_8952.jpg', '/mnt/data/07082025/02/13/image_07082025_02_13_55_9988.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/14/image_07082025_02_14_45_9991.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_35_9912.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_25_11132.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_14_9963.jpg', '/mnt/data/07082025/02/13/image_07082025_02_14_04_8952.jpg', '/mnt/data/07082025/02/13/image_07082025_02_13_55_9988.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/14/image_07082025_02_14_45_9991.jpg
/mnt/data/07082025/02/14/image_07082025_02_14_35_9912.jpg
/mnt/data/07082025/02/14/image_07082025_02_14_25_11132.jpg
/mnt/data/07082025/02/14/image_07082025_02_14_14_9963.jpg
/mnt/data/07082025/02/13/image_07082025_02_14_04_8952.jpg
/mnt/data/07082025/02/13/image_07082025_02_13_55_9988.jpg
uploaded 0 photos
time to upload: 30.218151807785034 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:47:03.092641
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/02/14/image_07082025_02_14_45_9991.jpg', 2), ('/mnt/data/07082025/02/14/image_07082025_02_14_35_9912.jpg', 2), ('/mnt/data/07082025/02/14/image_07082025_02_14_25_11132.jpg', 2), ('/mnt/data/07082025/02/14/image_07082025_02_14_14_9963.jpg', 2), ('/mnt/data/07082025/02/13/image_07082025_02_14_04_8952.jpg', 2), ('/mnt/data/07082025/02/13/image_07082025_02_13_55_9988.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/02/14/image_07082025_02_14_45_9991.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_35_9912.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_25_11132.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_14_9963.jpg', '/mnt/data/07082025/02/13/image_07082025_02_14_04_8952.jpg', '/mnt/data/07082025/02/13/image_07082025_02_13_55_9988.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/02/14/image_07082025_02_14_45_9991.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_35_9912.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_25_11132.jpg', '/mnt/data/07082025/02/14/image_07082025_02_14_14_9963.jpg', '/mnt/data/07082025/02/13/image_07082025_02_14_04_8952.jpg', '/mnt/data/07082025/02/13/image_07082025_02_13_55_9988.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/02/14/image_07082025_02_14_45_9991.jpg
/mnt/data/07082025/02/14/image_07082025_02_14_35_9912.jpg
/mnt/data/07082025/02/14/image_07082025_02_14_25_11132.jpg
/mnt/data/07082025/02/14/image_07082025_02_14_14_9963.jpg
/mnt/data/07082025/02/13/image_07082025_02_14_04_8952.jpg
/mnt/data/07082025/02/13/image_07082025_02_13_55_9988.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375640316","1375640325","1375640319","1375640313","1375640311","1375640328"],"photo_ids_order":["1375640311","1375640313","1375640316","1375640319","1375640325","1375640328"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/ebf94d7bc020f2bf3b0870b8373b71d3.jpg","text":"TemporaryFile(/tmp/multipartBody5489537218375685873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560093894,"filename":"image_07082025_02_14_25_11132.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/182d939d693664d2172247836e00031f.jpg","text":"TemporaryFile(/tmp/multipartBody4137724310183071942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560093894,"filename":"image_07082025_02_14_04_8952.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/6442110dcaa2a894ad3d57b689c6483f.jpg","text":"TemporaryFile(/tmp/multipartBody1846999236055555439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560093894,"filename":"image_07082025_02_14_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/7/8210726aa6f60a318536c9ae4d11e956.jpg","text":"TemporaryFile(/tmp/multipartBody5454060205366562272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560093894,"filename":"image_07082025_02_14_35_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/7/e94844fbdfefa5b5552b5f44fd4c0708.jpg","text":"TemporaryFile(/tmp/multipartBody5119792499503440941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560093894,"filename":"image_07082025_02_14_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/7/ac4803088df071b09e596642fb7f6b7c.jpg","text":"TemporaryFile(/tmp/multipartBody7134003331245840526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560093894,"filename":"image_07082025_02_13_55_9988.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375640316","file1":"1375640313","file0":"1375640311","file4":"1375640325","file5":"1375640328","file3":"1375640319"},"map_files_photo_id_array":[{"photo_id":"1375640328","filename":"file5"},{"photo_id":"1375640316","filename":"file2"},{"photo_id":"1375640325","filename":"file4"},{"photo_id":"1375640313","filename":"file1"},{"photo_id":"1375640311","filename":"file0"},{"photo_id":"1375640319","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375640316":["hashtag1","hashtag2"]},{"1375640325":["hashtag1","hashtag2"]},{"1375640319":["hashtag1","hashtag2"]},{"1375640313":["hashtag1","hashtag2"]},{"1375640311":["hashtag1","hashtag2"]},{"1375640328":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375640316, 1375640325, 1375640319, 1375640313, 1375640311, 1375640328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.73021364212036 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:48:02.637592
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg', 2), ('/mnt/data/07082025/01/58/image_07082025_01_58_35_9998.jpg', 2), ('/mnt/data/07082025/01/58/image_07082025_01_58_25_10095.jpg', 2), ('/mnt/data/07082025/01/57/image_07082025_01_58_04_10131.jpg', 2), ('/mnt/data/07082025/01/57/image_07082025_01_57_54_9999.jpg', 2), ('/mnt/data/07082025/01/57/image_07082025_01_57_44_9990.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_35_9998.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_25_10095.jpg', '/mnt/data/07082025/01/57/image_07082025_01_58_04_10131.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_54_9999.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_44_9990.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_35_9998.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_25_10095.jpg', '/mnt/data/07082025/01/57/image_07082025_01_58_04_10131.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_54_9999.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_44_9990.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg
/mnt/data/07082025/01/58/image_07082025_01_58_35_9998.jpg
/mnt/data/07082025/01/58/image_07082025_01_58_25_10095.jpg
/mnt/data/07082025/01/57/image_07082025_01_58_04_10131.jpg
/mnt/data/07082025/01/57/image_07082025_01_57_54_9999.jpg
/mnt/data/07082025/01/57/image_07082025_01_57_44_9990.jpg
uploaded 0 photos
time to upload: 30.218955278396606 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:49:03.704265
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg', 2), ('/mnt/data/07082025/01/58/image_07082025_01_58_35_9998.jpg', 2), ('/mnt/data/07082025/01/58/image_07082025_01_58_25_10095.jpg', 2), ('/mnt/data/07082025/01/57/image_07082025_01_58_04_10131.jpg', 2), ('/mnt/data/07082025/01/57/image_07082025_01_57_54_9999.jpg', 2), ('/mnt/data/07082025/01/57/image_07082025_01_57_44_9990.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_35_9998.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_25_10095.jpg', '/mnt/data/07082025/01/57/image_07082025_01_58_04_10131.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_54_9999.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_44_9990.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_35_9998.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_25_10095.jpg', '/mnt/data/07082025/01/57/image_07082025_01_58_04_10131.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_54_9999.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_44_9990.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg
/mnt/data/07082025/01/58/image_07082025_01_58_35_9998.jpg
/mnt/data/07082025/01/58/image_07082025_01_58_25_10095.jpg
/mnt/data/07082025/01/57/image_07082025_01_58_04_10131.jpg
/mnt/data/07082025/01/57/image_07082025_01_57_54_9999.jpg
/mnt/data/07082025/01/57/image_07082025_01_57_44_9990.jpg
uploaded 0 photos
time to upload: 30.201385974884033 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:50:03.290499
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg', 2), ('/mnt/data/07082025/01/58/image_07082025_01_58_35_9998.jpg', 2), ('/mnt/data/07082025/01/58/image_07082025_01_58_25_10095.jpg', 2), ('/mnt/data/07082025/01/57/image_07082025_01_58_04_10131.jpg', 2), ('/mnt/data/07082025/01/57/image_07082025_01_57_54_9999.jpg', 2), ('/mnt/data/07082025/01/57/image_07082025_01_57_44_9990.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_35_9998.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_25_10095.jpg', '/mnt/data/07082025/01/57/image_07082025_01_58_04_10131.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_54_9999.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_44_9990.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_35_9998.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_25_10095.jpg', '/mnt/data/07082025/01/57/image_07082025_01_58_04_10131.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_54_9999.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_44_9990.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg
/mnt/data/07082025/01/58/image_07082025_01_58_35_9998.jpg
/mnt/data/07082025/01/58/image_07082025_01_58_25_10095.jpg
/mnt/data/07082025/01/57/image_07082025_01_58_04_10131.jpg
/mnt/data/07082025/01/57/image_07082025_01_57_54_9999.jpg
/mnt/data/07082025/01/57/image_07082025_01_57_44_9990.jpg
uploaded 0 photos
time to upload: 30.221633434295654 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:51:03.203296
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg', 2), ('/mnt/data/07082025/01/58/image_07082025_01_58_35_9998.jpg', 2), ('/mnt/data/07082025/01/58/image_07082025_01_58_25_10095.jpg', 2), ('/mnt/data/07082025/01/57/image_07082025_01_58_04_10131.jpg', 2), ('/mnt/data/07082025/01/57/image_07082025_01_57_54_9999.jpg', 2), ('/mnt/data/07082025/01/57/image_07082025_01_57_44_9990.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_35_9998.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_25_10095.jpg', '/mnt/data/07082025/01/57/image_07082025_01_58_04_10131.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_54_9999.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_44_9990.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_35_9998.jpg', '/mnt/data/07082025/01/58/image_07082025_01_58_25_10095.jpg', '/mnt/data/07082025/01/57/image_07082025_01_58_04_10131.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_54_9999.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_44_9990.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/58/image_07082025_01_58_44_9826.jpg
/mnt/data/07082025/01/58/image_07082025_01_58_35_9998.jpg
/mnt/data/07082025/01/58/image_07082025_01_58_25_10095.jpg
/mnt/data/07082025/01/57/image_07082025_01_58_04_10131.jpg
/mnt/data/07082025/01/57/image_07082025_01_57_54_9999.jpg
/mnt/data/07082025/01/57/image_07082025_01_57_44_9990.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":["1375640882","1375640891","1375640885","1375640888","1375640899","1375640895"],"photo_ids_order":["1375640882","1375640885","1375640888","1375640891","1375640895","1375640899"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/ddd0ea90cfcca5b01a8bba098079da68.jpg","text":"TemporaryFile(/tmp/multipartBody3499804006626989327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560343503,"filename":"image_07082025_01_58_44_9826.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/f5f6b5fc35a6df620d3a486cfc204752.jpg","text":"TemporaryFile(/tmp/multipartBody2129544260984731396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560343503,"filename":"image_07082025_01_58_04_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/7/e139adfcf4f13d3b87aa1f4cbb686578.jpg","text":"TemporaryFile(/tmp/multipartBody568819060596977289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560343503,"filename":"image_07082025_01_58_35_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/7/48f38ccbe353e6a8d089e6a88a391333.jpg","text":"TemporaryFile(/tmp/multipartBody3363271263420462360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560343503,"filename":"image_07082025_01_58_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/7/aeb7c39dfb00b52426b54521ef7debc8.jpg","text":"TemporaryFile(/tmp/multipartBody2769490514337414594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560343503,"filename":"image_07082025_01_57_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/7/cd7eafd929d0938b28f97e142965a654.jpg","text":"TemporaryFile(/tmp/multipartBody6120445961685150667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560343503,"filename":"image_07082025_01_57_54_9999.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375640888","file1":"1375640885","file0":"1375640882","file4":"1375640895","file5":"1375640899","file3":"1375640891"},"map_files_photo_id_array":[{"photo_id":"1375640899","filename":"file5"},{"photo_id":"1375640888","filename":"file2"},{"photo_id":"1375640895","filename":"file4"},{"photo_id":"1375640885","filename":"file1"},{"photo_id":"1375640882","filename":"file0"},{"photo_id":"1375640891","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375640882":["hashtag1","hashtag2"]},{"1375640891":["hashtag1","hashtag2"]},{"1375640885":["hashtag1","hashtag2"]},{"1375640888":["hashtag1","hashtag2"]},{"1375640899":["hashtag1","hashtag2"]},{"1375640895":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375640882, 1375640891, 1375640885, 1375640888, 1375640899, 1375640895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.5686194896698 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:53:02.557171
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/57/image_07082025_01_57_34_9509.jpg', 2), ('/mnt/data/07082025/01/57/image_07082025_01_57_25_10031.jpg', 2), ('/mnt/data/07082025/01/57/image_07082025_01_57_15_9945.jpg', 2), ('/mnt/data/07082025/01/56/image_07082025_01_57_05_10127.jpg', 2), ('/mnt/data/07082025/01/56/image_07082025_01_56_55_9951.jpg', 2), ('/mnt/data/07082025/01/56/image_07082025_01_56_45_10438.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/57/image_07082025_01_57_34_9509.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_25_10031.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_15_9945.jpg', '/mnt/data/07082025/01/56/image_07082025_01_57_05_10127.jpg', '/mnt/data/07082025/01/56/image_07082025_01_56_55_9951.jpg', '/mnt/data/07082025/01/56/image_07082025_01_56_45_10438.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/57/image_07082025_01_57_34_9509.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_25_10031.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_15_9945.jpg', '/mnt/data/07082025/01/56/image_07082025_01_57_05_10127.jpg', '/mnt/data/07082025/01/56/image_07082025_01_56_55_9951.jpg', '/mnt/data/07082025/01/56/image_07082025_01_56_45_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/57/image_07082025_01_57_34_9509.jpg
/mnt/data/07082025/01/57/image_07082025_01_57_25_10031.jpg
/mnt/data/07082025/01/57/image_07082025_01_57_15_9945.jpg
/mnt/data/07082025/01/56/image_07082025_01_57_05_10127.jpg
/mnt/data/07082025/01/56/image_07082025_01_56_55_9951.jpg
/mnt/data/07082025/01/56/image_07082025_01_56_45_10438.jpg
uploaded 0 photos
time to upload: 30.26713538169861 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:54:03.373145
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/57/image_07082025_01_57_34_9509.jpg', 2), ('/mnt/data/07082025/01/57/image_07082025_01_57_25_10031.jpg', 2), ('/mnt/data/07082025/01/57/image_07082025_01_57_15_9945.jpg', 2), ('/mnt/data/07082025/01/56/image_07082025_01_57_05_10127.jpg', 2), ('/mnt/data/07082025/01/56/image_07082025_01_56_55_9951.jpg', 2), ('/mnt/data/07082025/01/56/image_07082025_01_56_45_10438.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/57/image_07082025_01_57_34_9509.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_25_10031.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_15_9945.jpg', '/mnt/data/07082025/01/56/image_07082025_01_57_05_10127.jpg', '/mnt/data/07082025/01/56/image_07082025_01_56_55_9951.jpg', '/mnt/data/07082025/01/56/image_07082025_01_56_45_10438.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/57/image_07082025_01_57_34_9509.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_25_10031.jpg', '/mnt/data/07082025/01/57/image_07082025_01_57_15_9945.jpg', '/mnt/data/07082025/01/56/image_07082025_01_57_05_10127.jpg', '/mnt/data/07082025/01/56/image_07082025_01_56_55_9951.jpg', '/mnt/data/07082025/01/56/image_07082025_01_56_45_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/57/image_07082025_01_57_34_9509.jpg
/mnt/data/07082025/01/57/image_07082025_01_57_25_10031.jpg
/mnt/data/07082025/01/57/image_07082025_01_57_15_9945.jpg
/mnt/data/07082025/01/56/image_07082025_01_57_05_10127.jpg
/mnt/data/07082025/01/56/image_07082025_01_56_55_9951.jpg
/mnt/data/07082025/01/56/image_07082025_01_56_45_10438.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375641758","1375641734","1375641664","1375641696","1375641741","1375641726"],"photo_ids_order":["1375641664","1375641696","1375641726","1375641734","1375641741","1375641758"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/78078d32e44d81e469cab7a1856779cb.jpg","text":"TemporaryFile(/tmp/multipartBody8195332222569727027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560512536,"filename":"image_07082025_01_56_45_10438.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/2b194425f773197298ac6639348d1f6c.jpg","text":"TemporaryFile(/tmp/multipartBody1415692392893014852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560512536,"filename":"image_07082025_01_57_05_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/7/10a9a0aa9b2385ed3ad4fac136905298.jpg","text":"TemporaryFile(/tmp/multipartBody5667481764102300480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560512536,"filename":"image_07082025_01_57_34_9509.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/0c92a6dfcb0942a679dfa5d32ee1b5ef.jpg","text":"TemporaryFile(/tmp/multipartBody6083899569034310442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560512536,"filename":"image_07082025_01_57_25_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/7/d83db69edc0bb4aec385bea0abc1ee38.jpg","text":"TemporaryFile(/tmp/multipartBody5364940120136174196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560512536,"filename":"image_07082025_01_56_55_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/7/81f655f8f8c875dcd64265fbf04a79c7.jpg","text":"TemporaryFile(/tmp/multipartBody7210427638824155731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560512536,"filename":"image_07082025_01_57_15_9945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375641726","file1":"1375641696","file0":"1375641664","file4":"1375641741","file5":"1375641758","file3":"1375641734"},"map_files_photo_id_array":[{"photo_id":"1375641758","filename":"file5"},{"photo_id":"1375641726","filename":"file2"},{"photo_id":"1375641741","filename":"file4"},{"photo_id":"1375641696","filename":"file1"},{"photo_id":"1375641664","filename":"file0"},{"photo_id":"1375641734","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375641758":["hashtag1","hashtag2"]},{"1375641734":["hashtag1","hashtag2"]},{"1375641664":["hashtag1","hashtag2"]},{"1375641696":["hashtag1","hashtag2"]},{"1375641741":["hashtag1","hashtag2"]},{"1375641726":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375641758, 1375641734, 1375641664, 1375641696, 1375641741, 1375641726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.090667724609375 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:55:03.318241
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/56/image_07082025_01_56_34_10060.jpg', 2), ('/mnt/data/07082025/01/56/image_07082025_01_56_24_10277.jpg', 2), ('/mnt/data/07082025/01/56/image_07082025_01_56_14_10059.jpg', 2), ('/mnt/data/07082025/01/55/image_07082025_01_56_04_9028.jpg', 2), ('/mnt/data/07082025/01/55/image_07082025_01_55_55_10299.jpg', 2), ('/mnt/data/07082025/01/54/image_07082025_01_54_45_10002.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/56/image_07082025_01_56_34_10060.jpg', '/mnt/data/07082025/01/56/image_07082025_01_56_24_10277.jpg', '/mnt/data/07082025/01/56/image_07082025_01_56_14_10059.jpg', '/mnt/data/07082025/01/55/image_07082025_01_56_04_9028.jpg', '/mnt/data/07082025/01/55/image_07082025_01_55_55_10299.jpg', '/mnt/data/07082025/01/54/image_07082025_01_54_45_10002.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/56/image_07082025_01_56_34_10060.jpg', '/mnt/data/07082025/01/56/image_07082025_01_56_24_10277.jpg', '/mnt/data/07082025/01/56/image_07082025_01_56_14_10059.jpg', '/mnt/data/07082025/01/55/image_07082025_01_56_04_9028.jpg', '/mnt/data/07082025/01/55/image_07082025_01_55_55_10299.jpg', '/mnt/data/07082025/01/54/image_07082025_01_54_45_10002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/56/image_07082025_01_56_34_10060.jpg
/mnt/data/07082025/01/56/image_07082025_01_56_24_10277.jpg
/mnt/data/07082025/01/56/image_07082025_01_56_14_10059.jpg
/mnt/data/07082025/01/55/image_07082025_01_56_04_9028.jpg
/mnt/data/07082025/01/55/image_07082025_01_55_55_10299.jpg
/mnt/data/07082025/01/54/image_07082025_01_54_45_10002.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375641779","1375641798","1375641783","1375641802","1375641794","1375641788"],"photo_ids_order":["1375641779","1375641783","1375641788","1375641794","1375641798","1375641802"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/5509acb62281a67e3651a00541220a89.jpg","text":"TemporaryFile(/tmp/multipartBody7180034436655706811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560573060,"filename":"image_07082025_01_56_34_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/7/fc16f13f7c6fae43899c5b8d5fd8272e.jpg","text":"TemporaryFile(/tmp/multipartBody3927330564569264726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560573060,"filename":"image_07082025_01_55_55_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/7/6f658533f3ffa43f3236a19aaf11da91.jpg","text":"TemporaryFile(/tmp/multipartBody6716901260353530460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560573060,"filename":"image_07082025_01_56_24_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/7/07362ce3d574af3548cfbfd503e0c942.jpg","text":"TemporaryFile(/tmp/multipartBody8966740926294285939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560573060,"filename":"image_07082025_01_54_45_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/7/93f41d933e0c8742926da5410a5519dd.jpg","text":"TemporaryFile(/tmp/multipartBody6727934845843151722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560573060,"filename":"image_07082025_01_56_04_9028.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/88c1e6ef0bf17e43c8f22dcabeda8ca6.jpg","text":"TemporaryFile(/tmp/multipartBody5771130361389612430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560573060,"filename":"image_07082025_01_56_14_10059.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375641788","file1":"1375641783","file0":"1375641779","file4":"1375641798","file5":"1375641802","file3":"1375641794"},"map_files_photo_id_array":[{"photo_id":"1375641802","filename":"file5"},{"photo_id":"1375641788","filename":"file2"},{"photo_id":"1375641798","filename":"file4"},{"photo_id":"1375641783","filename":"file1"},{"photo_id":"1375641779","filename":"file0"},{"photo_id":"1375641794","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375641779":["hashtag1","hashtag2"]},{"1375641798":["hashtag1","hashtag2"]},{"1375641783":["hashtag1","hashtag2"]},{"1375641802":["hashtag1","hashtag2"]},{"1375641794":["hashtag1","hashtag2"]},{"1375641788":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375641779, 1375641798, 1375641783, 1375641802, 1375641794, 1375641788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.7756233215332 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:56:02.854831
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/54/image_07082025_01_54_35_9984.jpg', 2), ('/mnt/data/07082025/01/54/image_07082025_01_54_25_9992.jpg', 2), ('/mnt/data/07082025/01/54/image_07082025_01_54_15_9986.jpg', 2), ('/mnt/data/07082025/01/53/image_07082025_01_54_05_9952.jpg', 2), ('/mnt/data/07082025/01/53/image_07082025_01_53_55_9998.jpg', 2), ('/mnt/data/07082025/01/52/image_07082025_01_52_45_9981.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/54/image_07082025_01_54_35_9984.jpg', '/mnt/data/07082025/01/54/image_07082025_01_54_25_9992.jpg', '/mnt/data/07082025/01/54/image_07082025_01_54_15_9986.jpg', '/mnt/data/07082025/01/53/image_07082025_01_54_05_9952.jpg', '/mnt/data/07082025/01/53/image_07082025_01_53_55_9998.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_45_9981.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/54/image_07082025_01_54_35_9984.jpg', '/mnt/data/07082025/01/54/image_07082025_01_54_25_9992.jpg', '/mnt/data/07082025/01/54/image_07082025_01_54_15_9986.jpg', '/mnt/data/07082025/01/53/image_07082025_01_54_05_9952.jpg', '/mnt/data/07082025/01/53/image_07082025_01_53_55_9998.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_45_9981.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/54/image_07082025_01_54_35_9984.jpg
/mnt/data/07082025/01/54/image_07082025_01_54_25_9992.jpg
/mnt/data/07082025/01/54/image_07082025_01_54_15_9986.jpg
/mnt/data/07082025/01/53/image_07082025_01_54_05_9952.jpg
/mnt/data/07082025/01/53/image_07082025_01_53_55_9998.jpg
/mnt/data/07082025/01/52/image_07082025_01_52_45_9981.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375641830","1375641821","1375641828","1375641816","1375641825","1375641813"],"photo_ids_order":["1375641813","1375641816","1375641821","1375641825","1375641828","1375641830"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/23689b08e8127fd815feb0836620f3d3.jpg","text":"TemporaryFile(/tmp/multipartBody8202055521342234021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560635934,"filename":"image_07082025_01_52_45_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/7/8fbc0f178e433c8360443472d3531cda.jpg","text":"TemporaryFile(/tmp/multipartBody9171564568669214367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560635934,"filename":"image_07082025_01_54_15_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/7/f115a40ded05684f013ca1537dbde5ce.jpg","text":"TemporaryFile(/tmp/multipartBody364569886603996398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560635934,"filename":"image_07082025_01_53_55_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/7/53606dde57e61d20e2b01b2ace0c61eb.jpg","text":"TemporaryFile(/tmp/multipartBody6873422447712750484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560635934,"filename":"image_07082025_01_54_25_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/7/62a48dfeb18a2c4477e459af443ebc4a.jpg","text":"TemporaryFile(/tmp/multipartBody3009482312914714841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560635934,"filename":"image_07082025_01_54_05_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/7/8fb32c8e760b9dd3441ef4e626173557.jpg","text":"TemporaryFile(/tmp/multipartBody7678265412327271269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754560635934,"filename":"image_07082025_01_54_35_9984.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375641821","file1":"1375641816","file0":"1375641813","file4":"1375641828","file5":"1375641830","file3":"1375641825"},"map_files_photo_id_array":[{"photo_id":"1375641830","filename":"file5"},{"photo_id":"1375641821","filename":"file2"},{"photo_id":"1375641828","filename":"file4"},{"photo_id":"1375641816","filename":"file1"},{"photo_id":"1375641813","filename":"file0"},{"photo_id":"1375641825","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375641830":["hashtag1","hashtag2"]},{"1375641821":["hashtag1","hashtag2"]},{"1375641828":["hashtag1","hashtag2"]},{"1375641816":["hashtag1","hashtag2"]},{"1375641825":["hashtag1","hashtag2"]},{"1375641813":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375641830, 1375641821, 1375641828, 1375641816, 1375641825, 1375641813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.6669385433197 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 11:57:03.057537
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg', 2), ('/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg', 2), ('/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg', '/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg', '/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg
/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg
/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg
/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg
/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg
/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.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-07 11:59:03.305606
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg', 2), ('/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg', 2), ('/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg', '/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg', '/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg
/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg
/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg
/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg
/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg
/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 134.3160514831543 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-07 12:02:02.777821
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg', 2), ('/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg', 2), ('/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg', '/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg', '/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg
/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg
/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg
/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg
/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg
/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg
uploaded 0 photos
time to upload: 30.19845223426819 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:03:03.063253
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg', 2), ('/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg', 2), ('/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg', '/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg', '/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg
/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg
/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg
/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg
/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg
/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg
uploaded 0 photos
time to upload: 30.21218705177307 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:04:02.754463
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg', 2), ('/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg', 2), ('/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg', '/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg', '/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg
/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg
/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg
/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg
/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg
/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg
uploaded 0 photos
time to upload: 30.221745252609253 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:05:02.760345
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg', 2), ('/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg', 2), ('/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg', '/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg', '/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg
/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg
/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg
/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg
/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg
/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg
uploaded 0 photos
time to upload: 30.22728991508484 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:06:02.285641
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg', 2), ('/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg', 2), ('/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg', '/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg', '/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg', '/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/52/image_07082025_01_52_35_10136.jpg
/mnt/data/07082025/01/52/image_07082025_01_52_24_9942.jpg
/mnt/data/07082025/01/52/image_07082025_01_52_14_10182.jpg
/mnt/data/07082025/01/51/image_07082025_01_52_04_10233.jpg
/mnt/data/07082025/01/51/image_07082025_01_51_54_10171.jpg
/mnt/data/07082025/01/51/image_07082025_01_51_44_10150.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":["1375645965","1375645914","1375645876","1375645789","1375646002","1375645828"],"photo_ids_order":["1375645789","1375645828","1375645876","1375645914","1375645965","1375646002"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/008558574d99cdd1ae35659b5f7b1219.jpg","text":"TemporaryFile(/tmp/multipartBody2243312471365860151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754561244795,"filename":"image_07082025_01_51_54_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/7/65bf97419eec799e29c43bbbdd172c87.jpg","text":"TemporaryFile(/tmp/multipartBody4729860010521735441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754561244795,"filename":"image_07082025_01_52_04_10233.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/1f97f199f86e74777e4a9d6a309ac590.jpg","text":"TemporaryFile(/tmp/multipartBody388642915613006646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754561244795,"filename":"image_07082025_01_52_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/7/680f7de16b6c1e5c8cb3e39c808c977c.jpg","text":"TemporaryFile(/tmp/multipartBody1139566806647943248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754561244795,"filename":"image_07082025_01_52_35_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/7/1fb9b009b96025c39a098d666918b83f.jpg","text":"TemporaryFile(/tmp/multipartBody876908930607589898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754561244795,"filename":"image_07082025_01_51_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/7/b68ce601708b3c541bf587593f9b96dd.jpg","text":"TemporaryFile(/tmp/multipartBody2330468201060896121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754561244795,"filename":"image_07082025_01_52_24_9942.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375645876","file1":"1375645828","file0":"1375645789","file4":"1375645965","file5":"1375646002","file3":"1375645914"},"map_files_photo_id_array":[{"photo_id":"1375646002","filename":"file5"},{"photo_id":"1375645876","filename":"file2"},{"photo_id":"1375645965","filename":"file4"},{"photo_id":"1375645828","filename":"file1"},{"photo_id":"1375645789","filename":"file0"},{"photo_id":"1375645914","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375645965":["hashtag1","hashtag2"]},{"1375645914":["hashtag1","hashtag2"]},{"1375645876":["hashtag1","hashtag2"]},{"1375645789":["hashtag1","hashtag2"]},{"1375646002":["hashtag1","hashtag2"]},{"1375645828":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375645965, 1375645914, 1375645876, 1375645789, 1375646002, 1375645828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.24754095077515 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:08:02.492830
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg', 2), ('/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg', 2), ('/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg', '/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg', '/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg', '/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg', '/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg
/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg
/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg
/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg
/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg
/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg
uploaded 0 photos
time to upload: 30.287358283996582 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:09:02.918588
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg', 2), ('/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg', 2), ('/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg', '/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg', '/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg', '/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg', '/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg
/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg
/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg
/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg
/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg
/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg
uploaded 0 photos
time to upload: 30.242101430892944 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:10:02.510281
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg', 2), ('/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg', 2), ('/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg', '/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg', '/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg', '/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg', '/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg
/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg
/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg
/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg
/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg
/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg
uploaded 0 photos
time to upload: 30.217764139175415 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:11:02.647904
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg', 2), ('/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg', 2), ('/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg', '/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg', '/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg', '/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg', '/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg
/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg
/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg
/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg
/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg
/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg
uploaded 0 photos
time to upload: 30.21637725830078 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:12:02.435913
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg', 2), ('/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg', 2), ('/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg', '/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg', '/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg', '/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg', '/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg
/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg
/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg
/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg
/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg
/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg
uploaded 0 photos
time to upload: 30.22329878807068 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:13:03.453806
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg', 2), ('/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg', 2), ('/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg', '/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg', '/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg', '/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg', '/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg
/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg
/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg
/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg
/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg
/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 137.17222952842712 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-07 12:16:03.226823
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg', 2), ('/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg', 2), ('/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg', 2), ('/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg', '/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg', '/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg', '/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg', '/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg', '/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/51/image_07082025_01_51_25_10243.jpg
/mnt/data/07082025/01/51/image_07082025_01_51_14_10237.jpg
/mnt/data/07082025/01/50/image_07082025_01_51_04_10354.jpg
/mnt/data/07082025/01/50/image_07082025_01_50_54_8926.jpg
/mnt/data/07082025/01/48/image_07082025_01_48_45_10011.jpg
/mnt/data/07082025/01/48/image_07082025_01_48_35_9958.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375648910","1375648762","1375648885","1375648851","1375648818","1375648754"],"photo_ids_order":["1375648754","1375648762","1375648818","1375648851","1375648885","1375648910"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/4e261d48d72f5bf855f86c879609da40.jpg","text":"TemporaryFile(/tmp/multipartBody5219720730075157917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754561829292,"filename":"image_07082025_01_48_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/7/9ab9d6545f143c6581e63992257f3318.jpg","text":"TemporaryFile(/tmp/multipartBody3012618529273524787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754561829292,"filename":"image_07082025_01_51_14_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/7/d319cd9ca5c46106f9e08ce8f71ce5a0.jpg","text":"TemporaryFile(/tmp/multipartBody1222742252741534845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754561829292,"filename":"image_07082025_01_48_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/7/d4183e2810e32643a4bfa4b6db4034c3.jpg","text":"TemporaryFile(/tmp/multipartBody4070396903302443086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754561829292,"filename":"image_07082025_01_50_54_8926.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/163b4ed9fe6df2472d49c70b6141746e.jpg","text":"TemporaryFile(/tmp/multipartBody4934720200105173806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754561829292,"filename":"image_07082025_01_51_04_10354.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/1cfa48e0232586cb5b9fc328ce68ecd4.jpg","text":"TemporaryFile(/tmp/multipartBody410300005598254243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754561829292,"filename":"image_07082025_01_51_25_10243.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375648818","file1":"1375648762","file0":"1375648754","file4":"1375648885","file5":"1375648910","file3":"1375648851"},"map_files_photo_id_array":[{"photo_id":"1375648910","filename":"file5"},{"photo_id":"1375648818","filename":"file2"},{"photo_id":"1375648885","filename":"file4"},{"photo_id":"1375648762","filename":"file1"},{"photo_id":"1375648754","filename":"file0"},{"photo_id":"1375648851","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375648910":["hashtag1","hashtag2"]},{"1375648762":["hashtag1","hashtag2"]},{"1375648885":["hashtag1","hashtag2"]},{"1375648851":["hashtag1","hashtag2"]},{"1375648818":["hashtag1","hashtag2"]},{"1375648754":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375648910, 1375648762, 1375648885, 1375648851, 1375648818, 1375648754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.09042692184448 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:17:03.173449
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', 2), ('/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', 2), ('/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', 2), ('/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', '/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', '/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', '/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', '/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', '/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', '/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg
/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg
/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg
/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg
/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg
/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg
uploaded 0 photos
time to upload: 30.290836095809937 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:18:02.931165
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', 2), ('/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', 2), ('/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', 2), ('/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', '/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', '/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', '/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', '/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', '/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', '/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg
/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg
/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg
/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg
/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg
/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg
uploaded 0 photos
time to upload: 30.221482276916504 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:19:02.982466
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', 2), ('/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', 2), ('/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', 2), ('/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', '/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', '/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', '/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', '/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', '/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', '/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg
/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg
/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg
/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg
/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg
/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg
uploaded 0 photos
time to upload: 30.225873231887817 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:20:02.420605
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', 2), ('/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', 2), ('/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', 2), ('/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', '/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', '/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', '/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', '/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', '/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', '/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg
/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg
/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg
/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg
/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg
/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg
uploaded 0 photos
time to upload: 30.199801921844482 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:21:02.827812
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', 2), ('/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', 2), ('/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', 2), ('/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', '/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', '/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', '/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', '/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', '/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', '/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg
/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg
/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg
/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg
/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg
/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg
uploaded 0 photos
time to upload: 30.223695993423462 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:22:03.174635
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', 2), ('/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', 2), ('/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', 2), ('/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', '/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', '/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', '/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', '/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', '/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', '/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg
/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg
/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg
/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg
/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg
/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 137.61493587493896 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-07 12:25:03.464557
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', 2), ('/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', 2), ('/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', 2), ('/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', '/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', '/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', '/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', '/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', '/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', '/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg
/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg
/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg
/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg
/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg
/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg
uploaded 0 photos
time to upload: 30.23593759536743 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:26:03.108927
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', 2), ('/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', 2), ('/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', 2), ('/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', '/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', '/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', '/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', '/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', '/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', '/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg
/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg
/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg
/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg
/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg
/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg
uploaded 0 photos
time to upload: 30.211400747299194 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:27:03.173921
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', 2), ('/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', 2), ('/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', 2), ('/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', 2), ('/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', '/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', '/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', '/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg', '/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg', '/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg', '/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg', '/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/48/image_07082025_01_48_25_10042.jpg
/mnt/data/07082025/01/48/image_07082025_01_48_15_9988.jpg
/mnt/data/07082025/01/47/image_07082025_01_48_05_10051.jpg
/mnt/data/07082025/01/47/image_07082025_01_47_55_10168.jpg
/mnt/data/07082025/01/46/image_07082025_01_46_55_10065.jpg
/mnt/data/07082025/01/45/image_07082025_01_45_45_10131.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375650241","1375650243","1375650237","1375650246","1375650234","1375650239"],"photo_ids_order":["1375650234","1375650237","1375650239","1375650241","1375650243","1375650246"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/f1079a20d3a821e13ba7a361fb681346.jpg","text":"TemporaryFile(/tmp/multipartBody8231177810308474773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754562492619,"filename":"image_07082025_01_47_55_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/7/6036680d8b9bed8293e3ba1b92e6fafa.jpg","text":"TemporaryFile(/tmp/multipartBody32397383989354311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754562492619,"filename":"image_07082025_01_46_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/7/8fb29c39990fbc33e46e744f3f9eb2a5.jpg","text":"TemporaryFile(/tmp/multipartBody5085995468721013777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754562492619,"filename":"image_07082025_01_48_15_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/7/848c0c7fada4f23795ffe4d6f7374c1f.jpg","text":"TemporaryFile(/tmp/multipartBody2245482399151074433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754562492619,"filename":"image_07082025_01_45_45_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/7/80cd694439ed3d99ddac842513f839f1.jpg","text":"TemporaryFile(/tmp/multipartBody5216353524512332045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754562492619,"filename":"image_07082025_01_48_25_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/7/8715a98a9f7b10230fc1dc498d56c9e7.jpg","text":"TemporaryFile(/tmp/multipartBody8034892241662611158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754562492619,"filename":"image_07082025_01_48_05_10051.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375650239","file1":"1375650237","file0":"1375650234","file4":"1375650243","file5":"1375650246","file3":"1375650241"},"map_files_photo_id_array":[{"photo_id":"1375650246","filename":"file5"},{"photo_id":"1375650239","filename":"file2"},{"photo_id":"1375650243","filename":"file4"},{"photo_id":"1375650237","filename":"file1"},{"photo_id":"1375650234","filename":"file0"},{"photo_id":"1375650241","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375650241":["hashtag1","hashtag2"]},{"1375650243":["hashtag1","hashtag2"]},{"1375650237":["hashtag1","hashtag2"]},{"1375650246":["hashtag1","hashtag2"]},{"1375650234":["hashtag1","hashtag2"]},{"1375650239":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375650241, 1375650243, 1375650237, 1375650246, 1375650234, 1375650239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.690086126327515 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:29:03.566534
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', '/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', '/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg
/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg
/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg
uploaded 0 photos
time to upload: 30.22955846786499 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:30:03.371087
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', '/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', '/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg
/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg
/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg
uploaded 0 photos
time to upload: 30.22496771812439 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:31:03.439494
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', '/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', '/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg
/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg
/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 20.48126244544983 secondes ---
<Response [408]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>408 Request Timeout</title>\n</head><body>\n<h1>Request Timeout</h1>\n<p>Server timeout waiting for the HTTP request from the client.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
408
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:32:02.921770
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', '/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', '/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg
/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg
/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg
uploaded 0 photos
time to upload: 30.20308756828308 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:33:02.859075
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', '/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', '/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg
/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg
/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 144.6906852722168 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-07 12:36:02.495167
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', '/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', '/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg
/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg
/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg
uploaded 0 photos
time to upload: 30.224934339523315 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:37:03.520253
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', '/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', '/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg
/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg
/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg
uploaded 0 photos
time to upload: 30.241645574569702 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:38:03.317408
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', '/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', '/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg
/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg
/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg
uploaded 0 photos
time to upload: 30.20668888092041 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:39:03.410216
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', 2), ('/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', '/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg', '/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg', '/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/45/image_07082025_01_45_35_10207.jpg
/mnt/data/07082025/01/45/image_07082025_01_45_14_10194.jpg
/mnt/data/07082025/01/44/image_07082025_01_45_04_8982.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_55_10217.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_45_10299.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_34_10199.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375650929","1375650946","1375650966","1375650936","1375650959","1375650932"],"photo_ids_order":["1375650929","1375650932","1375650936","1375650946","1375650959","1375650966"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/71f597769aca48f35792681d71879167.jpg","text":"TemporaryFile(/tmp/multipartBody9024625721126946117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754563217521,"filename":"image_07082025_01_45_35_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/7/9e564f32c9c7ff6f55e15762efc6ca7d.jpg","text":"TemporaryFile(/tmp/multipartBody2542298254871908744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754563217521,"filename":"image_07082025_01_44_55_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/7/50b3db4ca6dc15628f4285a9980fe4cb.jpg","text":"TemporaryFile(/tmp/multipartBody4535984406877959092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754563217521,"filename":"image_07082025_01_44_34_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/7/8cf03666542e21882f29628866617eed.jpg","text":"TemporaryFile(/tmp/multipartBody4957489503534670744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754563217521,"filename":"image_07082025_01_45_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/7/41a8684391d107490557a1814f6c8381.jpg","text":"TemporaryFile(/tmp/multipartBody8220879684859952732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754563217521,"filename":"image_07082025_01_44_45_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/7/637494415ebbceab3c53d6da68fe5237.jpg","text":"TemporaryFile(/tmp/multipartBody8775629271161616778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754563217521,"filename":"image_07082025_01_45_14_10194.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375650936","file1":"1375650932","file0":"1375650929","file4":"1375650959","file5":"1375650966","file3":"1375650946"},"map_files_photo_id_array":[{"photo_id":"1375650966","filename":"file5"},{"photo_id":"1375650936","filename":"file2"},{"photo_id":"1375650959","filename":"file4"},{"photo_id":"1375650932","filename":"file1"},{"photo_id":"1375650929","filename":"file0"},{"photo_id":"1375650946","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375650929":["hashtag1","hashtag2"]},{"1375650946":["hashtag1","hashtag2"]},{"1375650966":["hashtag1","hashtag2"]},{"1375650936":["hashtag1","hashtag2"]},{"1375650959":["hashtag1","hashtag2"]},{"1375650932":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375650929, 1375650946, 1375650966, 1375650936, 1375650959, 1375650932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.49781513214111 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:40:03.097369
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', '/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', '/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg
/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg
uploaded 0 photos
time to upload: 31.254807233810425 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:41:02.935454
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', '/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', '/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg
/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg
uploaded 0 photos
time to upload: 30.216827869415283 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:42:02.418444
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', '/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', '/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg
/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg
uploaded 0 photos
time to upload: 30.22134256362915 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:43:03.285412
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', '/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', '/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg
/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg
uploaded 0 photos
time to upload: 30.230284929275513 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:44:02.993867
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', '/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', '/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg
/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg
uploaded 0 photos
time to upload: 30.199021577835083 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:45:02.918497
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', '/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', '/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg
/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg
uploaded 0 photos
time to upload: 30.22504186630249 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:46:03.346317
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', '/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', '/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg
/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg
uploaded 0 photos
time to upload: 30.209954023361206 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:47:03.092870
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', '/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', '/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg
/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg
uploaded 0 photos
time to upload: 30.49555540084839 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:48:02.743117
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', '/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', '/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg
/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg
uploaded 0 photos
time to upload: 30.21329402923584 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:49:02.819195
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', '/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', '/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg
/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg
uploaded 0 photos
time to upload: 30.209083080291748 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:50:03.349359
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', 2), ('/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', '/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg', '/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg', '/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/44/image_07082025_01_44_24_10223.jpg
/mnt/data/07082025/01/44/image_07082025_01_44_14_8978.jpg
/mnt/data/07082025/01/43/image_07082025_01_44_05_10430.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_54_10284.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_44_10171.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_34_10173.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":["1375651686","1375651644","1375651611","1375651757","1375651721","1375651789"],"photo_ids_order":["1375651611","1375651644","1375651686","1375651721","1375651757","1375651789"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/9cc95efd785f3086f31973ce9e4491d4.jpg","text":"TemporaryFile(/tmp/multipartBody4221656578388665486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754563890376,"filename":"image_07082025_01_44_05_10430.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/0eea1b28414d038cbbbc5e96b84c2db9.jpg","text":"TemporaryFile(/tmp/multipartBody1953856809484744044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754563890376,"filename":"image_07082025_01_44_14_8978.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/a9740764eb764730431240cf808631cb.jpg","text":"TemporaryFile(/tmp/multipartBody2264994319437732943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754563890376,"filename":"image_07082025_01_44_24_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/7/af55a66ce60b7fab2df4a346bb38012a.jpg","text":"TemporaryFile(/tmp/multipartBody6612223978126616788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754563890376,"filename":"image_07082025_01_43_44_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/7/12f5d82fdb9cf5376aebe9185ff805aa.jpg","text":"TemporaryFile(/tmp/multipartBody4307117966840974886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754563890376,"filename":"image_07082025_01_43_54_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/7/72486b44dc062e1829b9c3c5fff1a6c0.jpg","text":"TemporaryFile(/tmp/multipartBody8233891215348708392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754563890376,"filename":"image_07082025_01_43_34_10173.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375651686","file1":"1375651644","file0":"1375651611","file4":"1375651757","file5":"1375651789","file3":"1375651721"},"map_files_photo_id_array":[{"photo_id":"1375651789","filename":"file5"},{"photo_id":"1375651686","filename":"file2"},{"photo_id":"1375651757","filename":"file4"},{"photo_id":"1375651644","filename":"file1"},{"photo_id":"1375651611","filename":"file0"},{"photo_id":"1375651721","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375651686":["hashtag1","hashtag2"]},{"1375651644":["hashtag1","hashtag2"]},{"1375651611":["hashtag1","hashtag2"]},{"1375651757":["hashtag1","hashtag2"]},{"1375651721":["hashtag1","hashtag2"]},{"1375651789":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375651686, 1375651644, 1375651611, 1375651757, 1375651721, 1375651789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.40758085250854 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:52:03.076377
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/43/image_07082025_01_43_24_8948.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_15_10206.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_43_05_10285.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_42_54_9964.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_42_44_9927.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_42_34_10175.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/43/image_07082025_01_43_24_8948.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_15_10206.jpg', '/mnt/data/07082025/01/42/image_07082025_01_43_05_10285.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_54_9964.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_44_9927.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_34_10175.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/43/image_07082025_01_43_24_8948.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_15_10206.jpg', '/mnt/data/07082025/01/42/image_07082025_01_43_05_10285.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_54_9964.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_44_9927.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_34_10175.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/43/image_07082025_01_43_24_8948.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_15_10206.jpg
/mnt/data/07082025/01/42/image_07082025_01_43_05_10285.jpg
/mnt/data/07082025/01/42/image_07082025_01_42_54_9964.jpg
/mnt/data/07082025/01/42/image_07082025_01_42_44_9927.jpg
/mnt/data/07082025/01/42/image_07082025_01_42_34_10175.jpg
uploaded 0 photos
time to upload: 30.21173667907715 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:53:03.016295
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/43/image_07082025_01_43_24_8948.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_15_10206.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_43_05_10285.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_42_54_9964.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_42_44_9927.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_42_34_10175.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/43/image_07082025_01_43_24_8948.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_15_10206.jpg', '/mnt/data/07082025/01/42/image_07082025_01_43_05_10285.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_54_9964.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_44_9927.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_34_10175.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/43/image_07082025_01_43_24_8948.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_15_10206.jpg', '/mnt/data/07082025/01/42/image_07082025_01_43_05_10285.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_54_9964.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_44_9927.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_34_10175.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/43/image_07082025_01_43_24_8948.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_15_10206.jpg
/mnt/data/07082025/01/42/image_07082025_01_43_05_10285.jpg
/mnt/data/07082025/01/42/image_07082025_01_42_54_9964.jpg
/mnt/data/07082025/01/42/image_07082025_01_42_44_9927.jpg
/mnt/data/07082025/01/42/image_07082025_01_42_34_10175.jpg
uploaded 0 photos
time to upload: 30.21595048904419 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:54:02.648038
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/43/image_07082025_01_43_24_8948.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_15_10206.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_43_05_10285.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_42_54_9964.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_42_44_9927.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_42_34_10175.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/43/image_07082025_01_43_24_8948.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_15_10206.jpg', '/mnt/data/07082025/01/42/image_07082025_01_43_05_10285.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_54_9964.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_44_9927.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_34_10175.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/43/image_07082025_01_43_24_8948.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_15_10206.jpg', '/mnt/data/07082025/01/42/image_07082025_01_43_05_10285.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_54_9964.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_44_9927.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_34_10175.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/43/image_07082025_01_43_24_8948.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_15_10206.jpg
/mnt/data/07082025/01/42/image_07082025_01_43_05_10285.jpg
/mnt/data/07082025/01/42/image_07082025_01_42_54_9964.jpg
/mnt/data/07082025/01/42/image_07082025_01_42_44_9927.jpg
/mnt/data/07082025/01/42/image_07082025_01_42_34_10175.jpg
uploaded 0 photos
time to upload: 30.216201782226562 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:55:02.697521
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/43/image_07082025_01_43_24_8948.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_15_10206.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_43_05_10285.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_42_54_9964.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_42_44_9927.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_42_34_10175.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/43/image_07082025_01_43_24_8948.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_15_10206.jpg', '/mnt/data/07082025/01/42/image_07082025_01_43_05_10285.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_54_9964.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_44_9927.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_34_10175.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/43/image_07082025_01_43_24_8948.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_15_10206.jpg', '/mnt/data/07082025/01/42/image_07082025_01_43_05_10285.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_54_9964.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_44_9927.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_34_10175.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/43/image_07082025_01_43_24_8948.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_15_10206.jpg
/mnt/data/07082025/01/42/image_07082025_01_43_05_10285.jpg
/mnt/data/07082025/01/42/image_07082025_01_42_54_9964.jpg
/mnt/data/07082025/01/42/image_07082025_01_42_44_9927.jpg
/mnt/data/07082025/01/42/image_07082025_01_42_34_10175.jpg
uploaded 0 photos
time to upload: 30.227170705795288 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:56:03.230780
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/43/image_07082025_01_43_24_8948.jpg', 2), ('/mnt/data/07082025/01/43/image_07082025_01_43_15_10206.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_43_05_10285.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_42_54_9964.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_42_44_9927.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_42_34_10175.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/43/image_07082025_01_43_24_8948.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_15_10206.jpg', '/mnt/data/07082025/01/42/image_07082025_01_43_05_10285.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_54_9964.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_44_9927.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_34_10175.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/43/image_07082025_01_43_24_8948.jpg', '/mnt/data/07082025/01/43/image_07082025_01_43_15_10206.jpg', '/mnt/data/07082025/01/42/image_07082025_01_43_05_10285.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_54_9964.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_44_9927.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_34_10175.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/43/image_07082025_01_43_24_8948.jpg
/mnt/data/07082025/01/43/image_07082025_01_43_15_10206.jpg
/mnt/data/07082025/01/42/image_07082025_01_43_05_10285.jpg
/mnt/data/07082025/01/42/image_07082025_01_42_54_9964.jpg
/mnt/data/07082025/01/42/image_07082025_01_42_44_9927.jpg
/mnt/data/07082025/01/42/image_07082025_01_42_34_10175.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":["1375653576","1375653642","1375653507","1375653542","1375653607","1375653471"],"photo_ids_order":["1375653471","1375653507","1375653542","1375653576","1375653607","1375653642"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d7bbbb7bebcd317df7162814cbad536e.jpg","text":"TemporaryFile(/tmp/multipartBody5998721703608941946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754564246304,"filename":"image_07082025_01_42_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/7/40f9c0f2cd36c2e0b141f11b10278072.jpg","text":"TemporaryFile(/tmp/multipartBody1374025974866984178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754564246304,"filename":"image_07082025_01_42_34_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/7/5fdb8fb339c72626159767d67d650b62.jpg","text":"TemporaryFile(/tmp/multipartBody3748834974400399892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754564246304,"filename":"image_07082025_01_43_15_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/7/56422f5f64bf94157ab929614966e865.jpg","text":"TemporaryFile(/tmp/multipartBody7286697363625681320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754564246304,"filename":"image_07082025_01_43_05_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/7/447a7e8142051d405d0e8d136633a1f4.jpg","text":"TemporaryFile(/tmp/multipartBody4850265602259699385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754564246304,"filename":"image_07082025_01_42_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/7/364210d04e3dec42f07de0512182c8b9.jpg","text":"TemporaryFile(/tmp/multipartBody1663609747786865365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754564246304,"filename":"image_07082025_01_43_24_8948.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375653542","file1":"1375653507","file0":"1375653471","file4":"1375653607","file5":"1375653642","file3":"1375653576"},"map_files_photo_id_array":[{"photo_id":"1375653642","filename":"file5"},{"photo_id":"1375653542","filename":"file2"},{"photo_id":"1375653607","filename":"file4"},{"photo_id":"1375653507","filename":"file1"},{"photo_id":"1375653471","filename":"file0"},{"photo_id":"1375653576","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375653576":["hashtag1","hashtag2"]},{"1375653642":["hashtag1","hashtag2"]},{"1375653507":["hashtag1","hashtag2"]},{"1375653542":["hashtag1","hashtag2"]},{"1375653607":["hashtag1","hashtag2"]},{"1375653471":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375653576, 1375653642, 1375653507, 1375653542, 1375653607, 1375653471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.35883951187134 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 12:59:03.609097
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/42/image_07082025_01_42_24_9988.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_42_14_10334.jpg', 2), ('/mnt/data/07082025/01/41/image_07082025_01_42_04_9179.jpg', 2), ('/mnt/data/07082025/01/41/image_07082025_01_41_55_10102.jpg', 2), ('/mnt/data/07082025/01/39/image_07082025_01_39_14_10047.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_39_04_9274.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/42/image_07082025_01_42_24_9988.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_14_10334.jpg', '/mnt/data/07082025/01/41/image_07082025_01_42_04_9179.jpg', '/mnt/data/07082025/01/41/image_07082025_01_41_55_10102.jpg', '/mnt/data/07082025/01/39/image_07082025_01_39_14_10047.jpg', '/mnt/data/07082025/01/38/image_07082025_01_39_04_9274.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/42/image_07082025_01_42_24_9988.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_14_10334.jpg', '/mnt/data/07082025/01/41/image_07082025_01_42_04_9179.jpg', '/mnt/data/07082025/01/41/image_07082025_01_41_55_10102.jpg', '/mnt/data/07082025/01/39/image_07082025_01_39_14_10047.jpg', '/mnt/data/07082025/01/38/image_07082025_01_39_04_9274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/42/image_07082025_01_42_24_9988.jpg
/mnt/data/07082025/01/42/image_07082025_01_42_14_10334.jpg
/mnt/data/07082025/01/41/image_07082025_01_42_04_9179.jpg
/mnt/data/07082025/01/41/image_07082025_01_41_55_10102.jpg
/mnt/data/07082025/01/39/image_07082025_01_39_14_10047.jpg
/mnt/data/07082025/01/38/image_07082025_01_39_04_9274.jpg
uploaded 0 photos
time to upload: 30.222922325134277 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:00:02.361825
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/42/image_07082025_01_42_24_9988.jpg', 2), ('/mnt/data/07082025/01/42/image_07082025_01_42_14_10334.jpg', 2), ('/mnt/data/07082025/01/41/image_07082025_01_42_04_9179.jpg', 2), ('/mnt/data/07082025/01/41/image_07082025_01_41_55_10102.jpg', 2), ('/mnt/data/07082025/01/39/image_07082025_01_39_14_10047.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_39_04_9274.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/42/image_07082025_01_42_24_9988.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_14_10334.jpg', '/mnt/data/07082025/01/41/image_07082025_01_42_04_9179.jpg', '/mnt/data/07082025/01/41/image_07082025_01_41_55_10102.jpg', '/mnt/data/07082025/01/39/image_07082025_01_39_14_10047.jpg', '/mnt/data/07082025/01/38/image_07082025_01_39_04_9274.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/42/image_07082025_01_42_24_9988.jpg', '/mnt/data/07082025/01/42/image_07082025_01_42_14_10334.jpg', '/mnt/data/07082025/01/41/image_07082025_01_42_04_9179.jpg', '/mnt/data/07082025/01/41/image_07082025_01_41_55_10102.jpg', '/mnt/data/07082025/01/39/image_07082025_01_39_14_10047.jpg', '/mnt/data/07082025/01/38/image_07082025_01_39_04_9274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/42/image_07082025_01_42_24_9988.jpg
/mnt/data/07082025/01/42/image_07082025_01_42_14_10334.jpg
/mnt/data/07082025/01/41/image_07082025_01_42_04_9179.jpg
/mnt/data/07082025/01/41/image_07082025_01_41_55_10102.jpg
/mnt/data/07082025/01/39/image_07082025_01_39_14_10047.jpg
/mnt/data/07082025/01/38/image_07082025_01_39_04_9274.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":["1375656172","1375656049","1375656304","1375656324","1375656201","1375656134"],"photo_ids_order":["1375656049","1375656134","1375656172","1375656201","1375656304","1375656324"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/851bbc0bca4bcfb4335b11038f6ba91e.jpg","text":"TemporaryFile(/tmp/multipartBody2086675122329153352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754564490884,"filename":"image_07082025_01_42_04_9179.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/ef906746379f44d9be670eeada1bf2cb.jpg","text":"TemporaryFile(/tmp/multipartBody744108547348840676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754564490884,"filename":"image_07082025_01_42_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/7/55a710a51ce4e7586849307b74111ca2.jpg","text":"TemporaryFile(/tmp/multipartBody7796212183899694577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754564490884,"filename":"image_07082025_01_39_14_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/7/b7ded8be65d02cfed1e996b7d10f03af.jpg","text":"TemporaryFile(/tmp/multipartBody2075550266613753547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754564490884,"filename":"image_07082025_01_39_04_9274.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/a7946ca3e6ba07f0f6a09f227fe3beae.jpg","text":"TemporaryFile(/tmp/multipartBody5279565672928685050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754564490884,"filename":"image_07082025_01_41_55_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/7/ff4fe86c7338ebb360822daaacc9345f.jpg","text":"TemporaryFile(/tmp/multipartBody5998735659072473938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754564490884,"filename":"image_07082025_01_42_14_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375656172","file1":"1375656134","file0":"1375656049","file4":"1375656304","file5":"1375656324","file3":"1375656201"},"map_files_photo_id_array":[{"photo_id":"1375656324","filename":"file5"},{"photo_id":"1375656172","filename":"file2"},{"photo_id":"1375656304","filename":"file4"},{"photo_id":"1375656134","filename":"file1"},{"photo_id":"1375656049","filename":"file0"},{"photo_id":"1375656201","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375656172":["hashtag1","hashtag2"]},{"1375656049":["hashtag1","hashtag2"]},{"1375656304":["hashtag1","hashtag2"]},{"1375656324":["hashtag1","hashtag2"]},{"1375656201":["hashtag1","hashtag2"]},{"1375656134":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375656172, 1375656049, 1375656304, 1375656324, 1375656201, 1375656134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.9418158531189 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:02:02.721069
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg
/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg
uploaded 0 photos
time to upload: 30.222450494766235 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:03:02.686011
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg
/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg
uploaded 0 photos
time to upload: 30.24995183944702 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:04:03.278451
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg
/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg
uploaded 0 photos
time to upload: 30.221986532211304 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:05:03.269136
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg
/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg
uploaded 0 photos
time to upload: 30.22743535041809 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:06:02.908181
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg
/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg
uploaded 0 photos
time to upload: 30.200384855270386 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:07:02.943471
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg
/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg
uploaded 0 photos
time to upload: 30.23711848258972 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:08:02.672735
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg
/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg
uploaded 0 photos
time to upload: 30.227943420410156 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:09:02.816943
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg
/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg
uploaded 0 photos
time to upload: 30.22309684753418 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:10:02.415691
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg
/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg
uploaded 0 photos
time to upload: 30.211777210235596 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:11:03.513537
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg
/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg
uploaded 0 photos
time to upload: 30.22294545173645 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:12:03.147906
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg
/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 126.10224223136902 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-07 13:15:02.972667
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg
/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg
uploaded 0 photos
time to upload: 30.21931028366089 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:16:02.789967
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg
/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg
uploaded 0 photos
time to upload: 30.202295064926147 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:17:03.003990
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg
/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg
uploaded 0 photos
time to upload: 30.227797269821167 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:18:03.219707
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg
/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg
uploaded 0 photos
time to upload: 30.223767280578613 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:19:03.328167
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg
/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg
uploaded 0 photos
time to upload: 30.232182264328003 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:20:02.761374
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg
/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg
uploaded 0 photos
time to upload: 30.22631025314331 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:21:02.874670
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', 2), ('/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg', '/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg', '/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/38/image_07082025_01_38_55_10257.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_45_10188.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_35_10283.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_24_10185.jpg
/mnt/data/07082025/01/38/image_07082025_01_38_14_10210.jpg
/mnt/data/07082025/01/37/image_07082025_01_38_04_9313.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":["1375658477","1375658468","1375658357","1375658395","1375658434","1375658490"],"photo_ids_order":["1375658357","1375658395","1375658434","1375658468","1375658477","1375658490"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/6e10bb33a427ae7c0d543c3caf576e29.jpg","text":"TemporaryFile(/tmp/multipartBody9070221082110913592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754565750741,"filename":"image_07082025_01_38_14_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/7/7fb74b92f9ca68f2519a1ae636280244.jpg","text":"TemporaryFile(/tmp/multipartBody6489690087367248561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754565750741,"filename":"image_07082025_01_38_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/7/23a44cd4aa9d3bad809f8481d22cb040.jpg","text":"TemporaryFile(/tmp/multipartBody1561881233091949219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754565750741,"filename":"image_07082025_01_38_55_10257.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/af58b716bcb706e9162e226bfc1d9bfa.jpg","text":"TemporaryFile(/tmp/multipartBody1877748474641839810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754565750741,"filename":"image_07082025_01_38_45_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/7/7a0747ed3ccb1b673a8e84a1ded3ba3d.jpg","text":"TemporaryFile(/tmp/multipartBody3055003319834496845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754565750741,"filename":"image_07082025_01_38_35_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/7/489164f3512d5017c6f37d745ca5d101.jpg","text":"TemporaryFile(/tmp/multipartBody7091342135485402623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754565750741,"filename":"image_07082025_01_38_04_9313.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375658434","file1":"1375658395","file0":"1375658357","file4":"1375658477","file5":"1375658490","file3":"1375658468"},"map_files_photo_id_array":[{"photo_id":"1375658490","filename":"file5"},{"photo_id":"1375658434","filename":"file2"},{"photo_id":"1375658477","filename":"file4"},{"photo_id":"1375658395","filename":"file1"},{"photo_id":"1375658357","filename":"file0"},{"photo_id":"1375658468","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375658477":["hashtag1","hashtag2"]},{"1375658468":["hashtag1","hashtag2"]},{"1375658357":["hashtag1","hashtag2"]},{"1375658395":["hashtag1","hashtag2"]},{"1375658434":["hashtag1","hashtag2"]},{"1375658490":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375658477, 1375658468, 1375658357, 1375658395, 1375658434, 1375658490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.03235125541687 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:23:03.342693
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/37/image_07082025_01_37_44_10103.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_37_34_10123.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_37_24_10111.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_37_14_9029.jpg', 2), ('/mnt/data/07082025/01/36/image_07082025_01_37_05_10127.jpg', 2), ('/mnt/data/07082025/01/36/image_07082025_01_36_55_10154.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/37/image_07082025_01_37_44_10103.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_34_10123.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_24_10111.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_14_9029.jpg', '/mnt/data/07082025/01/36/image_07082025_01_37_05_10127.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_55_10154.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/37/image_07082025_01_37_44_10103.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_34_10123.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_24_10111.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_14_9029.jpg', '/mnt/data/07082025/01/36/image_07082025_01_37_05_10127.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_55_10154.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/37/image_07082025_01_37_44_10103.jpg
/mnt/data/07082025/01/37/image_07082025_01_37_34_10123.jpg
/mnt/data/07082025/01/37/image_07082025_01_37_24_10111.jpg
/mnt/data/07082025/01/37/image_07082025_01_37_14_9029.jpg
/mnt/data/07082025/01/36/image_07082025_01_37_05_10127.jpg
/mnt/data/07082025/01/36/image_07082025_01_36_55_10154.jpg
uploaded 0 photos
time to upload: 30.194432735443115 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:24:02.921100
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/37/image_07082025_01_37_44_10103.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_37_34_10123.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_37_24_10111.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_37_14_9029.jpg', 2), ('/mnt/data/07082025/01/36/image_07082025_01_37_05_10127.jpg', 2), ('/mnt/data/07082025/01/36/image_07082025_01_36_55_10154.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/37/image_07082025_01_37_44_10103.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_34_10123.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_24_10111.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_14_9029.jpg', '/mnt/data/07082025/01/36/image_07082025_01_37_05_10127.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_55_10154.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/37/image_07082025_01_37_44_10103.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_34_10123.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_24_10111.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_14_9029.jpg', '/mnt/data/07082025/01/36/image_07082025_01_37_05_10127.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_55_10154.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/37/image_07082025_01_37_44_10103.jpg
/mnt/data/07082025/01/37/image_07082025_01_37_34_10123.jpg
/mnt/data/07082025/01/37/image_07082025_01_37_24_10111.jpg
/mnt/data/07082025/01/37/image_07082025_01_37_14_9029.jpg
/mnt/data/07082025/01/36/image_07082025_01_37_05_10127.jpg
/mnt/data/07082025/01/36/image_07082025_01_36_55_10154.jpg
uploaded 0 photos
time to upload: 30.212063789367676 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:25:02.909903
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/37/image_07082025_01_37_44_10103.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_37_34_10123.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_37_24_10111.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_37_14_9029.jpg', 2), ('/mnt/data/07082025/01/36/image_07082025_01_37_05_10127.jpg', 2), ('/mnt/data/07082025/01/36/image_07082025_01_36_55_10154.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/37/image_07082025_01_37_44_10103.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_34_10123.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_24_10111.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_14_9029.jpg', '/mnt/data/07082025/01/36/image_07082025_01_37_05_10127.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_55_10154.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/37/image_07082025_01_37_44_10103.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_34_10123.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_24_10111.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_14_9029.jpg', '/mnt/data/07082025/01/36/image_07082025_01_37_05_10127.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_55_10154.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/37/image_07082025_01_37_44_10103.jpg
/mnt/data/07082025/01/37/image_07082025_01_37_34_10123.jpg
/mnt/data/07082025/01/37/image_07082025_01_37_24_10111.jpg
/mnt/data/07082025/01/37/image_07082025_01_37_14_9029.jpg
/mnt/data/07082025/01/36/image_07082025_01_37_05_10127.jpg
/mnt/data/07082025/01/36/image_07082025_01_36_55_10154.jpg
uploaded 0 photos
time to upload: 30.222400665283203 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:26:02.162046
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/37/image_07082025_01_37_44_10103.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_37_34_10123.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_37_24_10111.jpg', 2), ('/mnt/data/07082025/01/37/image_07082025_01_37_14_9029.jpg', 2), ('/mnt/data/07082025/01/36/image_07082025_01_37_05_10127.jpg', 2), ('/mnt/data/07082025/01/36/image_07082025_01_36_55_10154.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/37/image_07082025_01_37_44_10103.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_34_10123.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_24_10111.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_14_9029.jpg', '/mnt/data/07082025/01/36/image_07082025_01_37_05_10127.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_55_10154.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/37/image_07082025_01_37_44_10103.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_34_10123.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_24_10111.jpg', '/mnt/data/07082025/01/37/image_07082025_01_37_14_9029.jpg', '/mnt/data/07082025/01/36/image_07082025_01_37_05_10127.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_55_10154.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/37/image_07082025_01_37_44_10103.jpg
/mnt/data/07082025/01/37/image_07082025_01_37_34_10123.jpg
/mnt/data/07082025/01/37/image_07082025_01_37_24_10111.jpg
/mnt/data/07082025/01/37/image_07082025_01_37_14_9029.jpg
/mnt/data/07082025/01/36/image_07082025_01_37_05_10127.jpg
/mnt/data/07082025/01/36/image_07082025_01_36_55_10154.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":["1375659264","1375659332","1375659298","1375659436","1375659370","1375659403"],"photo_ids_order":["1375659264","1375659298","1375659332","1375659370","1375659403","1375659436"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/67b02ecab1f717daf2e08ef1a5025ab1.jpg","text":"TemporaryFile(/tmp/multipartBody3546289720874741420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754566051652,"filename":"image_07082025_01_37_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/7/54f1205fdcac04884f22a0de70f165aa.jpg","text":"TemporaryFile(/tmp/multipartBody6821158281882916331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754566051652,"filename":"image_07082025_01_37_24_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/7/2dba403cef6710a7375848967ca07f93.jpg","text":"TemporaryFile(/tmp/multipartBody6287049776163408129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754566051652,"filename":"image_07082025_01_37_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/7/cb48962668ba2b61646b16a3fabe16d8.jpg","text":"TemporaryFile(/tmp/multipartBody7833242951754971125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754566051652,"filename":"image_07082025_01_36_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/7/e2728f2841cbb9bc694e96bb8ef2b824.jpg","text":"TemporaryFile(/tmp/multipartBody3342114716805391837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754566051652,"filename":"image_07082025_01_37_14_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/7/b1beaab589d7b0fdff1a7d8a41f2af6b.jpg","text":"TemporaryFile(/tmp/multipartBody1596508142299636107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754566051652,"filename":"image_07082025_01_37_05_10127.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375659332","file1":"1375659298","file0":"1375659264","file4":"1375659403","file5":"1375659436","file3":"1375659370"},"map_files_photo_id_array":[{"photo_id":"1375659436","filename":"file5"},{"photo_id":"1375659332","filename":"file2"},{"photo_id":"1375659403","filename":"file4"},{"photo_id":"1375659298","filename":"file1"},{"photo_id":"1375659264","filename":"file0"},{"photo_id":"1375659370","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375659264":["hashtag1","hashtag2"]},{"1375659332":["hashtag1","hashtag2"]},{"1375659298":["hashtag1","hashtag2"]},{"1375659436":["hashtag1","hashtag2"]},{"1375659370":["hashtag1","hashtag2"]},{"1375659403":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375659264, 1375659332, 1375659298, 1375659436, 1375659370, 1375659403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.11605453491211 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:28:02.494803
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/36/image_07082025_01_36_45_10235.jpg', 2), ('/mnt/data/07082025/01/36/image_07082025_01_36_34_10146.jpg', 2), ('/mnt/data/07082025/01/36/image_07082025_01_36_24_10136.jpg', 2), ('/mnt/data/07082025/01/36/image_07082025_01_36_14_10213.jpg', 2), ('/mnt/data/07082025/01/35/image_07082025_01_35_55_10094.jpg', 2), ('/mnt/data/07082025/01/33/image_07082025_01_33_45_10011.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/36/image_07082025_01_36_45_10235.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_34_10146.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_24_10136.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_14_10213.jpg', '/mnt/data/07082025/01/35/image_07082025_01_35_55_10094.jpg', '/mnt/data/07082025/01/33/image_07082025_01_33_45_10011.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/36/image_07082025_01_36_45_10235.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_34_10146.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_24_10136.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_14_10213.jpg', '/mnt/data/07082025/01/35/image_07082025_01_35_55_10094.jpg', '/mnt/data/07082025/01/33/image_07082025_01_33_45_10011.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/36/image_07082025_01_36_45_10235.jpg
/mnt/data/07082025/01/36/image_07082025_01_36_34_10146.jpg
/mnt/data/07082025/01/36/image_07082025_01_36_24_10136.jpg
/mnt/data/07082025/01/36/image_07082025_01_36_14_10213.jpg
/mnt/data/07082025/01/35/image_07082025_01_35_55_10094.jpg
/mnt/data/07082025/01/33/image_07082025_01_33_45_10011.jpg
uploaded 0 photos
time to upload: 30.24542808532715 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:29:02.697275
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/36/image_07082025_01_36_45_10235.jpg', 2), ('/mnt/data/07082025/01/36/image_07082025_01_36_34_10146.jpg', 2), ('/mnt/data/07082025/01/36/image_07082025_01_36_24_10136.jpg', 2), ('/mnt/data/07082025/01/36/image_07082025_01_36_14_10213.jpg', 2), ('/mnt/data/07082025/01/35/image_07082025_01_35_55_10094.jpg', 2), ('/mnt/data/07082025/01/33/image_07082025_01_33_45_10011.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/36/image_07082025_01_36_45_10235.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_34_10146.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_24_10136.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_14_10213.jpg', '/mnt/data/07082025/01/35/image_07082025_01_35_55_10094.jpg', '/mnt/data/07082025/01/33/image_07082025_01_33_45_10011.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/36/image_07082025_01_36_45_10235.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_34_10146.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_24_10136.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_14_10213.jpg', '/mnt/data/07082025/01/35/image_07082025_01_35_55_10094.jpg', '/mnt/data/07082025/01/33/image_07082025_01_33_45_10011.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/36/image_07082025_01_36_45_10235.jpg
/mnt/data/07082025/01/36/image_07082025_01_36_34_10146.jpg
/mnt/data/07082025/01/36/image_07082025_01_36_24_10136.jpg
/mnt/data/07082025/01/36/image_07082025_01_36_14_10213.jpg
/mnt/data/07082025/01/35/image_07082025_01_35_55_10094.jpg
/mnt/data/07082025/01/33/image_07082025_01_33_45_10011.jpg
uploaded 0 photos
time to upload: 31.263728380203247 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:30:03.411797
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/36/image_07082025_01_36_45_10235.jpg', 2), ('/mnt/data/07082025/01/36/image_07082025_01_36_34_10146.jpg', 2), ('/mnt/data/07082025/01/36/image_07082025_01_36_24_10136.jpg', 2), ('/mnt/data/07082025/01/36/image_07082025_01_36_14_10213.jpg', 2), ('/mnt/data/07082025/01/35/image_07082025_01_35_55_10094.jpg', 2), ('/mnt/data/07082025/01/33/image_07082025_01_33_45_10011.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/36/image_07082025_01_36_45_10235.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_34_10146.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_24_10136.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_14_10213.jpg', '/mnt/data/07082025/01/35/image_07082025_01_35_55_10094.jpg', '/mnt/data/07082025/01/33/image_07082025_01_33_45_10011.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/36/image_07082025_01_36_45_10235.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_34_10146.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_24_10136.jpg', '/mnt/data/07082025/01/36/image_07082025_01_36_14_10213.jpg', '/mnt/data/07082025/01/35/image_07082025_01_35_55_10094.jpg', '/mnt/data/07082025/01/33/image_07082025_01_33_45_10011.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/36/image_07082025_01_36_45_10235.jpg
/mnt/data/07082025/01/36/image_07082025_01_36_34_10146.jpg
/mnt/data/07082025/01/36/image_07082025_01_36_24_10136.jpg
/mnt/data/07082025/01/36/image_07082025_01_36_14_10213.jpg
/mnt/data/07082025/01/35/image_07082025_01_35_55_10094.jpg
/mnt/data/07082025/01/33/image_07082025_01_33_45_10011.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":["1375660606","1375660611","1375660598","1375660601","1375660609","1375660603"],"photo_ids_order":["1375660598","1375660601","1375660603","1375660606","1375660609","1375660611"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/6559e3135ffbd2f9a9e9acb237d0ec96.jpg","text":"TemporaryFile(/tmp/multipartBody6037377972081082022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754566284163,"filename":"image_07082025_01_36_14_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/7/fa10723f170d41d7405fb84c30761ac0.jpg","text":"TemporaryFile(/tmp/multipartBody8629486577679947280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754566284163,"filename":"image_07082025_01_33_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/7/4153836a40d32c145c7e30682450eace.jpg","text":"TemporaryFile(/tmp/multipartBody3981827358221259539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754566284163,"filename":"image_07082025_01_36_45_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/7/b1d3703badd35a846c6df4bb321beac7.jpg","text":"TemporaryFile(/tmp/multipartBody8611941225531967225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754566284163,"filename":"image_07082025_01_36_34_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/7/78b0a4c45768e6f9eebe2bdf8523d688.jpg","text":"TemporaryFile(/tmp/multipartBody8111704392437818965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754566284163,"filename":"image_07082025_01_35_55_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/7/d1f019412101daa9b615e80d208446b1.jpg","text":"TemporaryFile(/tmp/multipartBody7629814642789867086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754566284163,"filename":"image_07082025_01_36_24_10136.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375660603","file1":"1375660601","file0":"1375660598","file4":"1375660609","file5":"1375660611","file3":"1375660606"},"map_files_photo_id_array":[{"photo_id":"1375660611","filename":"file5"},{"photo_id":"1375660603","filename":"file2"},{"photo_id":"1375660609","filename":"file4"},{"photo_id":"1375660601","filename":"file1"},{"photo_id":"1375660598","filename":"file0"},{"photo_id":"1375660606","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375660606":["hashtag1","hashtag2"]},{"1375660611":["hashtag1","hashtag2"]},{"1375660598":["hashtag1","hashtag2"]},{"1375660601":["hashtag1","hashtag2"]},{"1375660609":["hashtag1","hashtag2"]},{"1375660603":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375660606, 1375660611, 1375660598, 1375660601, 1375660609, 1375660603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.99383783340454 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:32:02.513844
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/33/image_07082025_01_33_35_10030.jpg', 2), ('/mnt/data/07082025/01/33/image_07082025_01_33_25_10018.jpg', 2), ('/mnt/data/07082025/01/33/image_07082025_01_33_15_9945.jpg', 2), ('/mnt/data/07082025/01/32/image_07082025_01_33_05_10179.jpg', 2), ('/mnt/data/07082025/01/32/image_07082025_01_32_55_10052.jpg', 2), ('/mnt/data/07082025/01/30/image_07082025_01_30_34_10172.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/33/image_07082025_01_33_35_10030.jpg', '/mnt/data/07082025/01/33/image_07082025_01_33_25_10018.jpg', '/mnt/data/07082025/01/33/image_07082025_01_33_15_9945.jpg', '/mnt/data/07082025/01/32/image_07082025_01_33_05_10179.jpg', '/mnt/data/07082025/01/32/image_07082025_01_32_55_10052.jpg', '/mnt/data/07082025/01/30/image_07082025_01_30_34_10172.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/33/image_07082025_01_33_35_10030.jpg', '/mnt/data/07082025/01/33/image_07082025_01_33_25_10018.jpg', '/mnt/data/07082025/01/33/image_07082025_01_33_15_9945.jpg', '/mnt/data/07082025/01/32/image_07082025_01_33_05_10179.jpg', '/mnt/data/07082025/01/32/image_07082025_01_32_55_10052.jpg', '/mnt/data/07082025/01/30/image_07082025_01_30_34_10172.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/33/image_07082025_01_33_35_10030.jpg
/mnt/data/07082025/01/33/image_07082025_01_33_25_10018.jpg
/mnt/data/07082025/01/33/image_07082025_01_33_15_9945.jpg
/mnt/data/07082025/01/32/image_07082025_01_33_05_10179.jpg
/mnt/data/07082025/01/32/image_07082025_01_32_55_10052.jpg
/mnt/data/07082025/01/30/image_07082025_01_30_34_10172.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 126.26400327682495 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-07 13:35:02.607319
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/33/image_07082025_01_33_35_10030.jpg', 2), ('/mnt/data/07082025/01/33/image_07082025_01_33_25_10018.jpg', 2), ('/mnt/data/07082025/01/33/image_07082025_01_33_15_9945.jpg', 2), ('/mnt/data/07082025/01/32/image_07082025_01_33_05_10179.jpg', 2), ('/mnt/data/07082025/01/32/image_07082025_01_32_55_10052.jpg', 2), ('/mnt/data/07082025/01/30/image_07082025_01_30_34_10172.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/33/image_07082025_01_33_35_10030.jpg', '/mnt/data/07082025/01/33/image_07082025_01_33_25_10018.jpg', '/mnt/data/07082025/01/33/image_07082025_01_33_15_9945.jpg', '/mnt/data/07082025/01/32/image_07082025_01_33_05_10179.jpg', '/mnt/data/07082025/01/32/image_07082025_01_32_55_10052.jpg', '/mnt/data/07082025/01/30/image_07082025_01_30_34_10172.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/33/image_07082025_01_33_35_10030.jpg', '/mnt/data/07082025/01/33/image_07082025_01_33_25_10018.jpg', '/mnt/data/07082025/01/33/image_07082025_01_33_15_9945.jpg', '/mnt/data/07082025/01/32/image_07082025_01_33_05_10179.jpg', '/mnt/data/07082025/01/32/image_07082025_01_32_55_10052.jpg', '/mnt/data/07082025/01/30/image_07082025_01_30_34_10172.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/33/image_07082025_01_33_35_10030.jpg
/mnt/data/07082025/01/33/image_07082025_01_33_25_10018.jpg
/mnt/data/07082025/01/33/image_07082025_01_33_15_9945.jpg
/mnt/data/07082025/01/32/image_07082025_01_33_05_10179.jpg
/mnt/data/07082025/01/32/image_07082025_01_32_55_10052.jpg
/mnt/data/07082025/01/30/image_07082025_01_30_34_10172.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":["1375661573","1375661575","1375661569","1375661560","1375661563","1375661566"],"photo_ids_order":["1375661560","1375661563","1375661566","1375661569","1375661573","1375661575"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/7a2a2c55281f61c99da258df392fe41f.jpg","text":"TemporaryFile(/tmp/multipartBody5654450503310259812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754566591732,"filename":"image_07082025_01_32_55_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/7/1b919dad3140341f6e5436549ce80530.jpg","text":"TemporaryFile(/tmp/multipartBody2495435450930918908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754566591732,"filename":"image_07082025_01_30_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/7/604f61b7ba1e149f79983e19b6fae000.jpg","text":"TemporaryFile(/tmp/multipartBody2489349622326343501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754566591732,"filename":"image_07082025_01_33_05_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/7/6fd58fc8eb05f4620acf005bf033422c.jpg","text":"TemporaryFile(/tmp/multipartBody5064298546178476087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754566591732,"filename":"image_07082025_01_33_35_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/7/e31d9b7f7ebd0b29e27ebc4877fb25dd.jpg","text":"TemporaryFile(/tmp/multipartBody2500544799246352293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754566591732,"filename":"image_07082025_01_33_25_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/7/76a38ac3d31966cc3b41f831e5e42149.jpg","text":"TemporaryFile(/tmp/multipartBody6766975216088697820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754566591732,"filename":"image_07082025_01_33_15_9945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375661566","file1":"1375661563","file0":"1375661560","file4":"1375661573","file5":"1375661575","file3":"1375661569"},"map_files_photo_id_array":[{"photo_id":"1375661575","filename":"file5"},{"photo_id":"1375661566","filename":"file2"},{"photo_id":"1375661573","filename":"file4"},{"photo_id":"1375661563","filename":"file1"},{"photo_id":"1375661560","filename":"file0"},{"photo_id":"1375661569","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375661573":["hashtag1","hashtag2"]},{"1375661575":["hashtag1","hashtag2"]},{"1375661569":["hashtag1","hashtag2"]},{"1375661560":["hashtag1","hashtag2"]},{"1375661563":["hashtag1","hashtag2"]},{"1375661566":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375661573, 1375661575, 1375661569, 1375661560, 1375661563, 1375661566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.90168833732605 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:37:03.089353
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/30/image_07082025_01_30_15_10195.jpg', 2), ('/mnt/data/07082025/01/26/image_07082025_01_26_35_10066.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_25_24_10326.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_25_14_8882.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_25_05_10109.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_24_55_9971.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/30/image_07082025_01_30_15_10195.jpg', '/mnt/data/07082025/01/26/image_07082025_01_26_35_10066.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_24_10326.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_14_8882.jpg', '/mnt/data/07082025/01/24/image_07082025_01_25_05_10109.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_55_9971.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/30/image_07082025_01_30_15_10195.jpg', '/mnt/data/07082025/01/26/image_07082025_01_26_35_10066.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_24_10326.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_14_8882.jpg', '/mnt/data/07082025/01/24/image_07082025_01_25_05_10109.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_55_9971.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/30/image_07082025_01_30_15_10195.jpg
/mnt/data/07082025/01/26/image_07082025_01_26_35_10066.jpg
/mnt/data/07082025/01/25/image_07082025_01_25_24_10326.jpg
/mnt/data/07082025/01/25/image_07082025_01_25_14_8882.jpg
/mnt/data/07082025/01/24/image_07082025_01_25_05_10109.jpg
/mnt/data/07082025/01/24/image_07082025_01_24_55_9971.jpg
uploaded 0 photos
time to upload: 30.198912382125854 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:38:02.712525
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/30/image_07082025_01_30_15_10195.jpg', 2), ('/mnt/data/07082025/01/26/image_07082025_01_26_35_10066.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_25_24_10326.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_25_14_8882.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_25_05_10109.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_24_55_9971.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/30/image_07082025_01_30_15_10195.jpg', '/mnt/data/07082025/01/26/image_07082025_01_26_35_10066.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_24_10326.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_14_8882.jpg', '/mnt/data/07082025/01/24/image_07082025_01_25_05_10109.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_55_9971.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/30/image_07082025_01_30_15_10195.jpg', '/mnt/data/07082025/01/26/image_07082025_01_26_35_10066.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_24_10326.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_14_8882.jpg', '/mnt/data/07082025/01/24/image_07082025_01_25_05_10109.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_55_9971.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/30/image_07082025_01_30_15_10195.jpg
/mnt/data/07082025/01/26/image_07082025_01_26_35_10066.jpg
/mnt/data/07082025/01/25/image_07082025_01_25_24_10326.jpg
/mnt/data/07082025/01/25/image_07082025_01_25_14_8882.jpg
/mnt/data/07082025/01/24/image_07082025_01_25_05_10109.jpg
/mnt/data/07082025/01/24/image_07082025_01_24_55_9971.jpg
uploaded 0 photos
time to upload: 30.203747034072876 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:39:02.918098
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/30/image_07082025_01_30_15_10195.jpg', 2), ('/mnt/data/07082025/01/26/image_07082025_01_26_35_10066.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_25_24_10326.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_25_14_8882.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_25_05_10109.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_24_55_9971.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/30/image_07082025_01_30_15_10195.jpg', '/mnt/data/07082025/01/26/image_07082025_01_26_35_10066.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_24_10326.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_14_8882.jpg', '/mnt/data/07082025/01/24/image_07082025_01_25_05_10109.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_55_9971.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/30/image_07082025_01_30_15_10195.jpg', '/mnt/data/07082025/01/26/image_07082025_01_26_35_10066.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_24_10326.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_14_8882.jpg', '/mnt/data/07082025/01/24/image_07082025_01_25_05_10109.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_55_9971.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/30/image_07082025_01_30_15_10195.jpg
/mnt/data/07082025/01/26/image_07082025_01_26_35_10066.jpg
/mnt/data/07082025/01/25/image_07082025_01_25_24_10326.jpg
/mnt/data/07082025/01/25/image_07082025_01_25_14_8882.jpg
/mnt/data/07082025/01/24/image_07082025_01_25_05_10109.jpg
/mnt/data/07082025/01/24/image_07082025_01_24_55_9971.jpg
uploaded 0 photos
time to upload: 30.22182059288025 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:40:02.735883
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/30/image_07082025_01_30_15_10195.jpg', 2), ('/mnt/data/07082025/01/26/image_07082025_01_26_35_10066.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_25_24_10326.jpg', 2), ('/mnt/data/07082025/01/25/image_07082025_01_25_14_8882.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_25_05_10109.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_24_55_9971.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/30/image_07082025_01_30_15_10195.jpg', '/mnt/data/07082025/01/26/image_07082025_01_26_35_10066.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_24_10326.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_14_8882.jpg', '/mnt/data/07082025/01/24/image_07082025_01_25_05_10109.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_55_9971.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/30/image_07082025_01_30_15_10195.jpg', '/mnt/data/07082025/01/26/image_07082025_01_26_35_10066.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_24_10326.jpg', '/mnt/data/07082025/01/25/image_07082025_01_25_14_8882.jpg', '/mnt/data/07082025/01/24/image_07082025_01_25_05_10109.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_55_9971.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/30/image_07082025_01_30_15_10195.jpg
/mnt/data/07082025/01/26/image_07082025_01_26_35_10066.jpg
/mnt/data/07082025/01/25/image_07082025_01_25_24_10326.jpg
/mnt/data/07082025/01/25/image_07082025_01_25_14_8882.jpg
/mnt/data/07082025/01/24/image_07082025_01_25_05_10109.jpg
/mnt/data/07082025/01/24/image_07082025_01_24_55_9971.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":["1375661955","1375661984","1375662017","1375661951","1375661961","1375661958"],"photo_ids_order":["1375661951","1375661955","1375661958","1375661961","1375661984","1375662017"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/25e4a713ed1eecd54f1ba374ff59df55.jpg","text":"TemporaryFile(/tmp/multipartBody4454870269333929738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754566882817,"filename":"image_07082025_01_26_35_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/7/e29181fac9e4aa78a88b91945e3fe1a1.jpg","text":"TemporaryFile(/tmp/multipartBody2516352749474790420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754566882817,"filename":"image_07082025_01_25_05_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/7/f042e373b8f1b1c1be0b4650e8da1427.jpg","text":"TemporaryFile(/tmp/multipartBody4890736711428113620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754566882817,"filename":"image_07082025_01_24_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/7/06b6bc1f7e2213da461de483c474116c.jpg","text":"TemporaryFile(/tmp/multipartBody7532853509336493168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754566882817,"filename":"image_07082025_01_30_15_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/7/f629379dcc6520418ca5c828648c49f1.jpg","text":"TemporaryFile(/tmp/multipartBody6363525156274054929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754566882817,"filename":"image_07082025_01_25_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/7/0582f2282466bed8cd42cde45e7514e5.jpg","text":"TemporaryFile(/tmp/multipartBody7583818278909452188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754566882817,"filename":"image_07082025_01_25_24_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375661958","file1":"1375661955","file0":"1375661951","file4":"1375661984","file5":"1375662017","file3":"1375661961"},"map_files_photo_id_array":[{"photo_id":"1375662017","filename":"file5"},{"photo_id":"1375661958","filename":"file2"},{"photo_id":"1375661984","filename":"file4"},{"photo_id":"1375661955","filename":"file1"},{"photo_id":"1375661951","filename":"file0"},{"photo_id":"1375661961","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375661955":["hashtag1","hashtag2"]},{"1375661984":["hashtag1","hashtag2"]},{"1375662017":["hashtag1","hashtag2"]},{"1375661951":["hashtag1","hashtag2"]},{"1375661961":["hashtag1","hashtag2"]},{"1375661958":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375661955, 1375661984, 1375662017, 1375661951, 1375661961, 1375661958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.315242290496826 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:42:03.166339
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/24/image_07082025_01_24_45_11116.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_24_34_9926.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_24_24_9927.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_24_14_9985.jpg', 2), ('/mnt/data/07082025/01/23/image_07082025_01_23_44_9987.jpg', 2), ('/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/24/image_07082025_01_24_45_11116.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_34_9926.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_24_9927.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_14_9985.jpg', '/mnt/data/07082025/01/23/image_07082025_01_23_44_9987.jpg', '/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/24/image_07082025_01_24_45_11116.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_34_9926.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_24_9927.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_14_9985.jpg', '/mnt/data/07082025/01/23/image_07082025_01_23_44_9987.jpg', '/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/24/image_07082025_01_24_45_11116.jpg
/mnt/data/07082025/01/24/image_07082025_01_24_34_9926.jpg
/mnt/data/07082025/01/24/image_07082025_01_24_24_9927.jpg
/mnt/data/07082025/01/24/image_07082025_01_24_14_9985.jpg
/mnt/data/07082025/01/23/image_07082025_01_23_44_9987.jpg
/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg
uploaded 0 photos
time to upload: 30.21032691001892 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:43:03.287167
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/24/image_07082025_01_24_45_11116.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_24_34_9926.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_24_24_9927.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_24_14_9985.jpg', 2), ('/mnt/data/07082025/01/23/image_07082025_01_23_44_9987.jpg', 2), ('/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/24/image_07082025_01_24_45_11116.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_34_9926.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_24_9927.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_14_9985.jpg', '/mnt/data/07082025/01/23/image_07082025_01_23_44_9987.jpg', '/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/24/image_07082025_01_24_45_11116.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_34_9926.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_24_9927.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_14_9985.jpg', '/mnt/data/07082025/01/23/image_07082025_01_23_44_9987.jpg', '/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/24/image_07082025_01_24_45_11116.jpg
/mnt/data/07082025/01/24/image_07082025_01_24_34_9926.jpg
/mnt/data/07082025/01/24/image_07082025_01_24_24_9927.jpg
/mnt/data/07082025/01/24/image_07082025_01_24_14_9985.jpg
/mnt/data/07082025/01/23/image_07082025_01_23_44_9987.jpg
/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg
uploaded 0 photos
time to upload: 30.216545581817627 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:44:03.156611
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/24/image_07082025_01_24_45_11116.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_24_34_9926.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_24_24_9927.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_24_14_9985.jpg', 2), ('/mnt/data/07082025/01/23/image_07082025_01_23_44_9987.jpg', 2), ('/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/24/image_07082025_01_24_45_11116.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_34_9926.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_24_9927.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_14_9985.jpg', '/mnt/data/07082025/01/23/image_07082025_01_23_44_9987.jpg', '/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/24/image_07082025_01_24_45_11116.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_34_9926.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_24_9927.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_14_9985.jpg', '/mnt/data/07082025/01/23/image_07082025_01_23_44_9987.jpg', '/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/24/image_07082025_01_24_45_11116.jpg
/mnt/data/07082025/01/24/image_07082025_01_24_34_9926.jpg
/mnt/data/07082025/01/24/image_07082025_01_24_24_9927.jpg
/mnt/data/07082025/01/24/image_07082025_01_24_14_9985.jpg
/mnt/data/07082025/01/23/image_07082025_01_23_44_9987.jpg
/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 129.2888593673706 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-07 13:47:03.058163
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/24/image_07082025_01_24_45_11116.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_24_34_9926.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_24_24_9927.jpg', 2), ('/mnt/data/07082025/01/24/image_07082025_01_24_14_9985.jpg', 2), ('/mnt/data/07082025/01/23/image_07082025_01_23_44_9987.jpg', 2), ('/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/24/image_07082025_01_24_45_11116.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_34_9926.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_24_9927.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_14_9985.jpg', '/mnt/data/07082025/01/23/image_07082025_01_23_44_9987.jpg', '/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/24/image_07082025_01_24_45_11116.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_34_9926.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_24_9927.jpg', '/mnt/data/07082025/01/24/image_07082025_01_24_14_9985.jpg', '/mnt/data/07082025/01/23/image_07082025_01_23_44_9987.jpg', '/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/24/image_07082025_01_24_45_11116.jpg
/mnt/data/07082025/01/24/image_07082025_01_24_34_9926.jpg
/mnt/data/07082025/01/24/image_07082025_01_24_24_9927.jpg
/mnt/data/07082025/01/24/image_07082025_01_24_14_9985.jpg
/mnt/data/07082025/01/23/image_07082025_01_23_44_9987.jpg
/mnt/data/07082025/01/14/image_07082025_01_14_34_9985.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375662542","1375662598","1375662583","1375662565","1375662589","1375662568"],"photo_ids_order":["1375662542","1375662565","1375662568","1375662583","1375662589","1375662598"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/b85c910c9337bc090f3449493d63250d.jpg","text":"TemporaryFile(/tmp/multipartBody2181726216868505342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754567294006,"filename":"image_07082025_01_24_45_11116.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/fd0d5eb45957757339269fc1da4e2c2f.jpg","text":"TemporaryFile(/tmp/multipartBody9202290357078765287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754567294006,"filename":"image_07082025_01_14_34_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/7/34f820c4ae68328b1330b446efe1f7db.jpg","text":"TemporaryFile(/tmp/multipartBody5091456314713968735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754567294006,"filename":"image_07082025_01_24_14_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/7/1bf51cb6a60cb1b44de0f21177a39338.jpg","text":"TemporaryFile(/tmp/multipartBody5648052343856691716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754567294006,"filename":"image_07082025_01_24_34_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/7/47ad1945854e6885c37b026903c2598b.jpg","text":"TemporaryFile(/tmp/multipartBody6735912438574809808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754567294006,"filename":"image_07082025_01_23_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/7/736c2042b65bf86300bc44c4c474f9d4.jpg","text":"TemporaryFile(/tmp/multipartBody401169334433954320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754567294006,"filename":"image_07082025_01_24_24_9927.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375662568","file1":"1375662565","file0":"1375662542","file4":"1375662589","file5":"1375662598","file3":"1375662583"},"map_files_photo_id_array":[{"photo_id":"1375662598","filename":"file5"},{"photo_id":"1375662568","filename":"file2"},{"photo_id":"1375662589","filename":"file4"},{"photo_id":"1375662565","filename":"file1"},{"photo_id":"1375662542","filename":"file0"},{"photo_id":"1375662583","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375662542":["hashtag1","hashtag2"]},{"1375662598":["hashtag1","hashtag2"]},{"1375662583":["hashtag1","hashtag2"]},{"1375662565":["hashtag1","hashtag2"]},{"1375662589":["hashtag1","hashtag2"]},{"1375662568":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375662542, 1375662598, 1375662583, 1375662565, 1375662589, 1375662568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.418984174728394 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:48:02.398547
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/10/image_07082025_01_10_15_10666.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', 2), ('/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', 2), ('/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', 2), ('/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/10/image_07082025_01_10_15_10666.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/10/image_07082025_01_10_15_10666.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg', '/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg', '/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg', '/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/10/image_07082025_01_10_15_10666.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_54_10213.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_44_10217.jpg
/mnt/data/07082025/01/09/image_07082025_01_09_24_10214.jpg
/mnt/data/07082025/01/08/image_07082025_01_08_24_9046.jpg
/mnt/data/07082025/01/07/image_07082025_01_07_44_10221.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":["1375662617","1375662611","1375662625","1375662630","1375662633","1375662621"],"photo_ids_order":["1375662611","1375662617","1375662621","1375662625","1375662630","1375662633"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/7d318ea006850fca40aa878ec61a50b5.jpg","text":"TemporaryFile(/tmp/multipartBody4619653266919874868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754567366152,"filename":"image_07082025_01_09_54_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/7/5cdf5eec7edbc8793a3c279120dba532.jpg","text":"TemporaryFile(/tmp/multipartBody9146880288966960197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754567366152,"filename":"image_07082025_01_10_15_10666.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/c8d515fe2429d456c26084fcaae61219.jpg","text":"TemporaryFile(/tmp/multipartBody5581459941631008284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754567366152,"filename":"image_07082025_01_09_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/7/6ccd074575b526c2641569c6ae1a21e9.jpg","text":"TemporaryFile(/tmp/multipartBody6956002543305263764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754567366152,"filename":"image_07082025_01_08_24_9046.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/c2831fcd231bcd49421b37f2252d2af5.jpg","text":"TemporaryFile(/tmp/multipartBody8238423042383249774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754567366152,"filename":"image_07082025_01_07_44_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/7/0c20e9217892ccfad2748a4b8ba8491f.jpg","text":"TemporaryFile(/tmp/multipartBody391778365570225726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754567366152,"filename":"image_07082025_01_09_44_10217.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375662621","file1":"1375662617","file0":"1375662611","file4":"1375662630","file5":"1375662633","file3":"1375662625"},"map_files_photo_id_array":[{"photo_id":"1375662633","filename":"file5"},{"photo_id":"1375662621","filename":"file2"},{"photo_id":"1375662630","filename":"file4"},{"photo_id":"1375662617","filename":"file1"},{"photo_id":"1375662611","filename":"file0"},{"photo_id":"1375662625","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375662617":["hashtag1","hashtag2"]},{"1375662611":["hashtag1","hashtag2"]},{"1375662625":["hashtag1","hashtag2"]},{"1375662630":["hashtag1","hashtag2"]},{"1375662633":["hashtag1","hashtag2"]},{"1375662621":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375662617, 1375662611, 1375662625, 1375662630, 1375662633, 1375662621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.6579658985138 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:50:02.670664
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', 2), ('/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', 2), ('/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', '/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', '/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', '/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', '/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', '/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', '/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg
/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg
/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg
/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg
/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg
/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg
uploaded 0 photos
time to upload: 30.202338457107544 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:51:02.610749
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', 2), ('/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', 2), ('/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', '/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', '/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', '/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', '/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', '/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', '/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg
/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg
/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg
/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg
/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg
/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg
uploaded 0 photos
time to upload: 30.2123122215271 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:52:03.295310
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', 2), ('/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', 2), ('/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', '/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', '/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', '/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', '/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', '/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', '/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg
/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg
/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg
/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg
/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg
/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg
uploaded 0 photos
time to upload: 30.200905561447144 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:53:03.219644
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', 2), ('/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', 2), ('/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', '/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', '/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', '/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', '/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', '/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', '/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg
/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg
/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg
/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg
/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg
/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 150.2980616092682 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-07 13:56:02.752091
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', 2), ('/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', 2), ('/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', '/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', '/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', '/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', '/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', '/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', '/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg
/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg
/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg
/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg
/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg
/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg
uploaded 0 photos
time to upload: 30.203532457351685 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:57:02.867426
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', 2), ('/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', 2), ('/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', '/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', '/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', '/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', '/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', '/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', '/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg
/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg
/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg
/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg
/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg
/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg
uploaded 0 photos
time to upload: 30.201112508773804 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 13:59:03.115651
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', 2), ('/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', 2), ('/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', '/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', '/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', '/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', '/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', '/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', '/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg
/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg
/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg
/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg
/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg
/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg
uploaded 0 photos
time to upload: 30.240066289901733 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:00:02.910437
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', 2), ('/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', 2), ('/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', 2), ('/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', '/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', '/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', '/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg', '/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg', '/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg', '/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg', '/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/07/image_07082025_01_07_25_10290.jpg
/mnt/data/07082025/01/06/image_07082025_01_07_04_9215.jpg
/mnt/data/07082025/01/05/image_07082025_01_06_04_9058.jpg
/mnt/data/07082025/01/05/image_07082025_01_05_55_10222.jpg
/mnt/data/07082025/01/05/image_07082025_01_05_24_10215.jpg
/mnt/data/07082025/01/04/image_07082025_01_04_34_9020.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":["1375665226","1375665285","1375665318","1375665281","1375665305","1375665259"],"photo_ids_order":["1375665226","1375665259","1375665281","1375665285","1375665305","1375665318"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/6f6d09922e25e2df3046b263bceb45e4.jpg","text":"TemporaryFile(/tmp/multipartBody415110417813305102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568090171,"filename":"image_07082025_01_07_25_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/7/65ac04929f6fde76eb2af81cec75d496.jpg","text":"TemporaryFile(/tmp/multipartBody5437977768868219785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568090171,"filename":"image_07082025_01_05_55_10222.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/ecc01294c4dc3d5f8f6e201fdcc5bfff.jpg","text":"TemporaryFile(/tmp/multipartBody5897073834078266654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568090171,"filename":"image_07082025_01_04_34_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/7/196fc643f6c1df200751ee79f9f1d1ef.jpg","text":"TemporaryFile(/tmp/multipartBody8910472535789719447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568090171,"filename":"image_07082025_01_06_04_9058.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/b0dc67f0e82a47d4546b028db57380c9.jpg","text":"TemporaryFile(/tmp/multipartBody1650799198240755940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568090171,"filename":"image_07082025_01_05_24_10215.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/86e9039fdb21ca0e7d19086268213e81.jpg","text":"TemporaryFile(/tmp/multipartBody2717033722233888981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568090171,"filename":"image_07082025_01_07_04_9215.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375665281","file1":"1375665259","file0":"1375665226","file4":"1375665305","file5":"1375665318","file3":"1375665285"},"map_files_photo_id_array":[{"photo_id":"1375665318","filename":"file5"},{"photo_id":"1375665281","filename":"file2"},{"photo_id":"1375665305","filename":"file4"},{"photo_id":"1375665259","filename":"file1"},{"photo_id":"1375665226","filename":"file0"},{"photo_id":"1375665285","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375665226":["hashtag1","hashtag2"]},{"1375665285":["hashtag1","hashtag2"]},{"1375665318":["hashtag1","hashtag2"]},{"1375665281":["hashtag1","hashtag2"]},{"1375665305":["hashtag1","hashtag2"]},{"1375665259":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375665226, 1375665285, 1375665318, 1375665281, 1375665305, 1375665259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.8707640171051 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:02:02.699463
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/03/image_07082025_01_04_04_10478.jpg', 2), ('/mnt/data/07082025/01/03/image_07082025_01_03_54_9011.jpg', 2), ('/mnt/data/07082025/01/02/image_07082025_01_02_55_10239.jpg', 2), ('/mnt/data/07082025/01/02/image_07082025_01_02_45_10231.jpg', 2), ('/mnt/data/07082025/01/02/image_07082025_01_02_34_10054.jpg', 2), ('/mnt/data/07082025/01/02/image_07082025_01_02_24_10049.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/03/image_07082025_01_04_04_10478.jpg', '/mnt/data/07082025/01/03/image_07082025_01_03_54_9011.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_55_10239.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_45_10231.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_34_10054.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_24_10049.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/03/image_07082025_01_04_04_10478.jpg', '/mnt/data/07082025/01/03/image_07082025_01_03_54_9011.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_55_10239.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_45_10231.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_34_10054.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_24_10049.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/03/image_07082025_01_04_04_10478.jpg
/mnt/data/07082025/01/03/image_07082025_01_03_54_9011.jpg
/mnt/data/07082025/01/02/image_07082025_01_02_55_10239.jpg
/mnt/data/07082025/01/02/image_07082025_01_02_45_10231.jpg
/mnt/data/07082025/01/02/image_07082025_01_02_34_10054.jpg
/mnt/data/07082025/01/02/image_07082025_01_02_24_10049.jpg
uploaded 0 photos
time to upload: 30.2050998210907 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:03:02.671926
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/03/image_07082025_01_04_04_10478.jpg', 2), ('/mnt/data/07082025/01/03/image_07082025_01_03_54_9011.jpg', 2), ('/mnt/data/07082025/01/02/image_07082025_01_02_55_10239.jpg', 2), ('/mnt/data/07082025/01/02/image_07082025_01_02_45_10231.jpg', 2), ('/mnt/data/07082025/01/02/image_07082025_01_02_34_10054.jpg', 2), ('/mnt/data/07082025/01/02/image_07082025_01_02_24_10049.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/03/image_07082025_01_04_04_10478.jpg', '/mnt/data/07082025/01/03/image_07082025_01_03_54_9011.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_55_10239.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_45_10231.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_34_10054.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_24_10049.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/03/image_07082025_01_04_04_10478.jpg', '/mnt/data/07082025/01/03/image_07082025_01_03_54_9011.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_55_10239.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_45_10231.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_34_10054.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_24_10049.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/03/image_07082025_01_04_04_10478.jpg
/mnt/data/07082025/01/03/image_07082025_01_03_54_9011.jpg
/mnt/data/07082025/01/02/image_07082025_01_02_55_10239.jpg
/mnt/data/07082025/01/02/image_07082025_01_02_45_10231.jpg
/mnt/data/07082025/01/02/image_07082025_01_02_34_10054.jpg
/mnt/data/07082025/01/02/image_07082025_01_02_24_10049.jpg
uploaded 0 photos
time to upload: 20.045055150985718 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-07 14:04:03.397903
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/03/image_07082025_01_04_04_10478.jpg', 2), ('/mnt/data/07082025/01/03/image_07082025_01_03_54_9011.jpg', 2), ('/mnt/data/07082025/01/02/image_07082025_01_02_55_10239.jpg', 2), ('/mnt/data/07082025/01/02/image_07082025_01_02_45_10231.jpg', 2), ('/mnt/data/07082025/01/02/image_07082025_01_02_34_10054.jpg', 2), ('/mnt/data/07082025/01/02/image_07082025_01_02_24_10049.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/03/image_07082025_01_04_04_10478.jpg', '/mnt/data/07082025/01/03/image_07082025_01_03_54_9011.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_55_10239.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_45_10231.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_34_10054.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_24_10049.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/03/image_07082025_01_04_04_10478.jpg', '/mnt/data/07082025/01/03/image_07082025_01_03_54_9011.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_55_10239.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_45_10231.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_34_10054.jpg', '/mnt/data/07082025/01/02/image_07082025_01_02_24_10049.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/03/image_07082025_01_04_04_10478.jpg
/mnt/data/07082025/01/03/image_07082025_01_03_54_9011.jpg
/mnt/data/07082025/01/02/image_07082025_01_02_55_10239.jpg
/mnt/data/07082025/01/02/image_07082025_01_02_45_10231.jpg
/mnt/data/07082025/01/02/image_07082025_01_02_34_10054.jpg
/mnt/data/07082025/01/02/image_07082025_01_02_24_10049.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":["1375666089","1375666011","1375666259","1375665900","1375665950","1375666156"],"photo_ids_order":["1375665900","1375665950","1375666011","1375666089","1375666156","1375666259"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/64b452918460ef01d53cf193d01e0378.jpg","text":"TemporaryFile(/tmp/multipartBody3473527423524108720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568329066,"filename":"image_07082025_01_02_45_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/7/b5c99a2ee89eba24f0af71cc31597235.jpg","text":"TemporaryFile(/tmp/multipartBody7862055888429578962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568329066,"filename":"image_07082025_01_02_55_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/7/7d334a6d21e00a5c8887b621e6c7190f.jpg","text":"TemporaryFile(/tmp/multipartBody9024302730681883561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568329066,"filename":"image_07082025_01_02_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/7/3a4fdc9e0724e594c961970c1d341960.jpg","text":"TemporaryFile(/tmp/multipartBody6864858181867377383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568329066,"filename":"image_07082025_01_04_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/7/1fd28928f66785f7ca155afa3a80c174.jpg","text":"TemporaryFile(/tmp/multipartBody2392725068335591484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568329066,"filename":"image_07082025_01_03_54_9011.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/67f717cb0110ba0120392391e0a4f3e5.jpg","text":"TemporaryFile(/tmp/multipartBody6905521110310259128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568329066,"filename":"image_07082025_01_02_34_10054.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375666011","file1":"1375665950","file0":"1375665900","file4":"1375666156","file5":"1375666259","file3":"1375666089"},"map_files_photo_id_array":[{"photo_id":"1375666259","filename":"file5"},{"photo_id":"1375666011","filename":"file2"},{"photo_id":"1375666156","filename":"file4"},{"photo_id":"1375665950","filename":"file1"},{"photo_id":"1375665900","filename":"file0"},{"photo_id":"1375666089","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375666089":["hashtag1","hashtag2"]},{"1375666011":["hashtag1","hashtag2"]},{"1375666259":["hashtag1","hashtag2"]},{"1375665900":["hashtag1","hashtag2"]},{"1375665950":["hashtag1","hashtag2"]},{"1375666156":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375666089, 1375666011, 1375666259, 1375665900, 1375665950, 1375666156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 83.16131854057312 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:06:02.720768
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/02/image_07082025_01_02_14_10114.jpg', 2), ('/mnt/data/07082025/01/01/image_07082025_01_01_55_10040.jpg', 2), ('/mnt/data/07082025/01/01/image_07082025_01_01_45_10091.jpg', 2), ('/mnt/data/07082025/01/01/image_07082025_01_01_35_10229.jpg', 2), ('/mnt/data/07082025/01/01/image_07082025_01_01_26_10349.jpg', 2), ('/mnt/data/07082025/01/01/image_07082025_01_01_14_10173.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/02/image_07082025_01_02_14_10114.jpg', '/mnt/data/07082025/01/01/image_07082025_01_01_55_10040.jpg', '/mnt/data/07082025/01/01/image_07082025_01_01_45_10091.jpg', '/mnt/data/07082025/01/01/image_07082025_01_01_35_10229.jpg', '/mnt/data/07082025/01/01/image_07082025_01_01_26_10349.jpg', '/mnt/data/07082025/01/01/image_07082025_01_01_14_10173.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/02/image_07082025_01_02_14_10114.jpg', '/mnt/data/07082025/01/01/image_07082025_01_01_55_10040.jpg', '/mnt/data/07082025/01/01/image_07082025_01_01_45_10091.jpg', '/mnt/data/07082025/01/01/image_07082025_01_01_35_10229.jpg', '/mnt/data/07082025/01/01/image_07082025_01_01_26_10349.jpg', '/mnt/data/07082025/01/01/image_07082025_01_01_14_10173.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/02/image_07082025_01_02_14_10114.jpg
/mnt/data/07082025/01/01/image_07082025_01_01_55_10040.jpg
/mnt/data/07082025/01/01/image_07082025_01_01_45_10091.jpg
/mnt/data/07082025/01/01/image_07082025_01_01_35_10229.jpg
/mnt/data/07082025/01/01/image_07082025_01_01_26_10349.jpg
/mnt/data/07082025/01/01/image_07082025_01_01_14_10173.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":["1375666512","1375666509","1375666532","1375666535","1375666505","1375666516"],"photo_ids_order":["1375666505","1375666509","1375666512","1375666516","1375666532","1375666535"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/ae1a8ad5857decf562fa76f22745e7be.jpg","text":"TemporaryFile(/tmp/multipartBody4756596652582864363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568450262,"filename":"image_07082025_01_01_45_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/7/0cf84735ad0002600f9ffce907cf5b54.jpg","text":"TemporaryFile(/tmp/multipartBody7345450691403629738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568450262,"filename":"image_07082025_01_01_55_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/7/568506c08a4e85183235dbb4a48ead06.jpg","text":"TemporaryFile(/tmp/multipartBody6055479060133734556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568450262,"filename":"image_07082025_01_01_26_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/7/b2d3c42a598d56f67260ee5a1dc21b1a.jpg","text":"TemporaryFile(/tmp/multipartBody4345139175645868910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568450262,"filename":"image_07082025_01_01_14_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/7/0e70764bfbec5e377ff757a010df7d7d.jpg","text":"TemporaryFile(/tmp/multipartBody5606673666041219434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568450262,"filename":"image_07082025_01_02_14_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/7/c592536e16975b5a438691cffe3be6cb.jpg","text":"TemporaryFile(/tmp/multipartBody1535319789924452968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568450262,"filename":"image_07082025_01_01_35_10229.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375666512","file1":"1375666509","file0":"1375666505","file4":"1375666532","file5":"1375666535","file3":"1375666516"},"map_files_photo_id_array":[{"photo_id":"1375666535","filename":"file5"},{"photo_id":"1375666512","filename":"file2"},{"photo_id":"1375666532","filename":"file4"},{"photo_id":"1375666509","filename":"file1"},{"photo_id":"1375666505","filename":"file0"},{"photo_id":"1375666516","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375666512":["hashtag1","hashtag2"]},{"1375666509":["hashtag1","hashtag2"]},{"1375666532":["hashtag1","hashtag2"]},{"1375666535":["hashtag1","hashtag2"]},{"1375666505":["hashtag1","hashtag2"]},{"1375666516":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375666512, 1375666509, 1375666532, 1375666535, 1375666505, 1375666516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.82066798210144 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:08:02.899218
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/01/00/image_07082025_01_01_04_10328.jpg', 2), ('/mnt/data/07082025/01/00/image_07082025_01_00_54_9078.jpg', 2), ('/mnt/data/07082025/01/00/image_07082025_01_00_45_10251.jpg', 2), ('/mnt/data/07082025/01/00/image_07082025_01_00_34_10147.jpg', 2), ('/mnt/data/07082025/01/00/image_07082025_01_00_24_10119.jpg', 2), ('/mnt/data/07082025/01/00/image_07082025_01_00_14_10335.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/01/00/image_07082025_01_01_04_10328.jpg', '/mnt/data/07082025/01/00/image_07082025_01_00_54_9078.jpg', '/mnt/data/07082025/01/00/image_07082025_01_00_45_10251.jpg', '/mnt/data/07082025/01/00/image_07082025_01_00_34_10147.jpg', '/mnt/data/07082025/01/00/image_07082025_01_00_24_10119.jpg', '/mnt/data/07082025/01/00/image_07082025_01_00_14_10335.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/01/00/image_07082025_01_01_04_10328.jpg', '/mnt/data/07082025/01/00/image_07082025_01_00_54_9078.jpg', '/mnt/data/07082025/01/00/image_07082025_01_00_45_10251.jpg', '/mnt/data/07082025/01/00/image_07082025_01_00_34_10147.jpg', '/mnt/data/07082025/01/00/image_07082025_01_00_24_10119.jpg', '/mnt/data/07082025/01/00/image_07082025_01_00_14_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/01/00/image_07082025_01_01_04_10328.jpg
/mnt/data/07082025/01/00/image_07082025_01_00_54_9078.jpg
/mnt/data/07082025/01/00/image_07082025_01_00_45_10251.jpg
/mnt/data/07082025/01/00/image_07082025_01_00_34_10147.jpg
/mnt/data/07082025/01/00/image_07082025_01_00_24_10119.jpg
/mnt/data/07082025/01/00/image_07082025_01_00_14_10335.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":["1375666866","1375666851","1375666860","1375666856","1375666846","1375666863"],"photo_ids_order":["1375666846","1375666851","1375666856","1375666860","1375666863","1375666866"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/687124f92b01dccc3dd401b0745b3a47.jpg","text":"TemporaryFile(/tmp/multipartBody1443429830764140642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568567609,"filename":"image_07082025_01_00_14_10335.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/3e604c452d7e0812ff875ea1f6e12815.jpg","text":"TemporaryFile(/tmp/multipartBody6912599488785833846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568567609,"filename":"image_07082025_01_00_54_9078.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/a7ffbcf3ea2ae3b30d18eca677334c10.jpg","text":"TemporaryFile(/tmp/multipartBody76628259819523121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568567609,"filename":"image_07082025_01_00_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/7/f0182b9732f357192491897bd2aa0201.jpg","text":"TemporaryFile(/tmp/multipartBody6869955113613662733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568567609,"filename":"image_07082025_01_00_45_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/7/ea5176b4a50df281eb36cc1c82bdf9c4.jpg","text":"TemporaryFile(/tmp/multipartBody5166216633726994244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568567609,"filename":"image_07082025_01_01_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/7/de0ac2fc90fa777c12f2fc13bdde6932.jpg","text":"TemporaryFile(/tmp/multipartBody1242523930323695422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568567609,"filename":"image_07082025_01_00_24_10119.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375666856","file1":"1375666851","file0":"1375666846","file4":"1375666863","file5":"1375666866","file3":"1375666860"},"map_files_photo_id_array":[{"photo_id":"1375666866","filename":"file5"},{"photo_id":"1375666856","filename":"file2"},{"photo_id":"1375666863","filename":"file4"},{"photo_id":"1375666851","filename":"file1"},{"photo_id":"1375666846","filename":"file0"},{"photo_id":"1375666860","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375666866":["hashtag1","hashtag2"]},{"1375666851":["hashtag1","hashtag2"]},{"1375666860":["hashtag1","hashtag2"]},{"1375666856":["hashtag1","hashtag2"]},{"1375666846":["hashtag1","hashtag2"]},{"1375666863":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375666866, 1375666851, 1375666860, 1375666856, 1375666846, 1375666863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.0569658279419 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:10:03.323608
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/59/image_07082025_01_00_04_9202.jpg', 2), ('/mnt/data/07082025/00/59/image_07082025_00_59_55_10166.jpg', 2), ('/mnt/data/07082025/00/58/image_07082025_00_58_34_10021.jpg', 2), ('/mnt/data/07082025/00/58/image_07082025_00_58_24_10059.jpg', 2), ('/mnt/data/07082025/00/58/image_07082025_00_58_14_10101.jpg', 2), ('/mnt/data/07082025/00/57/image_07082025_00_58_04_10072.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/59/image_07082025_01_00_04_9202.jpg', '/mnt/data/07082025/00/59/image_07082025_00_59_55_10166.jpg', '/mnt/data/07082025/00/58/image_07082025_00_58_34_10021.jpg', '/mnt/data/07082025/00/58/image_07082025_00_58_24_10059.jpg', '/mnt/data/07082025/00/58/image_07082025_00_58_14_10101.jpg', '/mnt/data/07082025/00/57/image_07082025_00_58_04_10072.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/59/image_07082025_01_00_04_9202.jpg', '/mnt/data/07082025/00/59/image_07082025_00_59_55_10166.jpg', '/mnt/data/07082025/00/58/image_07082025_00_58_34_10021.jpg', '/mnt/data/07082025/00/58/image_07082025_00_58_24_10059.jpg', '/mnt/data/07082025/00/58/image_07082025_00_58_14_10101.jpg', '/mnt/data/07082025/00/57/image_07082025_00_58_04_10072.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/59/image_07082025_01_00_04_9202.jpg
/mnt/data/07082025/00/59/image_07082025_00_59_55_10166.jpg
/mnt/data/07082025/00/58/image_07082025_00_58_34_10021.jpg
/mnt/data/07082025/00/58/image_07082025_00_58_24_10059.jpg
/mnt/data/07082025/00/58/image_07082025_00_58_14_10101.jpg
/mnt/data/07082025/00/57/image_07082025_00_58_04_10072.jpg
uploaded 0 photos
time to upload: 30.22770595550537 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:11:03.124994
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/59/image_07082025_01_00_04_9202.jpg', 2), ('/mnt/data/07082025/00/59/image_07082025_00_59_55_10166.jpg', 2), ('/mnt/data/07082025/00/58/image_07082025_00_58_34_10021.jpg', 2), ('/mnt/data/07082025/00/58/image_07082025_00_58_24_10059.jpg', 2), ('/mnt/data/07082025/00/58/image_07082025_00_58_14_10101.jpg', 2), ('/mnt/data/07082025/00/57/image_07082025_00_58_04_10072.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/59/image_07082025_01_00_04_9202.jpg', '/mnt/data/07082025/00/59/image_07082025_00_59_55_10166.jpg', '/mnt/data/07082025/00/58/image_07082025_00_58_34_10021.jpg', '/mnt/data/07082025/00/58/image_07082025_00_58_24_10059.jpg', '/mnt/data/07082025/00/58/image_07082025_00_58_14_10101.jpg', '/mnt/data/07082025/00/57/image_07082025_00_58_04_10072.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/59/image_07082025_01_00_04_9202.jpg', '/mnt/data/07082025/00/59/image_07082025_00_59_55_10166.jpg', '/mnt/data/07082025/00/58/image_07082025_00_58_34_10021.jpg', '/mnt/data/07082025/00/58/image_07082025_00_58_24_10059.jpg', '/mnt/data/07082025/00/58/image_07082025_00_58_14_10101.jpg', '/mnt/data/07082025/00/57/image_07082025_00_58_04_10072.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/59/image_07082025_01_00_04_9202.jpg
/mnt/data/07082025/00/59/image_07082025_00_59_55_10166.jpg
/mnt/data/07082025/00/58/image_07082025_00_58_34_10021.jpg
/mnt/data/07082025/00/58/image_07082025_00_58_24_10059.jpg
/mnt/data/07082025/00/58/image_07082025_00_58_14_10101.jpg
/mnt/data/07082025/00/57/image_07082025_00_58_04_10072.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":["1375667406","1375667330","1375667350","1375667367","1375667334","1375667337"],"photo_ids_order":["1375667330","1375667334","1375667337","1375667350","1375667367","1375667406"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/8f9fbf461827ac5e258a69f15e679a5e.jpg","text":"TemporaryFile(/tmp/multipartBody873236600145007842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568750284,"filename":"image_07082025_00_58_04_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/7/1a6f42ad389e774115bed4bd4b34663b.jpg","text":"TemporaryFile(/tmp/multipartBody2233468356825269494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568750284,"filename":"image_07082025_01_00_04_9202.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/73cb735c6dccd650a8db49bf70242516.jpg","text":"TemporaryFile(/tmp/multipartBody1052126845060272169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568750284,"filename":"image_07082025_00_58_24_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/7/1fe0de073d857bb3f1adc42096ad78cd.jpg","text":"TemporaryFile(/tmp/multipartBody5350032466986398971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568750284,"filename":"image_07082025_00_58_14_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/7/bbb86df75eeed8a07d7aa9f1339a39cd.jpg","text":"TemporaryFile(/tmp/multipartBody2243755390933328771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568750284,"filename":"image_07082025_00_59_55_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/7/6bf1d71628408884255852800131c159.jpg","text":"TemporaryFile(/tmp/multipartBody4648689328334047765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754568750284,"filename":"image_07082025_00_58_34_10021.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375667337","file1":"1375667334","file0":"1375667330","file4":"1375667367","file5":"1375667406","file3":"1375667350"},"map_files_photo_id_array":[{"photo_id":"1375667406","filename":"file5"},{"photo_id":"1375667337","filename":"file2"},{"photo_id":"1375667367","filename":"file4"},{"photo_id":"1375667334","filename":"file1"},{"photo_id":"1375667330","filename":"file0"},{"photo_id":"1375667350","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375667406":["hashtag1","hashtag2"]},{"1375667330":["hashtag1","hashtag2"]},{"1375667350":["hashtag1","hashtag2"]},{"1375667367":["hashtag1","hashtag2"]},{"1375667334":["hashtag1","hashtag2"]},{"1375667337":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375667406, 1375667330, 1375667350, 1375667367, 1375667334, 1375667337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.23963737487793 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:13:02.670675
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/57/image_07082025_00_57_54_9997.jpg', 2), ('/mnt/data/07082025/00/56/image_07082025_00_56_44_9991.jpg', 2), ('/mnt/data/07082025/00/56/image_07082025_00_56_34_9956.jpg', 2), ('/mnt/data/07082025/00/56/image_07082025_00_56_24_9990.jpg', 2), ('/mnt/data/07082025/00/56/image_07082025_00_56_14_9996.jpg', 2), ('/mnt/data/07082025/00/55/image_07082025_00_56_04_10057.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/57/image_07082025_00_57_54_9997.jpg', '/mnt/data/07082025/00/56/image_07082025_00_56_44_9991.jpg', '/mnt/data/07082025/00/56/image_07082025_00_56_34_9956.jpg', '/mnt/data/07082025/00/56/image_07082025_00_56_24_9990.jpg', '/mnt/data/07082025/00/56/image_07082025_00_56_14_9996.jpg', '/mnt/data/07082025/00/55/image_07082025_00_56_04_10057.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/57/image_07082025_00_57_54_9997.jpg', '/mnt/data/07082025/00/56/image_07082025_00_56_44_9991.jpg', '/mnt/data/07082025/00/56/image_07082025_00_56_34_9956.jpg', '/mnt/data/07082025/00/56/image_07082025_00_56_24_9990.jpg', '/mnt/data/07082025/00/56/image_07082025_00_56_14_9996.jpg', '/mnt/data/07082025/00/55/image_07082025_00_56_04_10057.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/57/image_07082025_00_57_54_9997.jpg
/mnt/data/07082025/00/56/image_07082025_00_56_44_9991.jpg
/mnt/data/07082025/00/56/image_07082025_00_56_34_9956.jpg
/mnt/data/07082025/00/56/image_07082025_00_56_24_9990.jpg
/mnt/data/07082025/00/56/image_07082025_00_56_14_9996.jpg
/mnt/data/07082025/00/55/image_07082025_00_56_04_10057.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 134.6912989616394 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-07 14:16:02.524184
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/57/image_07082025_00_57_54_9997.jpg', 2), ('/mnt/data/07082025/00/56/image_07082025_00_56_44_9991.jpg', 2), ('/mnt/data/07082025/00/56/image_07082025_00_56_34_9956.jpg', 2), ('/mnt/data/07082025/00/56/image_07082025_00_56_24_9990.jpg', 2), ('/mnt/data/07082025/00/56/image_07082025_00_56_14_9996.jpg', 2), ('/mnt/data/07082025/00/55/image_07082025_00_56_04_10057.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/57/image_07082025_00_57_54_9997.jpg', '/mnt/data/07082025/00/56/image_07082025_00_56_44_9991.jpg', '/mnt/data/07082025/00/56/image_07082025_00_56_34_9956.jpg', '/mnt/data/07082025/00/56/image_07082025_00_56_24_9990.jpg', '/mnt/data/07082025/00/56/image_07082025_00_56_14_9996.jpg', '/mnt/data/07082025/00/55/image_07082025_00_56_04_10057.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/57/image_07082025_00_57_54_9997.jpg', '/mnt/data/07082025/00/56/image_07082025_00_56_44_9991.jpg', '/mnt/data/07082025/00/56/image_07082025_00_56_34_9956.jpg', '/mnt/data/07082025/00/56/image_07082025_00_56_24_9990.jpg', '/mnt/data/07082025/00/56/image_07082025_00_56_14_9996.jpg', '/mnt/data/07082025/00/55/image_07082025_00_56_04_10057.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/57/image_07082025_00_57_54_9997.jpg
/mnt/data/07082025/00/56/image_07082025_00_56_44_9991.jpg
/mnt/data/07082025/00/56/image_07082025_00_56_34_9956.jpg
/mnt/data/07082025/00/56/image_07082025_00_56_24_9990.jpg
/mnt/data/07082025/00/56/image_07082025_00_56_14_9996.jpg
/mnt/data/07082025/00/55/image_07082025_00_56_04_10057.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375669034","1375668887","1375668947","1375668932","1375668850","1375668921"],"photo_ids_order":["1375668850","1375668887","1375668921","1375668932","1375668947","1375669034"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/f938b22a79edad102f93167bd9db3edf.jpg","text":"TemporaryFile(/tmp/multipartBody7139954237672218135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569036892,"filename":"image_07082025_00_56_04_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/7/6c46c0be2c94f105ae47b032203f5c33.jpg","text":"TemporaryFile(/tmp/multipartBody1026075909415770914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569036892,"filename":"image_07082025_00_56_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/7/1336e8e829db63431d44eda8c8566234.jpg","text":"TemporaryFile(/tmp/multipartBody106029367368922505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569036892,"filename":"image_07082025_00_56_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/7/73ef331925feba104a646d61ecc3e5a6.jpg","text":"TemporaryFile(/tmp/multipartBody2003762261679110797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569036892,"filename":"image_07082025_00_56_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/7/bb6b0351305c56714b70dd7521babe32.jpg","text":"TemporaryFile(/tmp/multipartBody1078871347002386479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569036892,"filename":"image_07082025_00_57_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/7/2dafac315cd936eab4f0f6f616f6a151.jpg","text":"TemporaryFile(/tmp/multipartBody4494242739619284902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569036892,"filename":"image_07082025_00_56_34_9956.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375668921","file1":"1375668887","file0":"1375668850","file4":"1375668947","file5":"1375669034","file3":"1375668932"},"map_files_photo_id_array":[{"photo_id":"1375669034","filename":"file5"},{"photo_id":"1375668921","filename":"file2"},{"photo_id":"1375668947","filename":"file4"},{"photo_id":"1375668887","filename":"file1"},{"photo_id":"1375668850","filename":"file0"},{"photo_id":"1375668932","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375669034":["hashtag1","hashtag2"]},{"1375668887":["hashtag1","hashtag2"]},{"1375668947":["hashtag1","hashtag2"]},{"1375668932":["hashtag1","hashtag2"]},{"1375668850":["hashtag1","hashtag2"]},{"1375668921":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375669034, 1375668887, 1375668947, 1375668932, 1375668850, 1375668921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.94797492027283 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:17:03.433436
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/55/image_07082025_00_55_54_10095.jpg', 2), ('/mnt/data/07082025/00/55/image_07082025_00_55_44_10107.jpg', 2), ('/mnt/data/07082025/00/55/image_07082025_00_55_34_10126.jpg', 2), ('/mnt/data/07082025/00/55/image_07082025_00_55_24_8890.jpg', 2), ('/mnt/data/07082025/00/55/image_07082025_00_55_15_10139.jpg', 2), ('/mnt/data/07082025/00/54/image_07082025_00_55_05_9936.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/55/image_07082025_00_55_54_10095.jpg', '/mnt/data/07082025/00/55/image_07082025_00_55_44_10107.jpg', '/mnt/data/07082025/00/55/image_07082025_00_55_34_10126.jpg', '/mnt/data/07082025/00/55/image_07082025_00_55_24_8890.jpg', '/mnt/data/07082025/00/55/image_07082025_00_55_15_10139.jpg', '/mnt/data/07082025/00/54/image_07082025_00_55_05_9936.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/55/image_07082025_00_55_54_10095.jpg', '/mnt/data/07082025/00/55/image_07082025_00_55_44_10107.jpg', '/mnt/data/07082025/00/55/image_07082025_00_55_34_10126.jpg', '/mnt/data/07082025/00/55/image_07082025_00_55_24_8890.jpg', '/mnt/data/07082025/00/55/image_07082025_00_55_15_10139.jpg', '/mnt/data/07082025/00/54/image_07082025_00_55_05_9936.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/55/image_07082025_00_55_54_10095.jpg
/mnt/data/07082025/00/55/image_07082025_00_55_44_10107.jpg
/mnt/data/07082025/00/55/image_07082025_00_55_34_10126.jpg
/mnt/data/07082025/00/55/image_07082025_00_55_24_8890.jpg
/mnt/data/07082025/00/55/image_07082025_00_55_15_10139.jpg
/mnt/data/07082025/00/54/image_07082025_00_55_05_9936.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":["1375669307","1375669300","1375669303","1375669296","1375669344","1375669271"],"photo_ids_order":["1375669271","1375669296","1375669300","1375669303","1375669307","1375669344"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/261ebc0ec8a5c8be35511d472c74df23.jpg","text":"TemporaryFile(/tmp/multipartBody1849351003098066880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569105764,"filename":"image_07082025_00_55_15_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/7/dd3ed65d054ba1a3e523ad12070e4d36.jpg","text":"TemporaryFile(/tmp/multipartBody41240688669962630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569105764,"filename":"image_07082025_00_55_34_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/7/b25724971fe6bc9e54e4e5564c45d432.jpg","text":"TemporaryFile(/tmp/multipartBody826943124400207884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569105764,"filename":"image_07082025_00_55_24_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/7/092daf1fd805af984baa930e2a1a4057.jpg","text":"TemporaryFile(/tmp/multipartBody248741251602817775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569105764,"filename":"image_07082025_00_55_44_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/7/7e4b34c885380b4ad7145424cfed6a70.jpg","text":"TemporaryFile(/tmp/multipartBody1508556542069819304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569105764,"filename":"image_07082025_00_55_05_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/7/74ee30bd1e2340d296c77e163ab4bc0e.jpg","text":"TemporaryFile(/tmp/multipartBody3110399878321167762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569105764,"filename":"image_07082025_00_55_54_10095.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375669300","file1":"1375669296","file0":"1375669271","file4":"1375669307","file5":"1375669344","file3":"1375669303"},"map_files_photo_id_array":[{"photo_id":"1375669344","filename":"file5"},{"photo_id":"1375669300","filename":"file2"},{"photo_id":"1375669307","filename":"file4"},{"photo_id":"1375669296","filename":"file1"},{"photo_id":"1375669271","filename":"file0"},{"photo_id":"1375669303","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375669307":["hashtag1","hashtag2"]},{"1375669300":["hashtag1","hashtag2"]},{"1375669303":["hashtag1","hashtag2"]},{"1375669296":["hashtag1","hashtag2"]},{"1375669344":["hashtag1","hashtag2"]},{"1375669271":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375669307, 1375669300, 1375669303, 1375669296, 1375669344, 1375669271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.76027727127075 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:19:02.764115
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/54/image_07082025_00_54_55_10115.jpg', 2), ('/mnt/data/07082025/00/54/image_07082025_00_54_45_10168.jpg', 2), ('/mnt/data/07082025/00/54/image_07082025_00_54_35_10114.jpg', 2), ('/mnt/data/07082025/00/54/image_07082025_00_54_24_10136.jpg', 2), ('/mnt/data/07082025/00/54/image_07082025_00_54_14_10127.jpg', 2), ('/mnt/data/07082025/00/53/image_07082025_00_54_04_10296.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/54/image_07082025_00_54_55_10115.jpg', '/mnt/data/07082025/00/54/image_07082025_00_54_45_10168.jpg', '/mnt/data/07082025/00/54/image_07082025_00_54_35_10114.jpg', '/mnt/data/07082025/00/54/image_07082025_00_54_24_10136.jpg', '/mnt/data/07082025/00/54/image_07082025_00_54_14_10127.jpg', '/mnt/data/07082025/00/53/image_07082025_00_54_04_10296.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/54/image_07082025_00_54_55_10115.jpg', '/mnt/data/07082025/00/54/image_07082025_00_54_45_10168.jpg', '/mnt/data/07082025/00/54/image_07082025_00_54_35_10114.jpg', '/mnt/data/07082025/00/54/image_07082025_00_54_24_10136.jpg', '/mnt/data/07082025/00/54/image_07082025_00_54_14_10127.jpg', '/mnt/data/07082025/00/53/image_07082025_00_54_04_10296.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/54/image_07082025_00_54_55_10115.jpg
/mnt/data/07082025/00/54/image_07082025_00_54_45_10168.jpg
/mnt/data/07082025/00/54/image_07082025_00_54_35_10114.jpg
/mnt/data/07082025/00/54/image_07082025_00_54_24_10136.jpg
/mnt/data/07082025/00/54/image_07082025_00_54_14_10127.jpg
/mnt/data/07082025/00/53/image_07082025_00_54_04_10296.jpg
uploaded 0 photos
time to upload: 30.286991357803345 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:20:02.533423
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/54/image_07082025_00_54_55_10115.jpg', 2), ('/mnt/data/07082025/00/54/image_07082025_00_54_45_10168.jpg', 2), ('/mnt/data/07082025/00/54/image_07082025_00_54_35_10114.jpg', 2), ('/mnt/data/07082025/00/54/image_07082025_00_54_24_10136.jpg', 2), ('/mnt/data/07082025/00/54/image_07082025_00_54_14_10127.jpg', 2), ('/mnt/data/07082025/00/53/image_07082025_00_54_04_10296.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/54/image_07082025_00_54_55_10115.jpg', '/mnt/data/07082025/00/54/image_07082025_00_54_45_10168.jpg', '/mnt/data/07082025/00/54/image_07082025_00_54_35_10114.jpg', '/mnt/data/07082025/00/54/image_07082025_00_54_24_10136.jpg', '/mnt/data/07082025/00/54/image_07082025_00_54_14_10127.jpg', '/mnt/data/07082025/00/53/image_07082025_00_54_04_10296.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/54/image_07082025_00_54_55_10115.jpg', '/mnt/data/07082025/00/54/image_07082025_00_54_45_10168.jpg', '/mnt/data/07082025/00/54/image_07082025_00_54_35_10114.jpg', '/mnt/data/07082025/00/54/image_07082025_00_54_24_10136.jpg', '/mnt/data/07082025/00/54/image_07082025_00_54_14_10127.jpg', '/mnt/data/07082025/00/53/image_07082025_00_54_04_10296.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/54/image_07082025_00_54_55_10115.jpg
/mnt/data/07082025/00/54/image_07082025_00_54_45_10168.jpg
/mnt/data/07082025/00/54/image_07082025_00_54_35_10114.jpg
/mnt/data/07082025/00/54/image_07082025_00_54_24_10136.jpg
/mnt/data/07082025/00/54/image_07082025_00_54_14_10127.jpg
/mnt/data/07082025/00/53/image_07082025_00_54_04_10296.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375669610","1375669593","1375669602","1375669605","1375669598","1375669613"],"photo_ids_order":["1375669593","1375669598","1375669602","1375669605","1375669610","1375669613"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d2ed8e9abba3dbab23df17efd812fdea.jpg","text":"TemporaryFile(/tmp/multipartBody814891186555062827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569283190,"filename":"image_07082025_00_54_14_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/7/dfa3636d87407049c56dbda2053dd913.jpg","text":"TemporaryFile(/tmp/multipartBody6827177247063933244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569283190,"filename":"image_07082025_00_54_55_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/7/db58fbb868c0d2812e195a81450c1f5d.jpg","text":"TemporaryFile(/tmp/multipartBody4675036464774236297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569283190,"filename":"image_07082025_00_54_35_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/7/6b3d850afa5b204763f5426abc6c9f5e.jpg","text":"TemporaryFile(/tmp/multipartBody4254593941636111555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569283190,"filename":"image_07082025_00_54_24_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/7/95df28323de973f6f2932ec0f074fe62.jpg","text":"TemporaryFile(/tmp/multipartBody4476591760301171088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569283190,"filename":"image_07082025_00_54_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/7/3e49eb8c74ba6b68dc57c14ebf8b5a60.jpg","text":"TemporaryFile(/tmp/multipartBody5788988627939278641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569283190,"filename":"image_07082025_00_54_04_10296.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375669602","file1":"1375669598","file0":"1375669593","file4":"1375669610","file5":"1375669613","file3":"1375669605"},"map_files_photo_id_array":[{"photo_id":"1375669613","filename":"file5"},{"photo_id":"1375669602","filename":"file2"},{"photo_id":"1375669610","filename":"file4"},{"photo_id":"1375669598","filename":"file1"},{"photo_id":"1375669593","filename":"file0"},{"photo_id":"1375669605","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375669610":["hashtag1","hashtag2"]},{"1375669593":["hashtag1","hashtag2"]},{"1375669602":["hashtag1","hashtag2"]},{"1375669605":["hashtag1","hashtag2"]},{"1375669598":["hashtag1","hashtag2"]},{"1375669613":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375669610, 1375669593, 1375669602, 1375669605, 1375669598, 1375669613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.206613302230835 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:21:03.602978
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/53/image_07082025_00_53_54_10039.jpg', 2), ('/mnt/data/07082025/00/53/image_07082025_00_53_44_9980.jpg', 2), ('/mnt/data/07082025/00/53/image_07082025_00_53_34_9990.jpg', 2), ('/mnt/data/07082025/00/53/image_07082025_00_53_24_10027.jpg', 2), ('/mnt/data/07082025/00/53/image_07082025_00_53_14_10072.jpg', 2), ('/mnt/data/07082025/00/52/image_07082025_00_53_04_9027.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/53/image_07082025_00_53_54_10039.jpg', '/mnt/data/07082025/00/53/image_07082025_00_53_44_9980.jpg', '/mnt/data/07082025/00/53/image_07082025_00_53_34_9990.jpg', '/mnt/data/07082025/00/53/image_07082025_00_53_24_10027.jpg', '/mnt/data/07082025/00/53/image_07082025_00_53_14_10072.jpg', '/mnt/data/07082025/00/52/image_07082025_00_53_04_9027.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/53/image_07082025_00_53_54_10039.jpg', '/mnt/data/07082025/00/53/image_07082025_00_53_44_9980.jpg', '/mnt/data/07082025/00/53/image_07082025_00_53_34_9990.jpg', '/mnt/data/07082025/00/53/image_07082025_00_53_24_10027.jpg', '/mnt/data/07082025/00/53/image_07082025_00_53_14_10072.jpg', '/mnt/data/07082025/00/52/image_07082025_00_53_04_9027.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/53/image_07082025_00_53_54_10039.jpg
/mnt/data/07082025/00/53/image_07082025_00_53_44_9980.jpg
/mnt/data/07082025/00/53/image_07082025_00_53_34_9990.jpg
/mnt/data/07082025/00/53/image_07082025_00_53_24_10027.jpg
/mnt/data/07082025/00/53/image_07082025_00_53_14_10072.jpg
/mnt/data/07082025/00/52/image_07082025_00_53_04_9027.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375669622","1375669636","1375669671","1375669668","1375669640","1375669628"],"photo_ids_order":["1375669622","1375669628","1375669636","1375669640","1375669668","1375669671"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/608eae678f5beb1500e0e1a2ad419464.jpg","text":"TemporaryFile(/tmp/multipartBody4874145045382906723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569334266,"filename":"image_07082025_00_53_54_10039.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/85fcf39a049ed856a429fa3beb2faeee.jpg","text":"TemporaryFile(/tmp/multipartBody807469283904502666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569334266,"filename":"image_07082025_00_53_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/7/ac88e76cbc0a06464d68930dfb12e583.jpg","text":"TemporaryFile(/tmp/multipartBody8552414002190400242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569334266,"filename":"image_07082025_00_53_04_9027.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d4792c7950d46289a7529ee192517e15.jpg","text":"TemporaryFile(/tmp/multipartBody2147541868190258639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569334266,"filename":"image_07082025_00_53_14_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/7/88b8a92f5573aae8bf8400544cf0122a.jpg","text":"TemporaryFile(/tmp/multipartBody395811326619726122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569334266,"filename":"image_07082025_00_53_24_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/7/aa84399fee8875a35d4b32ff457add0c.jpg","text":"TemporaryFile(/tmp/multipartBody2179802550375085013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569334266,"filename":"image_07082025_00_53_44_9980.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375669636","file1":"1375669628","file0":"1375669622","file4":"1375669668","file5":"1375669671","file3":"1375669640"},"map_files_photo_id_array":[{"photo_id":"1375669671","filename":"file5"},{"photo_id":"1375669636","filename":"file2"},{"photo_id":"1375669668","filename":"file4"},{"photo_id":"1375669628","filename":"file1"},{"photo_id":"1375669622","filename":"file0"},{"photo_id":"1375669640","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375669622":["hashtag1","hashtag2"]},{"1375669636":["hashtag1","hashtag2"]},{"1375669671":["hashtag1","hashtag2"]},{"1375669668":["hashtag1","hashtag2"]},{"1375669640":["hashtag1","hashtag2"]},{"1375669628":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375669622, 1375669636, 1375669671, 1375669668, 1375669640, 1375669628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.427079916000366 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:22:03.119829
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/52/image_07082025_00_52_55_9995.jpg', 2), ('/mnt/data/07082025/00/52/image_07082025_00_52_45_9930.jpg', 2), ('/mnt/data/07082025/00/52/image_07082025_00_52_35_10002.jpg', 2), ('/mnt/data/07082025/00/52/image_07082025_00_52_25_9984.jpg', 2), ('/mnt/data/07082025/00/52/image_07082025_00_52_15_9971.jpg', 2), ('/mnt/data/07082025/00/51/image_07082025_00_52_05_10133.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/52/image_07082025_00_52_55_9995.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_45_9930.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_35_10002.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_25_9984.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_15_9971.jpg', '/mnt/data/07082025/00/51/image_07082025_00_52_05_10133.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/52/image_07082025_00_52_55_9995.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_45_9930.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_35_10002.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_25_9984.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_15_9971.jpg', '/mnt/data/07082025/00/51/image_07082025_00_52_05_10133.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/52/image_07082025_00_52_55_9995.jpg
/mnt/data/07082025/00/52/image_07082025_00_52_45_9930.jpg
/mnt/data/07082025/00/52/image_07082025_00_52_35_10002.jpg
/mnt/data/07082025/00/52/image_07082025_00_52_25_9984.jpg
/mnt/data/07082025/00/52/image_07082025_00_52_15_9971.jpg
/mnt/data/07082025/00/51/image_07082025_00_52_05_10133.jpg
uploaded 0 photos
time to upload: 30.431862592697144 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:23:02.820305
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/52/image_07082025_00_52_55_9995.jpg', 2), ('/mnt/data/07082025/00/52/image_07082025_00_52_45_9930.jpg', 2), ('/mnt/data/07082025/00/52/image_07082025_00_52_35_10002.jpg', 2), ('/mnt/data/07082025/00/52/image_07082025_00_52_25_9984.jpg', 2), ('/mnt/data/07082025/00/52/image_07082025_00_52_15_9971.jpg', 2), ('/mnt/data/07082025/00/51/image_07082025_00_52_05_10133.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/52/image_07082025_00_52_55_9995.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_45_9930.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_35_10002.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_25_9984.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_15_9971.jpg', '/mnt/data/07082025/00/51/image_07082025_00_52_05_10133.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/52/image_07082025_00_52_55_9995.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_45_9930.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_35_10002.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_25_9984.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_15_9971.jpg', '/mnt/data/07082025/00/51/image_07082025_00_52_05_10133.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/52/image_07082025_00_52_55_9995.jpg
/mnt/data/07082025/00/52/image_07082025_00_52_45_9930.jpg
/mnt/data/07082025/00/52/image_07082025_00_52_35_10002.jpg
/mnt/data/07082025/00/52/image_07082025_00_52_25_9984.jpg
/mnt/data/07082025/00/52/image_07082025_00_52_15_9971.jpg
/mnt/data/07082025/00/51/image_07082025_00_52_05_10133.jpg
uploaded 0 photos
time to upload: 30.221126317977905 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:24:02.625233
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/52/image_07082025_00_52_55_9995.jpg', 2), ('/mnt/data/07082025/00/52/image_07082025_00_52_45_9930.jpg', 2), ('/mnt/data/07082025/00/52/image_07082025_00_52_35_10002.jpg', 2), ('/mnt/data/07082025/00/52/image_07082025_00_52_25_9984.jpg', 2), ('/mnt/data/07082025/00/52/image_07082025_00_52_15_9971.jpg', 2), ('/mnt/data/07082025/00/51/image_07082025_00_52_05_10133.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/52/image_07082025_00_52_55_9995.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_45_9930.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_35_10002.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_25_9984.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_15_9971.jpg', '/mnt/data/07082025/00/51/image_07082025_00_52_05_10133.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/52/image_07082025_00_52_55_9995.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_45_9930.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_35_10002.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_25_9984.jpg', '/mnt/data/07082025/00/52/image_07082025_00_52_15_9971.jpg', '/mnt/data/07082025/00/51/image_07082025_00_52_05_10133.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/52/image_07082025_00_52_55_9995.jpg
/mnt/data/07082025/00/52/image_07082025_00_52_45_9930.jpg
/mnt/data/07082025/00/52/image_07082025_00_52_35_10002.jpg
/mnt/data/07082025/00/52/image_07082025_00_52_25_9984.jpg
/mnt/data/07082025/00/52/image_07082025_00_52_15_9971.jpg
/mnt/data/07082025/00/51/image_07082025_00_52_05_10133.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375670804","1375670797","1375670801","1375670781","1375670792","1375670786"],"photo_ids_order":["1375670781","1375670786","1375670792","1375670797","1375670801","1375670804"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/51e7014e66af0147b1c5af2b7bf35cd3.jpg","text":"TemporaryFile(/tmp/multipartBody1176233484211395778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569514467,"filename":"image_07082025_00_52_05_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/7/9377cac57096b876371f5af50fdb408c.jpg","text":"TemporaryFile(/tmp/multipartBody8665619560278398645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569514467,"filename":"image_07082025_00_52_25_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/7/ca9f2828fbff5bf91d4c3102e9052b09.jpg","text":"TemporaryFile(/tmp/multipartBody5397400411367837197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569514467,"filename":"image_07082025_00_52_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/7/88a29b0afb28f9b4ce266734f41d5df3.jpg","text":"TemporaryFile(/tmp/multipartBody1488002301436050954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569514467,"filename":"image_07082025_00_52_55_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/7/8978cc3c9db6d56dacf773172d680095.jpg","text":"TemporaryFile(/tmp/multipartBody7756633644989872993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569514467,"filename":"image_07082025_00_52_35_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/7/909238711b245eb4ecd80c6cd43a993f.jpg","text":"TemporaryFile(/tmp/multipartBody3299756584036576532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569514467,"filename":"image_07082025_00_52_45_9930.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375670792","file1":"1375670786","file0":"1375670781","file4":"1375670801","file5":"1375670804","file3":"1375670797"},"map_files_photo_id_array":[{"photo_id":"1375670804","filename":"file5"},{"photo_id":"1375670792","filename":"file2"},{"photo_id":"1375670801","filename":"file4"},{"photo_id":"1375670786","filename":"file1"},{"photo_id":"1375670781","filename":"file0"},{"photo_id":"1375670797","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375670804":["hashtag1","hashtag2"]},{"1375670797":["hashtag1","hashtag2"]},{"1375670801":["hashtag1","hashtag2"]},{"1375670781":["hashtag1","hashtag2"]},{"1375670792":["hashtag1","hashtag2"]},{"1375670786":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375670804, 1375670797, 1375670801, 1375670781, 1375670792, 1375670786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.89723229408264 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:25:02.666403
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/51/image_07082025_00_51_55_9959.jpg', 2), ('/mnt/data/07082025/00/50/image_07082025_00_50_45_10038.jpg', 2), ('/mnt/data/07082025/00/50/image_07082025_00_50_35_10087.jpg', 2), ('/mnt/data/07082025/00/50/image_07082025_00_50_25_10079.jpg', 2), ('/mnt/data/07082025/00/50/image_07082025_00_50_14_9995.jpg', 2), ('/mnt/data/07082025/00/49/image_07082025_00_50_04_10314.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/51/image_07082025_00_51_55_9959.jpg', '/mnt/data/07082025/00/50/image_07082025_00_50_45_10038.jpg', '/mnt/data/07082025/00/50/image_07082025_00_50_35_10087.jpg', '/mnt/data/07082025/00/50/image_07082025_00_50_25_10079.jpg', '/mnt/data/07082025/00/50/image_07082025_00_50_14_9995.jpg', '/mnt/data/07082025/00/49/image_07082025_00_50_04_10314.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/51/image_07082025_00_51_55_9959.jpg', '/mnt/data/07082025/00/50/image_07082025_00_50_45_10038.jpg', '/mnt/data/07082025/00/50/image_07082025_00_50_35_10087.jpg', '/mnt/data/07082025/00/50/image_07082025_00_50_25_10079.jpg', '/mnt/data/07082025/00/50/image_07082025_00_50_14_9995.jpg', '/mnt/data/07082025/00/49/image_07082025_00_50_04_10314.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/51/image_07082025_00_51_55_9959.jpg
/mnt/data/07082025/00/50/image_07082025_00_50_45_10038.jpg
/mnt/data/07082025/00/50/image_07082025_00_50_35_10087.jpg
/mnt/data/07082025/00/50/image_07082025_00_50_25_10079.jpg
/mnt/data/07082025/00/50/image_07082025_00_50_14_9995.jpg
/mnt/data/07082025/00/49/image_07082025_00_50_04_10314.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375671023","1375670918","1375671067","1375671114","1375670990","1375670951"],"photo_ids_order":["1375670918","1375670951","1375670990","1375671023","1375671067","1375671114"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/6c5c0d09b563b22bc9f9ac12f00146c9.jpg","text":"TemporaryFile(/tmp/multipartBody8458799083636205559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569573565,"filename":"image_07082025_00_50_25_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/7/2e3bd40c12ed1ada1e42dcac32180beb.jpg","text":"TemporaryFile(/tmp/multipartBody7513492466647568795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569573565,"filename":"image_07082025_00_51_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/7/bc079e971117cbd35ea9a6611a4760ab.jpg","text":"TemporaryFile(/tmp/multipartBody438073077850237480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569573565,"filename":"image_07082025_00_50_14_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/7/60923fe2ae82c9d536939a21063faf78.jpg","text":"TemporaryFile(/tmp/multipartBody2817784280258772746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569573565,"filename":"image_07082025_00_50_04_10314.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/abcb3e480592a34d70df0ab606e62890.jpg","text":"TemporaryFile(/tmp/multipartBody7738422836969443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569573565,"filename":"image_07082025_00_50_35_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/7/bbd5c8d3ed93a41d440ef6d87d60887f.jpg","text":"TemporaryFile(/tmp/multipartBody8684893369810277408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569573565,"filename":"image_07082025_00_50_45_10038.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375670990","file1":"1375670951","file0":"1375670918","file4":"1375671067","file5":"1375671114","file3":"1375671023"},"map_files_photo_id_array":[{"photo_id":"1375671114","filename":"file5"},{"photo_id":"1375670990","filename":"file2"},{"photo_id":"1375671067","filename":"file4"},{"photo_id":"1375670951","filename":"file1"},{"photo_id":"1375670918","filename":"file0"},{"photo_id":"1375671023","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375671023":["hashtag1","hashtag2"]},{"1375670918":["hashtag1","hashtag2"]},{"1375671067":["hashtag1","hashtag2"]},{"1375671114":["hashtag1","hashtag2"]},{"1375670990":["hashtag1","hashtag2"]},{"1375670951":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375671023, 1375670918, 1375671067, 1375671114, 1375670990, 1375670951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.85269594192505 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:26:03.032624
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/49/image_07082025_00_49_54_10007.jpg', 2), ('/mnt/data/07082025/00/49/image_07082025_00_49_44_10043.jpg', 2), ('/mnt/data/07082025/00/49/image_07082025_00_49_34_10073.jpg', 2), ('/mnt/data/07082025/00/49/image_07082025_00_49_14_10123.jpg', 2), ('/mnt/data/07082025/00/48/image_07082025_00_49_04_9048.jpg', 2), ('/mnt/data/07082025/00/48/image_07082025_00_48_55_10032.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/49/image_07082025_00_49_54_10007.jpg', '/mnt/data/07082025/00/49/image_07082025_00_49_44_10043.jpg', '/mnt/data/07082025/00/49/image_07082025_00_49_34_10073.jpg', '/mnt/data/07082025/00/49/image_07082025_00_49_14_10123.jpg', '/mnt/data/07082025/00/48/image_07082025_00_49_04_9048.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_55_10032.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/49/image_07082025_00_49_54_10007.jpg', '/mnt/data/07082025/00/49/image_07082025_00_49_44_10043.jpg', '/mnt/data/07082025/00/49/image_07082025_00_49_34_10073.jpg', '/mnt/data/07082025/00/49/image_07082025_00_49_14_10123.jpg', '/mnt/data/07082025/00/48/image_07082025_00_49_04_9048.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_55_10032.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/49/image_07082025_00_49_54_10007.jpg
/mnt/data/07082025/00/49/image_07082025_00_49_44_10043.jpg
/mnt/data/07082025/00/49/image_07082025_00_49_34_10073.jpg
/mnt/data/07082025/00/49/image_07082025_00_49_14_10123.jpg
/mnt/data/07082025/00/48/image_07082025_00_49_04_9048.jpg
/mnt/data/07082025/00/48/image_07082025_00_48_55_10032.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375671586","1375671502","1375671438","1375671593","1375671482","1375671563"],"photo_ids_order":["1375671438","1375671482","1375671502","1375671563","1375671586","1375671593"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/1c80600b9cfc7817216ae40596eff993.jpg","text":"TemporaryFile(/tmp/multipartBody1817629888165889825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569640894,"filename":"image_07082025_00_49_04_9048.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/cb0e38cf575977d72cc745cebb605d61.jpg","text":"TemporaryFile(/tmp/multipartBody3882247586818250301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569640894,"filename":"image_07082025_00_49_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/7/0456fab3afb1c0909cb89e9451aee07c.jpg","text":"TemporaryFile(/tmp/multipartBody4041951757189278416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569640894,"filename":"image_07082025_00_49_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/7/0b6a03aebeedca91686a3bc3f4410828.jpg","text":"TemporaryFile(/tmp/multipartBody7274331493584137966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569640894,"filename":"image_07082025_00_48_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/7/e0d94eb07ac69b7da649330a8abbeccf.jpg","text":"TemporaryFile(/tmp/multipartBody3998165704512089335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569640894,"filename":"image_07082025_00_49_44_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/7/f1f73fda8220a72b3ed6ba6161a8c73a.jpg","text":"TemporaryFile(/tmp/multipartBody2729637105430060231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569640894,"filename":"image_07082025_00_49_14_10123.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375671502","file1":"1375671482","file0":"1375671438","file4":"1375671586","file5":"1375671593","file3":"1375671563"},"map_files_photo_id_array":[{"photo_id":"1375671593","filename":"file5"},{"photo_id":"1375671502","filename":"file2"},{"photo_id":"1375671586","filename":"file4"},{"photo_id":"1375671482","filename":"file1"},{"photo_id":"1375671438","filename":"file0"},{"photo_id":"1375671563","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375671586":["hashtag1","hashtag2"]},{"1375671502":["hashtag1","hashtag2"]},{"1375671438":["hashtag1","hashtag2"]},{"1375671593":["hashtag1","hashtag2"]},{"1375671482":["hashtag1","hashtag2"]},{"1375671563":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375671586, 1375671502, 1375671438, 1375671593, 1375671482, 1375671563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.45250606536865 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:27:03.392059
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/48/image_07082025_00_48_45_10073.jpg', 2), ('/mnt/data/07082025/00/48/image_07082025_00_48_35_10000.jpg', 2), ('/mnt/data/07082025/00/48/image_07082025_00_48_25_9981.jpg', 2), ('/mnt/data/07082025/00/48/image_07082025_00_48_15_10008.jpg', 2), ('/mnt/data/07082025/00/47/image_07082025_00_48_05_10252.jpg', 2), ('/mnt/data/07082025/00/47/image_07082025_00_47_54_9970.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/48/image_07082025_00_48_45_10073.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_35_10000.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_25_9981.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_15_10008.jpg', '/mnt/data/07082025/00/47/image_07082025_00_48_05_10252.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_54_9970.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/48/image_07082025_00_48_45_10073.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_35_10000.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_25_9981.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_15_10008.jpg', '/mnt/data/07082025/00/47/image_07082025_00_48_05_10252.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_54_9970.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/48/image_07082025_00_48_45_10073.jpg
/mnt/data/07082025/00/48/image_07082025_00_48_35_10000.jpg
/mnt/data/07082025/00/48/image_07082025_00_48_25_9981.jpg
/mnt/data/07082025/00/48/image_07082025_00_48_15_10008.jpg
/mnt/data/07082025/00/47/image_07082025_00_48_05_10252.jpg
/mnt/data/07082025/00/47/image_07082025_00_47_54_9970.jpg
uploaded 0 photos
time to upload: 30.208837032318115 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:28:02.653959
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/48/image_07082025_00_48_45_10073.jpg', 2), ('/mnt/data/07082025/00/48/image_07082025_00_48_35_10000.jpg', 2), ('/mnt/data/07082025/00/48/image_07082025_00_48_25_9981.jpg', 2), ('/mnt/data/07082025/00/48/image_07082025_00_48_15_10008.jpg', 2), ('/mnt/data/07082025/00/47/image_07082025_00_48_05_10252.jpg', 2), ('/mnt/data/07082025/00/47/image_07082025_00_47_54_9970.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/48/image_07082025_00_48_45_10073.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_35_10000.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_25_9981.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_15_10008.jpg', '/mnt/data/07082025/00/47/image_07082025_00_48_05_10252.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_54_9970.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/48/image_07082025_00_48_45_10073.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_35_10000.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_25_9981.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_15_10008.jpg', '/mnt/data/07082025/00/47/image_07082025_00_48_05_10252.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_54_9970.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/48/image_07082025_00_48_45_10073.jpg
/mnt/data/07082025/00/48/image_07082025_00_48_35_10000.jpg
/mnt/data/07082025/00/48/image_07082025_00_48_25_9981.jpg
/mnt/data/07082025/00/48/image_07082025_00_48_15_10008.jpg
/mnt/data/07082025/00/47/image_07082025_00_48_05_10252.jpg
/mnt/data/07082025/00/47/image_07082025_00_47_54_9970.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 124.7197949886322 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-07 14:31:02.962972
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/48/image_07082025_00_48_45_10073.jpg', 2), ('/mnt/data/07082025/00/48/image_07082025_00_48_35_10000.jpg', 2), ('/mnt/data/07082025/00/48/image_07082025_00_48_25_9981.jpg', 2), ('/mnt/data/07082025/00/48/image_07082025_00_48_15_10008.jpg', 2), ('/mnt/data/07082025/00/47/image_07082025_00_48_05_10252.jpg', 2), ('/mnt/data/07082025/00/47/image_07082025_00_47_54_9970.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/48/image_07082025_00_48_45_10073.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_35_10000.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_25_9981.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_15_10008.jpg', '/mnt/data/07082025/00/47/image_07082025_00_48_05_10252.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_54_9970.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/48/image_07082025_00_48_45_10073.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_35_10000.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_25_9981.jpg', '/mnt/data/07082025/00/48/image_07082025_00_48_15_10008.jpg', '/mnt/data/07082025/00/47/image_07082025_00_48_05_10252.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_54_9970.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/48/image_07082025_00_48_45_10073.jpg
/mnt/data/07082025/00/48/image_07082025_00_48_35_10000.jpg
/mnt/data/07082025/00/48/image_07082025_00_48_25_9981.jpg
/mnt/data/07082025/00/48/image_07082025_00_48_15_10008.jpg
/mnt/data/07082025/00/47/image_07082025_00_48_05_10252.jpg
/mnt/data/07082025/00/47/image_07082025_00_47_54_9970.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375672120","1375672105","1375672108","1375672122","1375672116","1375672112"],"photo_ids_order":["1375672105","1375672108","1375672112","1375672116","1375672120","1375672122"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/004a54b53b02ff0f0cbbf1d347973b49.jpg","text":"TemporaryFile(/tmp/multipartBody4416920197730411512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569935270,"filename":"image_07082025_00_48_05_10252.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/ce1be96b8870082779dc9f9870116a15.jpg","text":"TemporaryFile(/tmp/multipartBody1542914417186355566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569935270,"filename":"image_07082025_00_48_45_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/7/626f18dc661a564756e0ad210a384ab2.jpg","text":"TemporaryFile(/tmp/multipartBody6768402379271124500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569935270,"filename":"image_07082025_00_48_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/7/6eb15ccefc3847a63d060c4d3650a5e4.jpg","text":"TemporaryFile(/tmp/multipartBody3225702605071736941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569935270,"filename":"image_07082025_00_47_54_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/7/a338883e23cfac55868225102014ee7b.jpg","text":"TemporaryFile(/tmp/multipartBody79795281780300857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569935270,"filename":"image_07082025_00_48_15_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/7/7d05b562ecf6ea161361c8b054f1561d.jpg","text":"TemporaryFile(/tmp/multipartBody6082946614269598943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754569935270,"filename":"image_07082025_00_48_25_9981.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375672112","file1":"1375672108","file0":"1375672105","file4":"1375672120","file5":"1375672122","file3":"1375672116"},"map_files_photo_id_array":[{"photo_id":"1375672122","filename":"file5"},{"photo_id":"1375672112","filename":"file2"},{"photo_id":"1375672120","filename":"file4"},{"photo_id":"1375672108","filename":"file1"},{"photo_id":"1375672105","filename":"file0"},{"photo_id":"1375672116","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375672120":["hashtag1","hashtag2"]},{"1375672105":["hashtag1","hashtag2"]},{"1375672108":["hashtag1","hashtag2"]},{"1375672122":["hashtag1","hashtag2"]},{"1375672116":["hashtag1","hashtag2"]},{"1375672112":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375672120, 1375672105, 1375672108, 1375672122, 1375672116, 1375672112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.278419733047485 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:32:02.605827
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/47/image_07082025_00_47_44_9954.jpg', 2), ('/mnt/data/07082025/00/47/image_07082025_00_47_34_9976.jpg', 2), ('/mnt/data/07082025/00/47/image_07082025_00_47_24_9997.jpg', 2), ('/mnt/data/07082025/00/47/image_07082025_00_47_14_9966.jpg', 2), ('/mnt/data/07082025/00/46/image_07082025_00_47_04_9970.jpg', 2), ('/mnt/data/07082025/00/46/image_07082025_00_46_55_9985.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/47/image_07082025_00_47_44_9954.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_34_9976.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_24_9997.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_14_9966.jpg', '/mnt/data/07082025/00/46/image_07082025_00_47_04_9970.jpg', '/mnt/data/07082025/00/46/image_07082025_00_46_55_9985.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/47/image_07082025_00_47_44_9954.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_34_9976.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_24_9997.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_14_9966.jpg', '/mnt/data/07082025/00/46/image_07082025_00_47_04_9970.jpg', '/mnt/data/07082025/00/46/image_07082025_00_46_55_9985.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/47/image_07082025_00_47_44_9954.jpg
/mnt/data/07082025/00/47/image_07082025_00_47_34_9976.jpg
/mnt/data/07082025/00/47/image_07082025_00_47_24_9997.jpg
/mnt/data/07082025/00/47/image_07082025_00_47_14_9966.jpg
/mnt/data/07082025/00/46/image_07082025_00_47_04_9970.jpg
/mnt/data/07082025/00/46/image_07082025_00_46_55_9985.jpg
uploaded 0 photos
time to upload: 30.45772099494934 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:33:03.451472
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/47/image_07082025_00_47_44_9954.jpg', 2), ('/mnt/data/07082025/00/47/image_07082025_00_47_34_9976.jpg', 2), ('/mnt/data/07082025/00/47/image_07082025_00_47_24_9997.jpg', 2), ('/mnt/data/07082025/00/47/image_07082025_00_47_14_9966.jpg', 2), ('/mnt/data/07082025/00/46/image_07082025_00_47_04_9970.jpg', 2), ('/mnt/data/07082025/00/46/image_07082025_00_46_55_9985.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/47/image_07082025_00_47_44_9954.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_34_9976.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_24_9997.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_14_9966.jpg', '/mnt/data/07082025/00/46/image_07082025_00_47_04_9970.jpg', '/mnt/data/07082025/00/46/image_07082025_00_46_55_9985.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/47/image_07082025_00_47_44_9954.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_34_9976.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_24_9997.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_14_9966.jpg', '/mnt/data/07082025/00/46/image_07082025_00_47_04_9970.jpg', '/mnt/data/07082025/00/46/image_07082025_00_46_55_9985.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/47/image_07082025_00_47_44_9954.jpg
/mnt/data/07082025/00/47/image_07082025_00_47_34_9976.jpg
/mnt/data/07082025/00/47/image_07082025_00_47_24_9997.jpg
/mnt/data/07082025/00/47/image_07082025_00_47_14_9966.jpg
/mnt/data/07082025/00/46/image_07082025_00_47_04_9970.jpg
/mnt/data/07082025/00/46/image_07082025_00_46_55_9985.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 131.49845433235168 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-07 14:36:03.279628
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/47/image_07082025_00_47_44_9954.jpg', 2), ('/mnt/data/07082025/00/47/image_07082025_00_47_34_9976.jpg', 2), ('/mnt/data/07082025/00/47/image_07082025_00_47_24_9997.jpg', 2), ('/mnt/data/07082025/00/47/image_07082025_00_47_14_9966.jpg', 2), ('/mnt/data/07082025/00/46/image_07082025_00_47_04_9970.jpg', 2), ('/mnt/data/07082025/00/46/image_07082025_00_46_55_9985.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/47/image_07082025_00_47_44_9954.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_34_9976.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_24_9997.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_14_9966.jpg', '/mnt/data/07082025/00/46/image_07082025_00_47_04_9970.jpg', '/mnt/data/07082025/00/46/image_07082025_00_46_55_9985.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/47/image_07082025_00_47_44_9954.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_34_9976.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_24_9997.jpg', '/mnt/data/07082025/00/47/image_07082025_00_47_14_9966.jpg', '/mnt/data/07082025/00/46/image_07082025_00_47_04_9970.jpg', '/mnt/data/07082025/00/46/image_07082025_00_46_55_9985.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/47/image_07082025_00_47_44_9954.jpg
/mnt/data/07082025/00/47/image_07082025_00_47_34_9976.jpg
/mnt/data/07082025/00/47/image_07082025_00_47_24_9997.jpg
/mnt/data/07082025/00/47/image_07082025_00_47_14_9966.jpg
/mnt/data/07082025/00/46/image_07082025_00_47_04_9970.jpg
/mnt/data/07082025/00/46/image_07082025_00_46_55_9985.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375672287","1375672275","1375672284","1375672266","1375672279","1375672270"],"photo_ids_order":["1375672266","1375672270","1375672275","1375672279","1375672284","1375672287"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/792244522ca60c596057321b5e679671.jpg","text":"TemporaryFile(/tmp/multipartBody5323645333324974752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570233338,"filename":"image_07082025_00_46_55_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/7/ce7202148350a89b41112e225fa30c3c.jpg","text":"TemporaryFile(/tmp/multipartBody7846747322493951964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570233338,"filename":"image_07082025_00_47_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/7/05d90dd7925a1ee69be010ef9a7f1d8d.jpg","text":"TemporaryFile(/tmp/multipartBody968032379999518717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570233338,"filename":"image_07082025_00_47_04_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/7/456115391336b7095d8362eeb0ce4105.jpg","text":"TemporaryFile(/tmp/multipartBody5683791921192780208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570233338,"filename":"image_07082025_00_47_44_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/7/6b985328debe7e168178b326870da68b.jpg","text":"TemporaryFile(/tmp/multipartBody5877668037544562765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570233338,"filename":"image_07082025_00_47_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/7/5500d72e4593307857ee35750fc58efa.jpg","text":"TemporaryFile(/tmp/multipartBody6039898939692492287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570233338,"filename":"image_07082025_00_47_34_9976.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375672275","file1":"1375672270","file0":"1375672266","file4":"1375672284","file5":"1375672287","file3":"1375672279"},"map_files_photo_id_array":[{"photo_id":"1375672287","filename":"file5"},{"photo_id":"1375672275","filename":"file2"},{"photo_id":"1375672284","filename":"file4"},{"photo_id":"1375672270","filename":"file1"},{"photo_id":"1375672266","filename":"file0"},{"photo_id":"1375672279","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375672287":["hashtag1","hashtag2"]},{"1375672275":["hashtag1","hashtag2"]},{"1375672284":["hashtag1","hashtag2"]},{"1375672266":["hashtag1","hashtag2"]},{"1375672279":["hashtag1","hashtag2"]},{"1375672270":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375672287, 1375672275, 1375672284, 1375672266, 1375672279, 1375672270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.0023353099823 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:37:03.135242
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/44/image_07082025_00_44_45_10078.jpg', 2), ('/mnt/data/07082025/00/44/image_07082025_00_44_35_10086.jpg', 2), ('/mnt/data/07082025/00/44/image_07082025_00_44_25_10145.jpg', 2), ('/mnt/data/07082025/00/44/image_07082025_00_44_14_10123.jpg', 2), ('/mnt/data/07082025/00/43/image_07082025_00_44_04_10322.jpg', 2), ('/mnt/data/07082025/00/43/image_07082025_00_43_54_10045.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/44/image_07082025_00_44_45_10078.jpg', '/mnt/data/07082025/00/44/image_07082025_00_44_35_10086.jpg', '/mnt/data/07082025/00/44/image_07082025_00_44_25_10145.jpg', '/mnt/data/07082025/00/44/image_07082025_00_44_14_10123.jpg', '/mnt/data/07082025/00/43/image_07082025_00_44_04_10322.jpg', '/mnt/data/07082025/00/43/image_07082025_00_43_54_10045.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/44/image_07082025_00_44_45_10078.jpg', '/mnt/data/07082025/00/44/image_07082025_00_44_35_10086.jpg', '/mnt/data/07082025/00/44/image_07082025_00_44_25_10145.jpg', '/mnt/data/07082025/00/44/image_07082025_00_44_14_10123.jpg', '/mnt/data/07082025/00/43/image_07082025_00_44_04_10322.jpg', '/mnt/data/07082025/00/43/image_07082025_00_43_54_10045.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/44/image_07082025_00_44_45_10078.jpg
/mnt/data/07082025/00/44/image_07082025_00_44_35_10086.jpg
/mnt/data/07082025/00/44/image_07082025_00_44_25_10145.jpg
/mnt/data/07082025/00/44/image_07082025_00_44_14_10123.jpg
/mnt/data/07082025/00/43/image_07082025_00_44_04_10322.jpg
/mnt/data/07082025/00/43/image_07082025_00_43_54_10045.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375672315","1375672299","1375672323","1375672319","1375672310","1375672304"],"photo_ids_order":["1375672299","1375672304","1375672310","1375672315","1375672319","1375672323"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/8ebbe084cd609a14d59501f582239b23.jpg","text":"TemporaryFile(/tmp/multipartBody3308467247415667330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570299810,"filename":"image_07082025_00_44_14_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/7/88c13bbcb338b72fab1e33d1088a1e8e.jpg","text":"TemporaryFile(/tmp/multipartBody7719666925586680078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570299810,"filename":"image_07082025_00_44_45_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/7/2f6eccb9040a448901c24ea3cdd2b06f.jpg","text":"TemporaryFile(/tmp/multipartBody4088052406027801862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570299810,"filename":"image_07082025_00_43_54_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/7/b02271311fd2518687a0777fb4751fcc.jpg","text":"TemporaryFile(/tmp/multipartBody2182599230442739037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570299810,"filename":"image_07082025_00_44_04_10322.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/3c8a54fce605aa9f17f59ad670b69283.jpg","text":"TemporaryFile(/tmp/multipartBody8923482591489353478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570299810,"filename":"image_07082025_00_44_25_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/7/a06882ac4a0417eefda35fef89b1ebdd.jpg","text":"TemporaryFile(/tmp/multipartBody8222006245147746848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570299810,"filename":"image_07082025_00_44_35_10086.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375672310","file1":"1375672304","file0":"1375672299","file4":"1375672319","file5":"1375672323","file3":"1375672315"},"map_files_photo_id_array":[{"photo_id":"1375672323","filename":"file5"},{"photo_id":"1375672310","filename":"file2"},{"photo_id":"1375672319","filename":"file4"},{"photo_id":"1375672304","filename":"file1"},{"photo_id":"1375672299","filename":"file0"},{"photo_id":"1375672315","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375672315":["hashtag1","hashtag2"]},{"1375672299":["hashtag1","hashtag2"]},{"1375672323":["hashtag1","hashtag2"]},{"1375672319":["hashtag1","hashtag2"]},{"1375672310":["hashtag1","hashtag2"]},{"1375672304":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375672315, 1375672299, 1375672323, 1375672319, 1375672310, 1375672304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.15409708023071 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:38:02.928004
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/43/image_07082025_00_43_44_10050.jpg', 2), ('/mnt/data/07082025/00/43/image_07082025_00_43_34_9987.jpg', 2), ('/mnt/data/07082025/00/43/image_07082025_00_43_24_9972.jpg', 2), ('/mnt/data/07082025/00/43/image_07082025_00_43_14_9989.jpg', 2), ('/mnt/data/07082025/00/42/image_07082025_00_43_04_9948.jpg', 2), ('/mnt/data/07082025/00/42/image_07082025_00_42_54_9940.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/43/image_07082025_00_43_44_10050.jpg', '/mnt/data/07082025/00/43/image_07082025_00_43_34_9987.jpg', '/mnt/data/07082025/00/43/image_07082025_00_43_24_9972.jpg', '/mnt/data/07082025/00/43/image_07082025_00_43_14_9989.jpg', '/mnt/data/07082025/00/42/image_07082025_00_43_04_9948.jpg', '/mnt/data/07082025/00/42/image_07082025_00_42_54_9940.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/43/image_07082025_00_43_44_10050.jpg', '/mnt/data/07082025/00/43/image_07082025_00_43_34_9987.jpg', '/mnt/data/07082025/00/43/image_07082025_00_43_24_9972.jpg', '/mnt/data/07082025/00/43/image_07082025_00_43_14_9989.jpg', '/mnt/data/07082025/00/42/image_07082025_00_43_04_9948.jpg', '/mnt/data/07082025/00/42/image_07082025_00_42_54_9940.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/43/image_07082025_00_43_44_10050.jpg
/mnt/data/07082025/00/43/image_07082025_00_43_34_9987.jpg
/mnt/data/07082025/00/43/image_07082025_00_43_24_9972.jpg
/mnt/data/07082025/00/43/image_07082025_00_43_14_9989.jpg
/mnt/data/07082025/00/42/image_07082025_00_43_04_9948.jpg
/mnt/data/07082025/00/42/image_07082025_00_42_54_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":["1375672365","1375672344","1375672367","1375672361","1375672355","1375672349"],"photo_ids_order":["1375672344","1375672349","1375672355","1375672361","1375672365","1375672367"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/ac328948abeea1c4f5f277af327f55c1.jpg","text":"TemporaryFile(/tmp/multipartBody4338294344760474823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570370330,"filename":"image_07082025_00_43_04_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/7/2e7ff8f0d514044952700d10a75b3a7a.jpg","text":"TemporaryFile(/tmp/multipartBody4637114657738011955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570370330,"filename":"image_07082025_00_43_44_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/7/28c3fe95900f5ce2475f488598e9727f.jpg","text":"TemporaryFile(/tmp/multipartBody2026264649901326751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570370330,"filename":"image_07082025_00_42_54_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/7/8d341939597cd70d9b8946a842c79718.jpg","text":"TemporaryFile(/tmp/multipartBody8324588753707691755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570370330,"filename":"image_07082025_00_43_14_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/7/76516ce6f74daf560a401659955ca7ea.jpg","text":"TemporaryFile(/tmp/multipartBody4005435278184278931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570370330,"filename":"image_07082025_00_43_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/7/01c78b5cf635693ac5c8678f4528ed7c.jpg","text":"TemporaryFile(/tmp/multipartBody8349913422835830869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570370330,"filename":"image_07082025_00_43_34_9987.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375672355","file1":"1375672349","file0":"1375672344","file4":"1375672365","file5":"1375672367","file3":"1375672361"},"map_files_photo_id_array":[{"photo_id":"1375672367","filename":"file5"},{"photo_id":"1375672355","filename":"file2"},{"photo_id":"1375672365","filename":"file4"},{"photo_id":"1375672349","filename":"file1"},{"photo_id":"1375672344","filename":"file0"},{"photo_id":"1375672361","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375672365":["hashtag1","hashtag2"]},{"1375672344":["hashtag1","hashtag2"]},{"1375672367":["hashtag1","hashtag2"]},{"1375672361":["hashtag1","hashtag2"]},{"1375672355":["hashtag1","hashtag2"]},{"1375672349":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375672365, 1375672344, 1375672367, 1375672361, 1375672355, 1375672349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.9553370475769 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:40:03.074742
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/42/image_07082025_00_42_44_9949.jpg', 2), ('/mnt/data/07082025/00/42/image_07082025_00_42_34_9956.jpg', 2), ('/mnt/data/07082025/00/42/image_07082025_00_42_24_10013.jpg', 2), ('/mnt/data/07082025/00/42/image_07082025_00_42_14_9993.jpg', 2), ('/mnt/data/07082025/00/41/image_07082025_00_42_04_10174.jpg', 2), ('/mnt/data/07082025/00/41/image_07082025_00_41_54_9983.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/42/image_07082025_00_42_44_9949.jpg', '/mnt/data/07082025/00/42/image_07082025_00_42_34_9956.jpg', '/mnt/data/07082025/00/42/image_07082025_00_42_24_10013.jpg', '/mnt/data/07082025/00/42/image_07082025_00_42_14_9993.jpg', '/mnt/data/07082025/00/41/image_07082025_00_42_04_10174.jpg', '/mnt/data/07082025/00/41/image_07082025_00_41_54_9983.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/42/image_07082025_00_42_44_9949.jpg', '/mnt/data/07082025/00/42/image_07082025_00_42_34_9956.jpg', '/mnt/data/07082025/00/42/image_07082025_00_42_24_10013.jpg', '/mnt/data/07082025/00/42/image_07082025_00_42_14_9993.jpg', '/mnt/data/07082025/00/41/image_07082025_00_42_04_10174.jpg', '/mnt/data/07082025/00/41/image_07082025_00_41_54_9983.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/42/image_07082025_00_42_44_9949.jpg
/mnt/data/07082025/00/42/image_07082025_00_42_34_9956.jpg
/mnt/data/07082025/00/42/image_07082025_00_42_24_10013.jpg
/mnt/data/07082025/00/42/image_07082025_00_42_14_9993.jpg
/mnt/data/07082025/00/41/image_07082025_00_42_04_10174.jpg
/mnt/data/07082025/00/41/image_07082025_00_41_54_9983.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375672467","1375672476","1375672461","1375672479","1375672472","1375672463"],"photo_ids_order":["1375672461","1375672463","1375672467","1375672472","1375672476","1375672479"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/132338cddf67cd981433919ab076cd84.jpg","text":"TemporaryFile(/tmp/multipartBody3920492001672955111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570476162,"filename":"image_07082025_00_42_24_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/7/42baac01178e1d51ccd6a212b7d4fa65.jpg","text":"TemporaryFile(/tmp/multipartBody7138825577349105186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570476162,"filename":"image_07082025_00_42_04_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/7/9b67487d03253000a1c4d0c88c2ad07c.jpg","text":"TemporaryFile(/tmp/multipartBody3961674730251750790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570476162,"filename":"image_07082025_00_42_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/7/8a0ec7514df52ace87374f1f601e1413.jpg","text":"TemporaryFile(/tmp/multipartBody6643072816192199518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570476162,"filename":"image_07082025_00_41_54_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/7/42635eec205906c28e30e89ef69b79f0.jpg","text":"TemporaryFile(/tmp/multipartBody8288343720224088268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570476162,"filename":"image_07082025_00_42_14_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/7/316fac1b95ad027e42704c00c8c68f69.jpg","text":"TemporaryFile(/tmp/multipartBody6734451130193990323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570476162,"filename":"image_07082025_00_42_34_9956.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375672467","file1":"1375672463","file0":"1375672461","file4":"1375672476","file5":"1375672479","file3":"1375672472"},"map_files_photo_id_array":[{"photo_id":"1375672479","filename":"file5"},{"photo_id":"1375672467","filename":"file2"},{"photo_id":"1375672476","filename":"file4"},{"photo_id":"1375672463","filename":"file1"},{"photo_id":"1375672461","filename":"file0"},{"photo_id":"1375672472","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375672467":["hashtag1","hashtag2"]},{"1375672476":["hashtag1","hashtag2"]},{"1375672461":["hashtag1","hashtag2"]},{"1375672479":["hashtag1","hashtag2"]},{"1375672472":["hashtag1","hashtag2"]},{"1375672463":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375672467, 1375672476, 1375672461, 1375672479, 1375672472, 1375672463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.16670870780945 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:41:02.819587
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/41/image_07082025_00_41_44_10006.jpg', 2), ('/mnt/data/07082025/00/41/image_07082025_00_41_34_9950.jpg', 2), ('/mnt/data/07082025/00/41/image_07082025_00_41_24_9989.jpg', 2), ('/mnt/data/07082025/00/41/image_07082025_00_41_14_10058.jpg', 2), ('/mnt/data/07082025/00/40/image_07082025_00_40_15_10081.jpg', 2), ('/mnt/data/07082025/00/36/image_07082025_00_36_34_10147.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/41/image_07082025_00_41_44_10006.jpg', '/mnt/data/07082025/00/41/image_07082025_00_41_34_9950.jpg', '/mnt/data/07082025/00/41/image_07082025_00_41_24_9989.jpg', '/mnt/data/07082025/00/41/image_07082025_00_41_14_10058.jpg', '/mnt/data/07082025/00/40/image_07082025_00_40_15_10081.jpg', '/mnt/data/07082025/00/36/image_07082025_00_36_34_10147.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/41/image_07082025_00_41_44_10006.jpg', '/mnt/data/07082025/00/41/image_07082025_00_41_34_9950.jpg', '/mnt/data/07082025/00/41/image_07082025_00_41_24_9989.jpg', '/mnt/data/07082025/00/41/image_07082025_00_41_14_10058.jpg', '/mnt/data/07082025/00/40/image_07082025_00_40_15_10081.jpg', '/mnt/data/07082025/00/36/image_07082025_00_36_34_10147.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/41/image_07082025_00_41_44_10006.jpg
/mnt/data/07082025/00/41/image_07082025_00_41_34_9950.jpg
/mnt/data/07082025/00/41/image_07082025_00_41_24_9989.jpg
/mnt/data/07082025/00/41/image_07082025_00_41_14_10058.jpg
/mnt/data/07082025/00/40/image_07082025_00_40_15_10081.jpg
/mnt/data/07082025/00/36/image_07082025_00_36_34_10147.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375672674","1375672595","1375672608","1375672640","1375672619","1375672681"],"photo_ids_order":["1375672595","1375672608","1375672619","1375672640","1375672674","1375672681"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d37b84ff4705df69fb7e4393dd8ad428.jpg","text":"TemporaryFile(/tmp/multipartBody5528593282198584526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570537273,"filename":"image_07082025_00_40_15_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/7/14f4806b3ee0ab04dc0ba1c69213c6eb.jpg","text":"TemporaryFile(/tmp/multipartBody6948393111277148901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570537273,"filename":"image_07082025_00_41_44_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/7/d07b1acf10f88bb70523e70d72c04ff4.jpg","text":"TemporaryFile(/tmp/multipartBody7724403863605422519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570537273,"filename":"image_07082025_00_41_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/7/d373f7d2436bfbb8829431785bab16c9.jpg","text":"TemporaryFile(/tmp/multipartBody2287863468280001339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570537273,"filename":"image_07082025_00_41_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/7/6b73d71a8951f2c184c266ffd9353023.jpg","text":"TemporaryFile(/tmp/multipartBody3721212016420132292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570537273,"filename":"image_07082025_00_41_24_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/7/2d965c6abcb16590ec334b4e1be62416.jpg","text":"TemporaryFile(/tmp/multipartBody8171220457759140521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570537273,"filename":"image_07082025_00_36_34_10147.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375672619","file1":"1375672608","file0":"1375672595","file4":"1375672674","file5":"1375672681","file3":"1375672640"},"map_files_photo_id_array":[{"photo_id":"1375672681","filename":"file5"},{"photo_id":"1375672619","filename":"file2"},{"photo_id":"1375672674","filename":"file4"},{"photo_id":"1375672608","filename":"file1"},{"photo_id":"1375672595","filename":"file0"},{"photo_id":"1375672640","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375672674":["hashtag1","hashtag2"]},{"1375672595":["hashtag1","hashtag2"]},{"1375672608":["hashtag1","hashtag2"]},{"1375672640":["hashtag1","hashtag2"]},{"1375672619":["hashtag1","hashtag2"]},{"1375672681":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375672674, 1375672595, 1375672608, 1375672640, 1375672619, 1375672681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.84887480735779 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:42:02.422978
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/36/image_07082025_00_36_24_10098.jpg', 2), ('/mnt/data/07082025/00/36/image_07082025_00_36_14_10133.jpg', 2), ('/mnt/data/07082025/00/35/image_07082025_00_36_04_9044.jpg', 2), ('/mnt/data/07082025/00/35/image_07082025_00_35_55_10075.jpg', 2), ('/mnt/data/07082025/00/34/image_07082025_00_34_25_10008.jpg', 2), ('/mnt/data/07082025/00/34/image_07082025_00_34_15_9995.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/36/image_07082025_00_36_24_10098.jpg', '/mnt/data/07082025/00/36/image_07082025_00_36_14_10133.jpg', '/mnt/data/07082025/00/35/image_07082025_00_36_04_9044.jpg', '/mnt/data/07082025/00/35/image_07082025_00_35_55_10075.jpg', '/mnt/data/07082025/00/34/image_07082025_00_34_25_10008.jpg', '/mnt/data/07082025/00/34/image_07082025_00_34_15_9995.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/36/image_07082025_00_36_24_10098.jpg', '/mnt/data/07082025/00/36/image_07082025_00_36_14_10133.jpg', '/mnt/data/07082025/00/35/image_07082025_00_36_04_9044.jpg', '/mnt/data/07082025/00/35/image_07082025_00_35_55_10075.jpg', '/mnt/data/07082025/00/34/image_07082025_00_34_25_10008.jpg', '/mnt/data/07082025/00/34/image_07082025_00_34_15_9995.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/36/image_07082025_00_36_24_10098.jpg
/mnt/data/07082025/00/36/image_07082025_00_36_14_10133.jpg
/mnt/data/07082025/00/35/image_07082025_00_36_04_9044.jpg
/mnt/data/07082025/00/35/image_07082025_00_35_55_10075.jpg
/mnt/data/07082025/00/34/image_07082025_00_34_25_10008.jpg
/mnt/data/07082025/00/34/image_07082025_00_34_15_9995.jpg
uploaded 0 photos
time to upload: 30.241240739822388 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:43:03.384421
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/36/image_07082025_00_36_24_10098.jpg', 2), ('/mnt/data/07082025/00/36/image_07082025_00_36_14_10133.jpg', 2), ('/mnt/data/07082025/00/35/image_07082025_00_36_04_9044.jpg', 2), ('/mnt/data/07082025/00/35/image_07082025_00_35_55_10075.jpg', 2), ('/mnt/data/07082025/00/34/image_07082025_00_34_25_10008.jpg', 2), ('/mnt/data/07082025/00/34/image_07082025_00_34_15_9995.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/36/image_07082025_00_36_24_10098.jpg', '/mnt/data/07082025/00/36/image_07082025_00_36_14_10133.jpg', '/mnt/data/07082025/00/35/image_07082025_00_36_04_9044.jpg', '/mnt/data/07082025/00/35/image_07082025_00_35_55_10075.jpg', '/mnt/data/07082025/00/34/image_07082025_00_34_25_10008.jpg', '/mnt/data/07082025/00/34/image_07082025_00_34_15_9995.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/36/image_07082025_00_36_24_10098.jpg', '/mnt/data/07082025/00/36/image_07082025_00_36_14_10133.jpg', '/mnt/data/07082025/00/35/image_07082025_00_36_04_9044.jpg', '/mnt/data/07082025/00/35/image_07082025_00_35_55_10075.jpg', '/mnt/data/07082025/00/34/image_07082025_00_34_25_10008.jpg', '/mnt/data/07082025/00/34/image_07082025_00_34_15_9995.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/36/image_07082025_00_36_24_10098.jpg
/mnt/data/07082025/00/36/image_07082025_00_36_14_10133.jpg
/mnt/data/07082025/00/35/image_07082025_00_36_04_9044.jpg
/mnt/data/07082025/00/35/image_07082025_00_35_55_10075.jpg
/mnt/data/07082025/00/34/image_07082025_00_34_25_10008.jpg
/mnt/data/07082025/00/34/image_07082025_00_34_15_9995.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 137.65711522102356 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-07 14:46:02.953074
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/36/image_07082025_00_36_24_10098.jpg', 2), ('/mnt/data/07082025/00/36/image_07082025_00_36_14_10133.jpg', 2), ('/mnt/data/07082025/00/35/image_07082025_00_36_04_9044.jpg', 2), ('/mnt/data/07082025/00/35/image_07082025_00_35_55_10075.jpg', 2), ('/mnt/data/07082025/00/34/image_07082025_00_34_25_10008.jpg', 2), ('/mnt/data/07082025/00/34/image_07082025_00_34_15_9995.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/36/image_07082025_00_36_24_10098.jpg', '/mnt/data/07082025/00/36/image_07082025_00_36_14_10133.jpg', '/mnt/data/07082025/00/35/image_07082025_00_36_04_9044.jpg', '/mnt/data/07082025/00/35/image_07082025_00_35_55_10075.jpg', '/mnt/data/07082025/00/34/image_07082025_00_34_25_10008.jpg', '/mnt/data/07082025/00/34/image_07082025_00_34_15_9995.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/36/image_07082025_00_36_24_10098.jpg', '/mnt/data/07082025/00/36/image_07082025_00_36_14_10133.jpg', '/mnt/data/07082025/00/35/image_07082025_00_36_04_9044.jpg', '/mnt/data/07082025/00/35/image_07082025_00_35_55_10075.jpg', '/mnt/data/07082025/00/34/image_07082025_00_34_25_10008.jpg', '/mnt/data/07082025/00/34/image_07082025_00_34_15_9995.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/36/image_07082025_00_36_24_10098.jpg
/mnt/data/07082025/00/36/image_07082025_00_36_14_10133.jpg
/mnt/data/07082025/00/35/image_07082025_00_36_04_9044.jpg
/mnt/data/07082025/00/35/image_07082025_00_35_55_10075.jpg
/mnt/data/07082025/00/34/image_07082025_00_34_25_10008.jpg
/mnt/data/07082025/00/34/image_07082025_00_34_15_9995.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":["1375673841","1375673784","1375673876","1375673804","1375673779","1375673788"],"photo_ids_order":["1375673779","1375673784","1375673788","1375673804","1375673841","1375673876"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/39c2de5a9c77663db80d85eb96d76acb.jpg","text":"TemporaryFile(/tmp/multipartBody6907703457101674497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570846138,"filename":"image_07082025_00_34_25_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/7/e5fdad211317fbf4fd00700d97db1cfc.jpg","text":"TemporaryFile(/tmp/multipartBody8237623027409879166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570846138,"filename":"image_07082025_00_36_14_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/7/439531287e73846d28ce6b0d2a03fdd0.jpg","text":"TemporaryFile(/tmp/multipartBody5604286790683486693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570846138,"filename":"image_07082025_00_34_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/7/bee7542af76f51c921e7525fea14a70f.jpg","text":"TemporaryFile(/tmp/multipartBody7063686613316652602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570846138,"filename":"image_07082025_00_35_55_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/7/e569eea5ec40adf57d3ee4fb534b875f.jpg","text":"TemporaryFile(/tmp/multipartBody279857863698861026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570846138,"filename":"image_07082025_00_36_24_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/7/822741e3f978cf2b8eabca33941bcb7b.jpg","text":"TemporaryFile(/tmp/multipartBody6721836169362258052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570846138,"filename":"image_07082025_00_36_04_9044.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375673788","file1":"1375673784","file0":"1375673779","file4":"1375673841","file5":"1375673876","file3":"1375673804"},"map_files_photo_id_array":[{"photo_id":"1375673876","filename":"file5"},{"photo_id":"1375673788","filename":"file2"},{"photo_id":"1375673841","filename":"file4"},{"photo_id":"1375673784","filename":"file1"},{"photo_id":"1375673779","filename":"file0"},{"photo_id":"1375673804","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375673841":["hashtag1","hashtag2"]},{"1375673784":["hashtag1","hashtag2"]},{"1375673876":["hashtag1","hashtag2"]},{"1375673804":["hashtag1","hashtag2"]},{"1375673779":["hashtag1","hashtag2"]},{"1375673788":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375673841, 1375673784, 1375673876, 1375673804, 1375673779, 1375673788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.78725004196167 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:48:03.098415
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/33/image_07082025_00_34_05_10303.jpg', 2), ('/mnt/data/07082025/00/33/image_07082025_00_33_54_9978.jpg', 2), ('/mnt/data/07082025/00/33/image_07082025_00_33_44_10003.jpg', 2), ('/mnt/data/07082025/00/33/image_07082025_00_33_34_10047.jpg', 2), ('/mnt/data/07082025/00/33/image_07082025_00_33_24_10022.jpg', 2), ('/mnt/data/07082025/00/33/image_07082025_00_33_14_10206.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/33/image_07082025_00_34_05_10303.jpg', '/mnt/data/07082025/00/33/image_07082025_00_33_54_9978.jpg', '/mnt/data/07082025/00/33/image_07082025_00_33_44_10003.jpg', '/mnt/data/07082025/00/33/image_07082025_00_33_34_10047.jpg', '/mnt/data/07082025/00/33/image_07082025_00_33_24_10022.jpg', '/mnt/data/07082025/00/33/image_07082025_00_33_14_10206.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/33/image_07082025_00_34_05_10303.jpg', '/mnt/data/07082025/00/33/image_07082025_00_33_54_9978.jpg', '/mnt/data/07082025/00/33/image_07082025_00_33_44_10003.jpg', '/mnt/data/07082025/00/33/image_07082025_00_33_34_10047.jpg', '/mnt/data/07082025/00/33/image_07082025_00_33_24_10022.jpg', '/mnt/data/07082025/00/33/image_07082025_00_33_14_10206.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/33/image_07082025_00_34_05_10303.jpg
/mnt/data/07082025/00/33/image_07082025_00_33_54_9978.jpg
/mnt/data/07082025/00/33/image_07082025_00_33_44_10003.jpg
/mnt/data/07082025/00/33/image_07082025_00_33_34_10047.jpg
/mnt/data/07082025/00/33/image_07082025_00_33_24_10022.jpg
/mnt/data/07082025/00/33/image_07082025_00_33_14_10206.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375673961","1375673922","1375673966","1375673933","1375673974","1375673971"],"photo_ids_order":["1375673922","1375673933","1375673961","1375673966","1375673971","1375673974"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/7b3ee6503694c586fc73a37e0005e18c.jpg","text":"TemporaryFile(/tmp/multipartBody4153525711220943082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570955273,"filename":"image_07082025_00_33_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/7/cb25e6357f3623da0d99e5c323742350.jpg","text":"TemporaryFile(/tmp/multipartBody7387990878475714707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570955273,"filename":"image_07082025_00_34_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/7/b731ce5a98d4183db219de8cb00a0d26.jpg","text":"TemporaryFile(/tmp/multipartBody1666741333460667337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570955273,"filename":"image_07082025_00_33_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/7/2bd6ef18e36a79ec18aad2ca4b09aa94.jpg","text":"TemporaryFile(/tmp/multipartBody8484047600795331414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570955273,"filename":"image_07082025_00_33_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/7/134201052353eb7889b9af66105b4a17.jpg","text":"TemporaryFile(/tmp/multipartBody8658212001006931832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570955273,"filename":"image_07082025_00_33_14_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/7/b22d2e93fe3207a5f4378971b1d34b7e.jpg","text":"TemporaryFile(/tmp/multipartBody5014260514853849699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754570955273,"filename":"image_07082025_00_33_24_10022.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375673961","file1":"1375673933","file0":"1375673922","file4":"1375673971","file5":"1375673974","file3":"1375673966"},"map_files_photo_id_array":[{"photo_id":"1375673974","filename":"file5"},{"photo_id":"1375673961","filename":"file2"},{"photo_id":"1375673971","filename":"file4"},{"photo_id":"1375673933","filename":"file1"},{"photo_id":"1375673922","filename":"file0"},{"photo_id":"1375673966","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375673961":["hashtag1","hashtag2"]},{"1375673922":["hashtag1","hashtag2"]},{"1375673966":["hashtag1","hashtag2"]},{"1375673933":["hashtag1","hashtag2"]},{"1375673974":["hashtag1","hashtag2"]},{"1375673971":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375673961, 1375673922, 1375673966, 1375673933, 1375673974, 1375673971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.751845836639404 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:49:03.265818
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/32/image_07082025_00_32_55_10035.jpg', 2), ('/mnt/data/07082025/00/32/image_07082025_00_32_45_9958.jpg', 2), ('/mnt/data/07082025/00/32/image_07082025_00_32_35_10154.jpg', 2), ('/mnt/data/07082025/00/32/image_07082025_00_32_25_10240.jpg', 2), ('/mnt/data/07082025/00/32/image_07082025_00_32_14_10283.jpg', 2), ('/mnt/data/07082025/00/31/image_07082025_00_32_04_10241.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/32/image_07082025_00_32_55_10035.jpg', '/mnt/data/07082025/00/32/image_07082025_00_32_45_9958.jpg', '/mnt/data/07082025/00/32/image_07082025_00_32_35_10154.jpg', '/mnt/data/07082025/00/32/image_07082025_00_32_25_10240.jpg', '/mnt/data/07082025/00/32/image_07082025_00_32_14_10283.jpg', '/mnt/data/07082025/00/31/image_07082025_00_32_04_10241.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/32/image_07082025_00_32_55_10035.jpg', '/mnt/data/07082025/00/32/image_07082025_00_32_45_9958.jpg', '/mnt/data/07082025/00/32/image_07082025_00_32_35_10154.jpg', '/mnt/data/07082025/00/32/image_07082025_00_32_25_10240.jpg', '/mnt/data/07082025/00/32/image_07082025_00_32_14_10283.jpg', '/mnt/data/07082025/00/31/image_07082025_00_32_04_10241.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/32/image_07082025_00_32_55_10035.jpg
/mnt/data/07082025/00/32/image_07082025_00_32_45_9958.jpg
/mnt/data/07082025/00/32/image_07082025_00_32_35_10154.jpg
/mnt/data/07082025/00/32/image_07082025_00_32_25_10240.jpg
/mnt/data/07082025/00/32/image_07082025_00_32_14_10283.jpg
/mnt/data/07082025/00/31/image_07082025_00_32_04_10241.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375674048","1375674030","1375674015","1375674032","1375674026","1375674008"],"photo_ids_order":["1375674008","1375674015","1375674026","1375674030","1375674032","1375674048"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/03449c850cd14dad2e6f6a6115bce8c6.jpg","text":"TemporaryFile(/tmp/multipartBody1054460272493255007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571022373,"filename":"image_07082025_00_32_04_10241.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/af564b52d0b1c2660291d3a71e470c2b.jpg","text":"TemporaryFile(/tmp/multipartBody8512207493665615365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571022373,"filename":"image_07082025_00_32_25_10240.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/e586877be7a0f98d54df0f8397200234.jpg","text":"TemporaryFile(/tmp/multipartBody8336530975516564486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571022373,"filename":"image_07082025_00_32_45_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/7/75d53e9f14a47047757621483470df1a.jpg","text":"TemporaryFile(/tmp/multipartBody5371477414931113971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571022373,"filename":"image_07082025_00_32_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/7/8de7fdb02e008eb73da26456bec1d3a0.jpg","text":"TemporaryFile(/tmp/multipartBody4211599417456965271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571022373,"filename":"image_07082025_00_32_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/7/3ca9fb5cf62fa0ee7fed5c15dc586811.jpg","text":"TemporaryFile(/tmp/multipartBody2736881014034342728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571022373,"filename":"image_07082025_00_32_55_10035.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375674026","file1":"1375674015","file0":"1375674008","file4":"1375674032","file5":"1375674048","file3":"1375674030"},"map_files_photo_id_array":[{"photo_id":"1375674048","filename":"file5"},{"photo_id":"1375674026","filename":"file2"},{"photo_id":"1375674032","filename":"file4"},{"photo_id":"1375674015","filename":"file1"},{"photo_id":"1375674008","filename":"file0"},{"photo_id":"1375674030","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375674048":["hashtag1","hashtag2"]},{"1375674030":["hashtag1","hashtag2"]},{"1375674015":["hashtag1","hashtag2"]},{"1375674032":["hashtag1","hashtag2"]},{"1375674026":["hashtag1","hashtag2"]},{"1375674008":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375674048, 1375674030, 1375674015, 1375674032, 1375674026, 1375674008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.3834764957428 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:50:03.061310
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/31/image_07082025_00_31_54_8969.jpg', 2), ('/mnt/data/07082025/00/31/image_07082025_00_31_45_10166.jpg', 2), ('/mnt/data/07082025/00/31/image_07082025_00_31_35_10223.jpg', 2), ('/mnt/data/07082025/00/31/image_07082025_00_31_24_10318.jpg', 2), ('/mnt/data/07082025/00/31/image_07082025_00_31_14_10305.jpg', 2), ('/mnt/data/07082025/00/30/image_07082025_00_31_04_8976.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/31/image_07082025_00_31_54_8969.jpg', '/mnt/data/07082025/00/31/image_07082025_00_31_45_10166.jpg', '/mnt/data/07082025/00/31/image_07082025_00_31_35_10223.jpg', '/mnt/data/07082025/00/31/image_07082025_00_31_24_10318.jpg', '/mnt/data/07082025/00/31/image_07082025_00_31_14_10305.jpg', '/mnt/data/07082025/00/30/image_07082025_00_31_04_8976.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/31/image_07082025_00_31_54_8969.jpg', '/mnt/data/07082025/00/31/image_07082025_00_31_45_10166.jpg', '/mnt/data/07082025/00/31/image_07082025_00_31_35_10223.jpg', '/mnt/data/07082025/00/31/image_07082025_00_31_24_10318.jpg', '/mnt/data/07082025/00/31/image_07082025_00_31_14_10305.jpg', '/mnt/data/07082025/00/30/image_07082025_00_31_04_8976.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/31/image_07082025_00_31_54_8969.jpg
/mnt/data/07082025/00/31/image_07082025_00_31_45_10166.jpg
/mnt/data/07082025/00/31/image_07082025_00_31_35_10223.jpg
/mnt/data/07082025/00/31/image_07082025_00_31_24_10318.jpg
/mnt/data/07082025/00/31/image_07082025_00_31_14_10305.jpg
/mnt/data/07082025/00/30/image_07082025_00_31_04_8976.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":["1375674176","1375674181","1375674160","1375674184","1375674205","1375674171"],"photo_ids_order":["1375674160","1375674171","1375674176","1375674181","1375674184","1375674205"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/e16f8cf38d9bb77c54ed7c53396a8fe6.jpg","text":"TemporaryFile(/tmp/multipartBody2848847931940544260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571088401,"filename":"image_07082025_00_31_35_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/7/613ee4d6c04d492e47a0a5e724fca2fd.jpg","text":"TemporaryFile(/tmp/multipartBody8694463881163933338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571088401,"filename":"image_07082025_00_31_24_10318.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/93f3b239c41f5cbcfa0e09c233e3230a.jpg","text":"TemporaryFile(/tmp/multipartBody3690001327019431409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571088401,"filename":"image_07082025_00_31_54_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/7/52e8ac3b357dc949be68130cd9d245ff.jpg","text":"TemporaryFile(/tmp/multipartBody461005654105141549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571088401,"filename":"image_07082025_00_31_14_10305.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/c47d1253d2e82dd131f7fe1d75e68179.jpg","text":"TemporaryFile(/tmp/multipartBody9133974722056190221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571088401,"filename":"image_07082025_00_31_04_8976.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/b90ad4fd28e259274d2b35145fb755c0.jpg","text":"TemporaryFile(/tmp/multipartBody7883243239964475496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571088401,"filename":"image_07082025_00_31_45_10166.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375674176","file1":"1375674171","file0":"1375674160","file4":"1375674184","file5":"1375674205","file3":"1375674181"},"map_files_photo_id_array":[{"photo_id":"1375674205","filename":"file5"},{"photo_id":"1375674176","filename":"file2"},{"photo_id":"1375674184","filename":"file4"},{"photo_id":"1375674171","filename":"file1"},{"photo_id":"1375674160","filename":"file0"},{"photo_id":"1375674181","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375674176":["hashtag1","hashtag2"]},{"1375674181":["hashtag1","hashtag2"]},{"1375674160":["hashtag1","hashtag2"]},{"1375674184":["hashtag1","hashtag2"]},{"1375674205":["hashtag1","hashtag2"]},{"1375674171":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375674176, 1375674181, 1375674160, 1375674184, 1375674205, 1375674171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.29576444625854 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:52:03.015510
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/30/image_07082025_00_30_55_10192.jpg', 2), ('/mnt/data/07082025/00/30/image_07082025_00_30_45_10397.jpg', 2), ('/mnt/data/07082025/00/30/image_07082025_00_30_34_10450.jpg', 2), ('/mnt/data/07082025/00/30/image_07082025_00_30_24_8966.jpg', 2), ('/mnt/data/07082025/00/30/image_07082025_00_30_15_10175.jpg', 2), ('/mnt/data/07082025/00/29/image_07082025_00_30_05_10498.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/30/image_07082025_00_30_55_10192.jpg', '/mnt/data/07082025/00/30/image_07082025_00_30_45_10397.jpg', '/mnt/data/07082025/00/30/image_07082025_00_30_34_10450.jpg', '/mnt/data/07082025/00/30/image_07082025_00_30_24_8966.jpg', '/mnt/data/07082025/00/30/image_07082025_00_30_15_10175.jpg', '/mnt/data/07082025/00/29/image_07082025_00_30_05_10498.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/30/image_07082025_00_30_55_10192.jpg', '/mnt/data/07082025/00/30/image_07082025_00_30_45_10397.jpg', '/mnt/data/07082025/00/30/image_07082025_00_30_34_10450.jpg', '/mnt/data/07082025/00/30/image_07082025_00_30_24_8966.jpg', '/mnt/data/07082025/00/30/image_07082025_00_30_15_10175.jpg', '/mnt/data/07082025/00/29/image_07082025_00_30_05_10498.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/30/image_07082025_00_30_55_10192.jpg
/mnt/data/07082025/00/30/image_07082025_00_30_45_10397.jpg
/mnt/data/07082025/00/30/image_07082025_00_30_34_10450.jpg
/mnt/data/07082025/00/30/image_07082025_00_30_24_8966.jpg
/mnt/data/07082025/00/30/image_07082025_00_30_15_10175.jpg
/mnt/data/07082025/00/29/image_07082025_00_30_05_10498.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375674342","1375674338","1375674346","1375674289","1375674325","1375674279"],"photo_ids_order":["1375674279","1375674289","1375674325","1375674338","1375674342","1375674346"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/8aa9d7e80ad67ff5f820b8ecd0279507.jpg","text":"TemporaryFile(/tmp/multipartBody7483232137589138026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571194075,"filename":"image_07082025_00_30_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/7/fbe1fb17b883c410b12336ab1c8d1147.jpg","text":"TemporaryFile(/tmp/multipartBody64994437491404621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571194075,"filename":"image_07082025_00_30_24_8966.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/19a6a0d44bf6ea161a8d9c5187501f12.jpg","text":"TemporaryFile(/tmp/multipartBody87853647705967895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571194075,"filename":"image_07082025_00_30_05_10498.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/970f8c9855c6bb436e7bed7803772daf.jpg","text":"TemporaryFile(/tmp/multipartBody1970843419133175269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571194075,"filename":"image_07082025_00_30_45_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/7/0758ce819613ceb4760fb7ac9f4dafb1.jpg","text":"TemporaryFile(/tmp/multipartBody6340005014727654786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571194075,"filename":"image_07082025_00_30_34_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/7/b688a916c9fe1d1756211a06bb70ccac.jpg","text":"TemporaryFile(/tmp/multipartBody8706573817764513245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571194075,"filename":"image_07082025_00_30_55_10192.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375674325","file1":"1375674289","file0":"1375674279","file4":"1375674342","file5":"1375674346","file3":"1375674338"},"map_files_photo_id_array":[{"photo_id":"1375674346","filename":"file5"},{"photo_id":"1375674325","filename":"file2"},{"photo_id":"1375674342","filename":"file4"},{"photo_id":"1375674289","filename":"file1"},{"photo_id":"1375674279","filename":"file0"},{"photo_id":"1375674338","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375674342":["hashtag1","hashtag2"]},{"1375674338":["hashtag1","hashtag2"]},{"1375674346":["hashtag1","hashtag2"]},{"1375674289":["hashtag1","hashtag2"]},{"1375674325":["hashtag1","hashtag2"]},{"1375674279":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375674342, 1375674338, 1375674346, 1375674289, 1375674325, 1375674279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.9813711643219 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:53:02.935808
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/29/image_07082025_00_29_54_10142.jpg', 2), ('/mnt/data/07082025/00/28/image_07082025_00_28_45_9972.jpg', 2), ('/mnt/data/07082025/00/28/image_07082025_00_28_35_9994.jpg', 2), ('/mnt/data/07082025/00/28/image_07082025_00_28_25_10042.jpg', 2), ('/mnt/data/07082025/00/28/image_07082025_00_28_15_9992.jpg', 2), ('/mnt/data/07082025/00/27/image_07082025_00_28_05_10224.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/29/image_07082025_00_29_54_10142.jpg', '/mnt/data/07082025/00/28/image_07082025_00_28_45_9972.jpg', '/mnt/data/07082025/00/28/image_07082025_00_28_35_9994.jpg', '/mnt/data/07082025/00/28/image_07082025_00_28_25_10042.jpg', '/mnt/data/07082025/00/28/image_07082025_00_28_15_9992.jpg', '/mnt/data/07082025/00/27/image_07082025_00_28_05_10224.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/29/image_07082025_00_29_54_10142.jpg', '/mnt/data/07082025/00/28/image_07082025_00_28_45_9972.jpg', '/mnt/data/07082025/00/28/image_07082025_00_28_35_9994.jpg', '/mnt/data/07082025/00/28/image_07082025_00_28_25_10042.jpg', '/mnt/data/07082025/00/28/image_07082025_00_28_15_9992.jpg', '/mnt/data/07082025/00/27/image_07082025_00_28_05_10224.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/29/image_07082025_00_29_54_10142.jpg
/mnt/data/07082025/00/28/image_07082025_00_28_45_9972.jpg
/mnt/data/07082025/00/28/image_07082025_00_28_35_9994.jpg
/mnt/data/07082025/00/28/image_07082025_00_28_25_10042.jpg
/mnt/data/07082025/00/28/image_07082025_00_28_15_9992.jpg
/mnt/data/07082025/00/27/image_07082025_00_28_05_10224.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 128.04219317436218 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-07 14:56:03.033275
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/29/image_07082025_00_29_54_10142.jpg', 2), ('/mnt/data/07082025/00/28/image_07082025_00_28_45_9972.jpg', 2), ('/mnt/data/07082025/00/28/image_07082025_00_28_35_9994.jpg', 2), ('/mnt/data/07082025/00/28/image_07082025_00_28_25_10042.jpg', 2), ('/mnt/data/07082025/00/28/image_07082025_00_28_15_9992.jpg', 2), ('/mnt/data/07082025/00/27/image_07082025_00_28_05_10224.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/29/image_07082025_00_29_54_10142.jpg', '/mnt/data/07082025/00/28/image_07082025_00_28_45_9972.jpg', '/mnt/data/07082025/00/28/image_07082025_00_28_35_9994.jpg', '/mnt/data/07082025/00/28/image_07082025_00_28_25_10042.jpg', '/mnt/data/07082025/00/28/image_07082025_00_28_15_9992.jpg', '/mnt/data/07082025/00/27/image_07082025_00_28_05_10224.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/29/image_07082025_00_29_54_10142.jpg', '/mnt/data/07082025/00/28/image_07082025_00_28_45_9972.jpg', '/mnt/data/07082025/00/28/image_07082025_00_28_35_9994.jpg', '/mnt/data/07082025/00/28/image_07082025_00_28_25_10042.jpg', '/mnt/data/07082025/00/28/image_07082025_00_28_15_9992.jpg', '/mnt/data/07082025/00/27/image_07082025_00_28_05_10224.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/29/image_07082025_00_29_54_10142.jpg
/mnt/data/07082025/00/28/image_07082025_00_28_45_9972.jpg
/mnt/data/07082025/00/28/image_07082025_00_28_35_9994.jpg
/mnt/data/07082025/00/28/image_07082025_00_28_25_10042.jpg
/mnt/data/07082025/00/28/image_07082025_00_28_15_9992.jpg
/mnt/data/07082025/00/27/image_07082025_00_28_05_10224.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375674791","1375674779","1375674800","1375674803","1375674796","1375674772"],"photo_ids_order":["1375674772","1375674779","1375674791","1375674796","1375674800","1375674803"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/2591992d6a87a17305b90a8f999b7421.jpg","text":"TemporaryFile(/tmp/multipartBody5914453992800948431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571434327,"filename":"image_07082025_00_28_35_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/7/241e279a6bd4bf2d225f1a3b9ae2e4a1.jpg","text":"TemporaryFile(/tmp/multipartBody7672060722590795481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571434327,"filename":"image_07082025_00_28_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/7/89e44ab930006458e471526d74b55837.jpg","text":"TemporaryFile(/tmp/multipartBody8996505563217757035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571434327,"filename":"image_07082025_00_28_15_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/7/56e053c5efb14597dff62c548a0e7b4d.jpg","text":"TemporaryFile(/tmp/multipartBody7565419400932478966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571434327,"filename":"image_07082025_00_28_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/7/299829b9a7057df92720540eeb0860f2.jpg","text":"TemporaryFile(/tmp/multipartBody2451887120708217611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571434327,"filename":"image_07082025_00_28_25_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/7/87356926408c16785a4f6d1b30a68419.jpg","text":"TemporaryFile(/tmp/multipartBody7625302199226958332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571434327,"filename":"image_07082025_00_29_54_10142.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375674791","file1":"1375674779","file0":"1375674772","file4":"1375674800","file5":"1375674803","file3":"1375674796"},"map_files_photo_id_array":[{"photo_id":"1375674803","filename":"file5"},{"photo_id":"1375674791","filename":"file2"},{"photo_id":"1375674800","filename":"file4"},{"photo_id":"1375674779","filename":"file1"},{"photo_id":"1375674772","filename":"file0"},{"photo_id":"1375674796","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375674791":["hashtag1","hashtag2"]},{"1375674779":["hashtag1","hashtag2"]},{"1375674800":["hashtag1","hashtag2"]},{"1375674803":["hashtag1","hashtag2"]},{"1375674796":["hashtag1","hashtag2"]},{"1375674772":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375674791, 1375674779, 1375674800, 1375674803, 1375674796, 1375674772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.32675623893738 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 14:57:02.809849
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/27/image_07082025_00_27_55_9973.jpg', 2), ('/mnt/data/07082025/00/27/image_07082025_00_27_45_9986.jpg', 2), ('/mnt/data/07082025/00/27/image_07082025_00_27_35_10013.jpg', 2), ('/mnt/data/07082025/00/27/image_07082025_00_27_25_10126.jpg', 2), ('/mnt/data/07082025/00/27/image_07082025_00_27_14_10196.jpg', 2), ('/mnt/data/07082025/00/26/image_07082025_00_27_04_10306.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/27/image_07082025_00_27_55_9973.jpg', '/mnt/data/07082025/00/27/image_07082025_00_27_45_9986.jpg', '/mnt/data/07082025/00/27/image_07082025_00_27_35_10013.jpg', '/mnt/data/07082025/00/27/image_07082025_00_27_25_10126.jpg', '/mnt/data/07082025/00/27/image_07082025_00_27_14_10196.jpg', '/mnt/data/07082025/00/26/image_07082025_00_27_04_10306.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/27/image_07082025_00_27_55_9973.jpg', '/mnt/data/07082025/00/27/image_07082025_00_27_45_9986.jpg', '/mnt/data/07082025/00/27/image_07082025_00_27_35_10013.jpg', '/mnt/data/07082025/00/27/image_07082025_00_27_25_10126.jpg', '/mnt/data/07082025/00/27/image_07082025_00_27_14_10196.jpg', '/mnt/data/07082025/00/26/image_07082025_00_27_04_10306.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/27/image_07082025_00_27_55_9973.jpg
/mnt/data/07082025/00/27/image_07082025_00_27_45_9986.jpg
/mnt/data/07082025/00/27/image_07082025_00_27_35_10013.jpg
/mnt/data/07082025/00/27/image_07082025_00_27_25_10126.jpg
/mnt/data/07082025/00/27/image_07082025_00_27_14_10196.jpg
/mnt/data/07082025/00/26/image_07082025_00_27_04_10306.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-07 14:59:03.389796
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/27/image_07082025_00_27_55_9973.jpg', 2), ('/mnt/data/07082025/00/27/image_07082025_00_27_45_9986.jpg', 2), ('/mnt/data/07082025/00/27/image_07082025_00_27_35_10013.jpg', 2), ('/mnt/data/07082025/00/27/image_07082025_00_27_25_10126.jpg', 2), ('/mnt/data/07082025/00/27/image_07082025_00_27_14_10196.jpg', 2), ('/mnt/data/07082025/00/26/image_07082025_00_27_04_10306.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/27/image_07082025_00_27_55_9973.jpg', '/mnt/data/07082025/00/27/image_07082025_00_27_45_9986.jpg', '/mnt/data/07082025/00/27/image_07082025_00_27_35_10013.jpg', '/mnt/data/07082025/00/27/image_07082025_00_27_25_10126.jpg', '/mnt/data/07082025/00/27/image_07082025_00_27_14_10196.jpg', '/mnt/data/07082025/00/26/image_07082025_00_27_04_10306.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/27/image_07082025_00_27_55_9973.jpg', '/mnt/data/07082025/00/27/image_07082025_00_27_45_9986.jpg', '/mnt/data/07082025/00/27/image_07082025_00_27_35_10013.jpg', '/mnt/data/07082025/00/27/image_07082025_00_27_25_10126.jpg', '/mnt/data/07082025/00/27/image_07082025_00_27_14_10196.jpg', '/mnt/data/07082025/00/26/image_07082025_00_27_04_10306.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/27/image_07082025_00_27_55_9973.jpg
/mnt/data/07082025/00/27/image_07082025_00_27_45_9986.jpg
/mnt/data/07082025/00/27/image_07082025_00_27_35_10013.jpg
/mnt/data/07082025/00/27/image_07082025_00_27_25_10126.jpg
/mnt/data/07082025/00/27/image_07082025_00_27_14_10196.jpg
/mnt/data/07082025/00/26/image_07082025_00_27_04_10306.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":["1375675265","1375675273","1375675267","1375675269","1375675260","1375675254"],"photo_ids_order":["1375675254","1375675260","1375675265","1375675267","1375675269","1375675273"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/e26d31e25afb3424ce606c40859cc58c.jpg","text":"TemporaryFile(/tmp/multipartBody1068003386370620009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571622262,"filename":"image_07082025_00_27_35_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/7/2243fc6b51ca3b0dfa8342b8de20a3be.jpg","text":"TemporaryFile(/tmp/multipartBody2765023673663183812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571622262,"filename":"image_07082025_00_27_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/7/444a216b82aaaf75d6743bb2c931b9f3.jpg","text":"TemporaryFile(/tmp/multipartBody2831258802950781778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571622262,"filename":"image_07082025_00_27_25_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/7/d3929ead1508782697b24b859582056c.jpg","text":"TemporaryFile(/tmp/multipartBody6199318589065127737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571622262,"filename":"image_07082025_00_27_14_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/7/e470a22e8fec8ab1312a92f2e0eb058b.jpg","text":"TemporaryFile(/tmp/multipartBody6723879387488468094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571622262,"filename":"image_07082025_00_27_45_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/7/40c8dda5820538bef1edf5c1cb098a47.jpg","text":"TemporaryFile(/tmp/multipartBody210315219651920165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571622262,"filename":"image_07082025_00_27_55_9973.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375675265","file1":"1375675260","file0":"1375675254","file4":"1375675269","file5":"1375675273","file3":"1375675267"},"map_files_photo_id_array":[{"photo_id":"1375675273","filename":"file5"},{"photo_id":"1375675265","filename":"file2"},{"photo_id":"1375675269","filename":"file4"},{"photo_id":"1375675260","filename":"file1"},{"photo_id":"1375675254","filename":"file0"},{"photo_id":"1375675267","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375675265":["hashtag1","hashtag2"]},{"1375675273":["hashtag1","hashtag2"]},{"1375675267":["hashtag1","hashtag2"]},{"1375675269":["hashtag1","hashtag2"]},{"1375675260":["hashtag1","hashtag2"]},{"1375675254":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375675265, 1375675273, 1375675267, 1375675269, 1375675260, 1375675254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.79709792137146 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:01:02.815218
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/26/image_07082025_00_26_54_10150.jpg', 2), ('/mnt/data/07082025/00/26/image_07082025_00_26_44_9010.jpg', 2), ('/mnt/data/07082025/00/26/image_07082025_00_26_35_10169.jpg', 2), ('/mnt/data/07082025/00/26/image_07082025_00_26_25_9994.jpg', 2), ('/mnt/data/07082025/00/26/image_07082025_00_26_15_10236.jpg', 2), ('/mnt/data/07082025/00/25/image_07082025_00_26_04_10284.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/26/image_07082025_00_26_54_10150.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_44_9010.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_35_10169.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_25_9994.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_15_10236.jpg', '/mnt/data/07082025/00/25/image_07082025_00_26_04_10284.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/26/image_07082025_00_26_54_10150.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_44_9010.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_35_10169.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_25_9994.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_15_10236.jpg', '/mnt/data/07082025/00/25/image_07082025_00_26_04_10284.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/26/image_07082025_00_26_54_10150.jpg
/mnt/data/07082025/00/26/image_07082025_00_26_44_9010.jpg
/mnt/data/07082025/00/26/image_07082025_00_26_35_10169.jpg
/mnt/data/07082025/00/26/image_07082025_00_26_25_9994.jpg
/mnt/data/07082025/00/26/image_07082025_00_26_15_10236.jpg
/mnt/data/07082025/00/25/image_07082025_00_26_04_10284.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 23.71892213821411 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-07 15:02:03.351855
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/26/image_07082025_00_26_54_10150.jpg', 2), ('/mnt/data/07082025/00/26/image_07082025_00_26_44_9010.jpg', 2), ('/mnt/data/07082025/00/26/image_07082025_00_26_35_10169.jpg', 2), ('/mnt/data/07082025/00/26/image_07082025_00_26_25_9994.jpg', 2), ('/mnt/data/07082025/00/26/image_07082025_00_26_15_10236.jpg', 2), ('/mnt/data/07082025/00/25/image_07082025_00_26_04_10284.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/26/image_07082025_00_26_54_10150.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_44_9010.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_35_10169.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_25_9994.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_15_10236.jpg', '/mnt/data/07082025/00/25/image_07082025_00_26_04_10284.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/26/image_07082025_00_26_54_10150.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_44_9010.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_35_10169.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_25_9994.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_15_10236.jpg', '/mnt/data/07082025/00/25/image_07082025_00_26_04_10284.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/26/image_07082025_00_26_54_10150.jpg
/mnt/data/07082025/00/26/image_07082025_00_26_44_9010.jpg
/mnt/data/07082025/00/26/image_07082025_00_26_35_10169.jpg
/mnt/data/07082025/00/26/image_07082025_00_26_25_9994.jpg
/mnt/data/07082025/00/26/image_07082025_00_26_15_10236.jpg
/mnt/data/07082025/00/25/image_07082025_00_26_04_10284.jpg
uploaded 0 photos
time to upload: 30.200218200683594 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:03:03.484046
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/26/image_07082025_00_26_54_10150.jpg', 2), ('/mnt/data/07082025/00/26/image_07082025_00_26_44_9010.jpg', 2), ('/mnt/data/07082025/00/26/image_07082025_00_26_35_10169.jpg', 2), ('/mnt/data/07082025/00/26/image_07082025_00_26_25_9994.jpg', 2), ('/mnt/data/07082025/00/26/image_07082025_00_26_15_10236.jpg', 2), ('/mnt/data/07082025/00/25/image_07082025_00_26_04_10284.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/26/image_07082025_00_26_54_10150.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_44_9010.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_35_10169.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_25_9994.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_15_10236.jpg', '/mnt/data/07082025/00/25/image_07082025_00_26_04_10284.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/26/image_07082025_00_26_54_10150.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_44_9010.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_35_10169.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_25_9994.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_15_10236.jpg', '/mnt/data/07082025/00/25/image_07082025_00_26_04_10284.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/26/image_07082025_00_26_54_10150.jpg
/mnt/data/07082025/00/26/image_07082025_00_26_44_9010.jpg
/mnt/data/07082025/00/26/image_07082025_00_26_35_10169.jpg
/mnt/data/07082025/00/26/image_07082025_00_26_25_9994.jpg
/mnt/data/07082025/00/26/image_07082025_00_26_15_10236.jpg
/mnt/data/07082025/00/25/image_07082025_00_26_04_10284.jpg
uploaded 0 photos
time to upload: 30.207940101623535 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:04:02.683214
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/26/image_07082025_00_26_54_10150.jpg', 2), ('/mnt/data/07082025/00/26/image_07082025_00_26_44_9010.jpg', 2), ('/mnt/data/07082025/00/26/image_07082025_00_26_35_10169.jpg', 2), ('/mnt/data/07082025/00/26/image_07082025_00_26_25_9994.jpg', 2), ('/mnt/data/07082025/00/26/image_07082025_00_26_15_10236.jpg', 2), ('/mnt/data/07082025/00/25/image_07082025_00_26_04_10284.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/26/image_07082025_00_26_54_10150.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_44_9010.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_35_10169.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_25_9994.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_15_10236.jpg', '/mnt/data/07082025/00/25/image_07082025_00_26_04_10284.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/26/image_07082025_00_26_54_10150.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_44_9010.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_35_10169.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_25_9994.jpg', '/mnt/data/07082025/00/26/image_07082025_00_26_15_10236.jpg', '/mnt/data/07082025/00/25/image_07082025_00_26_04_10284.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/26/image_07082025_00_26_54_10150.jpg
/mnt/data/07082025/00/26/image_07082025_00_26_44_9010.jpg
/mnt/data/07082025/00/26/image_07082025_00_26_35_10169.jpg
/mnt/data/07082025/00/26/image_07082025_00_26_25_9994.jpg
/mnt/data/07082025/00/26/image_07082025_00_26_15_10236.jpg
/mnt/data/07082025/00/25/image_07082025_00_26_04_10284.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":["1375676750","1375676600","1375676481","1375676643","1375676706","1375676567"],"photo_ids_order":["1375676481","1375676567","1375676600","1375676643","1375676706","1375676750"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/6f92d6bcfde70c59701d6a3759ed5581.jpg","text":"TemporaryFile(/tmp/multipartBody5007130607917247999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571927257,"filename":"image_07082025_00_26_04_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/7/e9b095e8b0aaa2b477b35390eb59aafe.jpg","text":"TemporaryFile(/tmp/multipartBody8935499682327456600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571927257,"filename":"image_07082025_00_26_35_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/7/8e73c7a23b01ab38ae13c319de9015c1.jpg","text":"TemporaryFile(/tmp/multipartBody1906389879956609389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571927257,"filename":"image_07082025_00_26_54_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/7/48c4b0badc428fd5b78d2b6dccf9cbb2.jpg","text":"TemporaryFile(/tmp/multipartBody7349490153502625361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571927257,"filename":"image_07082025_00_26_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/7/68f8adf12635c863268e78b603cb92ef.jpg","text":"TemporaryFile(/tmp/multipartBody220050185666023779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571927257,"filename":"image_07082025_00_26_15_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/7/c7a4132f2a8b613d1edd25bdb46cf40b.jpg","text":"TemporaryFile(/tmp/multipartBody2001649071272134496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754571927257,"filename":"image_07082025_00_26_44_9010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375676600","file1":"1375676567","file0":"1375676481","file4":"1375676706","file5":"1375676750","file3":"1375676643"},"map_files_photo_id_array":[{"photo_id":"1375676750","filename":"file5"},{"photo_id":"1375676600","filename":"file2"},{"photo_id":"1375676706","filename":"file4"},{"photo_id":"1375676567","filename":"file1"},{"photo_id":"1375676481","filename":"file0"},{"photo_id":"1375676643","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375676750":["hashtag1","hashtag2"]},{"1375676600":["hashtag1","hashtag2"]},{"1375676481":["hashtag1","hashtag2"]},{"1375676643":["hashtag1","hashtag2"]},{"1375676706":["hashtag1","hashtag2"]},{"1375676567":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375676750, 1375676600, 1375676481, 1375676643, 1375676706, 1375676567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.90076541900635 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:06:03.189535
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/25/image_07082025_00_25_54_10189.jpg', 2), ('/mnt/data/07082025/00/25/image_07082025_00_25_44_10182.jpg', 2), ('/mnt/data/07082025/00/25/image_07082025_00_25_34_9996.jpg', 2), ('/mnt/data/07082025/00/25/image_07082025_00_25_24_8879.jpg', 2), ('/mnt/data/07082025/00/25/image_07082025_00_25_15_10062.jpg', 2), ('/mnt/data/07082025/00/24/image_07082025_00_25_05_10079.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/25/image_07082025_00_25_54_10189.jpg', '/mnt/data/07082025/00/25/image_07082025_00_25_44_10182.jpg', '/mnt/data/07082025/00/25/image_07082025_00_25_34_9996.jpg', '/mnt/data/07082025/00/25/image_07082025_00_25_24_8879.jpg', '/mnt/data/07082025/00/25/image_07082025_00_25_15_10062.jpg', '/mnt/data/07082025/00/24/image_07082025_00_25_05_10079.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/25/image_07082025_00_25_54_10189.jpg', '/mnt/data/07082025/00/25/image_07082025_00_25_44_10182.jpg', '/mnt/data/07082025/00/25/image_07082025_00_25_34_9996.jpg', '/mnt/data/07082025/00/25/image_07082025_00_25_24_8879.jpg', '/mnt/data/07082025/00/25/image_07082025_00_25_15_10062.jpg', '/mnt/data/07082025/00/24/image_07082025_00_25_05_10079.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/25/image_07082025_00_25_54_10189.jpg
/mnt/data/07082025/00/25/image_07082025_00_25_44_10182.jpg
/mnt/data/07082025/00/25/image_07082025_00_25_34_9996.jpg
/mnt/data/07082025/00/25/image_07082025_00_25_24_8879.jpg
/mnt/data/07082025/00/25/image_07082025_00_25_15_10062.jpg
/mnt/data/07082025/00/24/image_07082025_00_25_05_10079.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":["1375677673","1375677670","1375677619","1375677675","1375677558","1375677525"],"photo_ids_order":["1375677525","1375677558","1375677619","1375677670","1375677673","1375677675"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/aa743b0b18c13d24486c65412bc2ad2c.jpg","text":"TemporaryFile(/tmp/multipartBody529155347833366064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572047258,"filename":"image_07082025_00_25_15_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/7/711df38cae48fc50c7939895f5d00821.jpg","text":"TemporaryFile(/tmp/multipartBody924031958486084901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572047258,"filename":"image_07082025_00_25_24_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/7/1454519e2b6bc2ab20caa73384cc2cdc.jpg","text":"TemporaryFile(/tmp/multipartBody2259757586173092839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572047258,"filename":"image_07082025_00_25_34_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/7/3cd198405924d308fa36b3fb1039e635.jpg","text":"TemporaryFile(/tmp/multipartBody2574204309729862871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572047258,"filename":"image_07082025_00_25_05_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/7/0d4932da091787e987d055442836fca9.jpg","text":"TemporaryFile(/tmp/multipartBody4395537676528227205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572047258,"filename":"image_07082025_00_25_44_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/7/fe4445fbe8532c19f30eebcd0ac1a347.jpg","text":"TemporaryFile(/tmp/multipartBody2724989798847492379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572047258,"filename":"image_07082025_00_25_54_10189.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375677619","file1":"1375677558","file0":"1375677525","file4":"1375677673","file5":"1375677675","file3":"1375677670"},"map_files_photo_id_array":[{"photo_id":"1375677675","filename":"file5"},{"photo_id":"1375677619","filename":"file2"},{"photo_id":"1375677673","filename":"file4"},{"photo_id":"1375677558","filename":"file1"},{"photo_id":"1375677525","filename":"file0"},{"photo_id":"1375677670","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375677673":["hashtag1","hashtag2"]},{"1375677670":["hashtag1","hashtag2"]},{"1375677619":["hashtag1","hashtag2"]},{"1375677675":["hashtag1","hashtag2"]},{"1375677558":["hashtag1","hashtag2"]},{"1375677525":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375677673, 1375677670, 1375677619, 1375677675, 1375677558, 1375677525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.2045829296112 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:08:02.451918
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/24/image_07082025_00_24_55_9974.jpg', 2), ('/mnt/data/07082025/00/24/image_07082025_00_24_45_9969.jpg', 2), ('/mnt/data/07082025/00/24/image_07082025_00_24_35_10034.jpg', 2), ('/mnt/data/07082025/00/24/image_07082025_00_24_25_9976.jpg', 2), ('/mnt/data/07082025/00/24/image_07082025_00_24_15_10003.jpg', 2), ('/mnt/data/07082025/00/23/image_07082025_00_24_05_10137.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/24/image_07082025_00_24_55_9974.jpg', '/mnt/data/07082025/00/24/image_07082025_00_24_45_9969.jpg', '/mnt/data/07082025/00/24/image_07082025_00_24_35_10034.jpg', '/mnt/data/07082025/00/24/image_07082025_00_24_25_9976.jpg', '/mnt/data/07082025/00/24/image_07082025_00_24_15_10003.jpg', '/mnt/data/07082025/00/23/image_07082025_00_24_05_10137.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/24/image_07082025_00_24_55_9974.jpg', '/mnt/data/07082025/00/24/image_07082025_00_24_45_9969.jpg', '/mnt/data/07082025/00/24/image_07082025_00_24_35_10034.jpg', '/mnt/data/07082025/00/24/image_07082025_00_24_25_9976.jpg', '/mnt/data/07082025/00/24/image_07082025_00_24_15_10003.jpg', '/mnt/data/07082025/00/23/image_07082025_00_24_05_10137.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/24/image_07082025_00_24_55_9974.jpg
/mnt/data/07082025/00/24/image_07082025_00_24_45_9969.jpg
/mnt/data/07082025/00/24/image_07082025_00_24_35_10034.jpg
/mnt/data/07082025/00/24/image_07082025_00_24_25_9976.jpg
/mnt/data/07082025/00/24/image_07082025_00_24_15_10003.jpg
/mnt/data/07082025/00/23/image_07082025_00_24_05_10137.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375678036","1375677993","1375678038","1375678032","1375678017","1375678040"],"photo_ids_order":["1375677993","1375678017","1375678032","1375678036","1375678038","1375678040"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/acbd278c4e837efafad6b9603352de58.jpg","text":"TemporaryFile(/tmp/multipartBody647381159764565511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572162335,"filename":"image_07082025_00_24_25_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/7/f626b1eddde4a1802796193ec48da036.jpg","text":"TemporaryFile(/tmp/multipartBody5186184622425571724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572162335,"filename":"image_07082025_00_24_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/7/f32f5810a0c788d1a6b224623b0e1d15.jpg","text":"TemporaryFile(/tmp/multipartBody283505237520258511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572162335,"filename":"image_07082025_00_24_15_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/7/d23887ac8f9396b1b5ef9f24a21beefd.jpg","text":"TemporaryFile(/tmp/multipartBody6291211677969065093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572162335,"filename":"image_07082025_00_24_35_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/7/5ed4efcb9ce5d8bd887c358e7ee215c7.jpg","text":"TemporaryFile(/tmp/multipartBody447920915024124260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572162335,"filename":"image_07082025_00_24_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/7/62561bcd48b11c854e6bea1eaeead9ac.jpg","text":"TemporaryFile(/tmp/multipartBody5688960976411293328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572162335,"filename":"image_07082025_00_24_05_10137.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375678032","file1":"1375678017","file0":"1375677993","file4":"1375678038","file5":"1375678040","file3":"1375678036"},"map_files_photo_id_array":[{"photo_id":"1375678040","filename":"file5"},{"photo_id":"1375678032","filename":"file2"},{"photo_id":"1375678038","filename":"file4"},{"photo_id":"1375678017","filename":"file1"},{"photo_id":"1375677993","filename":"file0"},{"photo_id":"1375678036","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375678036":["hashtag1","hashtag2"]},{"1375677993":["hashtag1","hashtag2"]},{"1375678038":["hashtag1","hashtag2"]},{"1375678032":["hashtag1","hashtag2"]},{"1375678017":["hashtag1","hashtag2"]},{"1375678040":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375678036, 1375677993, 1375678038, 1375678032, 1375678017, 1375678040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.59134864807129 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:09:03.640205
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/23/image_07082025_00_23_55_9996.jpg', 2), ('/mnt/data/07082025/00/23/image_07082025_00_23_45_9994.jpg', 2), ('/mnt/data/07082025/00/23/image_07082025_00_23_35_9994.jpg', 2), ('/mnt/data/07082025/00/23/image_07082025_00_23_25_10037.jpg', 2), ('/mnt/data/07082025/00/23/image_07082025_00_23_15_10025.jpg', 2), ('/mnt/data/07082025/00/22/image_07082025_00_23_05_10044.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/23/image_07082025_00_23_55_9996.jpg', '/mnt/data/07082025/00/23/image_07082025_00_23_45_9994.jpg', '/mnt/data/07082025/00/23/image_07082025_00_23_35_9994.jpg', '/mnt/data/07082025/00/23/image_07082025_00_23_25_10037.jpg', '/mnt/data/07082025/00/23/image_07082025_00_23_15_10025.jpg', '/mnt/data/07082025/00/22/image_07082025_00_23_05_10044.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/23/image_07082025_00_23_55_9996.jpg', '/mnt/data/07082025/00/23/image_07082025_00_23_45_9994.jpg', '/mnt/data/07082025/00/23/image_07082025_00_23_35_9994.jpg', '/mnt/data/07082025/00/23/image_07082025_00_23_25_10037.jpg', '/mnt/data/07082025/00/23/image_07082025_00_23_15_10025.jpg', '/mnt/data/07082025/00/22/image_07082025_00_23_05_10044.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/23/image_07082025_00_23_55_9996.jpg
/mnt/data/07082025/00/23/image_07082025_00_23_45_9994.jpg
/mnt/data/07082025/00/23/image_07082025_00_23_35_9994.jpg
/mnt/data/07082025/00/23/image_07082025_00_23_25_10037.jpg
/mnt/data/07082025/00/23/image_07082025_00_23_15_10025.jpg
/mnt/data/07082025/00/22/image_07082025_00_23_05_10044.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375678102","1375678074","1375678071","1375678068","1375678076","1375678078"],"photo_ids_order":["1375678068","1375678071","1375678074","1375678076","1375678078","1375678102"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/56ec9b56c16e5d183d2ed4e6e40d5ca3.jpg","text":"TemporaryFile(/tmp/multipartBody4930780548622569821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572222526,"filename":"image_07082025_00_23_05_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/7/4dc5fabaa3afe88d0a1cb86655381af6.jpg","text":"TemporaryFile(/tmp/multipartBody88696619330705540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572222526,"filename":"image_07082025_00_23_35_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/7/1ece75cdb2a4998017bea7b82ef9d9e3.jpg","text":"TemporaryFile(/tmp/multipartBody1302840316579012095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572222526,"filename":"image_07082025_00_23_45_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/7/b0c31e1127e0948d544f84f659bc893f.jpg","text":"TemporaryFile(/tmp/multipartBody6748788344446299372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572222526,"filename":"image_07082025_00_23_55_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/7/e93b61a794a8c90c14b72e292629a98d.jpg","text":"TemporaryFile(/tmp/multipartBody2894776379901567041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572222526,"filename":"image_07082025_00_23_25_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/7/0c5590705481782b2913e156f44d9849.jpg","text":"TemporaryFile(/tmp/multipartBody4886627083791105281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572222526,"filename":"image_07082025_00_23_15_10025.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375678074","file1":"1375678071","file0":"1375678068","file4":"1375678078","file5":"1375678102","file3":"1375678076"},"map_files_photo_id_array":[{"photo_id":"1375678102","filename":"file5"},{"photo_id":"1375678074","filename":"file2"},{"photo_id":"1375678078","filename":"file4"},{"photo_id":"1375678071","filename":"file1"},{"photo_id":"1375678068","filename":"file0"},{"photo_id":"1375678076","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375678102":["hashtag1","hashtag2"]},{"1375678074":["hashtag1","hashtag2"]},{"1375678071":["hashtag1","hashtag2"]},{"1375678068":["hashtag1","hashtag2"]},{"1375678076":["hashtag1","hashtag2"]},{"1375678078":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375678102, 1375678074, 1375678071, 1375678068, 1375678076, 1375678078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.558865785598755 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:10:02.496669
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/22/image_07082025_00_22_55_10078.jpg', 2), ('/mnt/data/07082025/00/22/image_07082025_00_22_44_10151.jpg', 2), ('/mnt/data/07082025/00/22/image_07082025_00_22_24_10156.jpg', 2), ('/mnt/data/07082025/00/21/image_07082025_00_21_55_10073.jpg', 2), ('/mnt/data/07082025/00/21/image_07082025_00_21_45_10035.jpg', 2), ('/mnt/data/07082025/00/21/image_07082025_00_21_35_9957.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/22/image_07082025_00_22_55_10078.jpg', '/mnt/data/07082025/00/22/image_07082025_00_22_44_10151.jpg', '/mnt/data/07082025/00/22/image_07082025_00_22_24_10156.jpg', '/mnt/data/07082025/00/21/image_07082025_00_21_55_10073.jpg', '/mnt/data/07082025/00/21/image_07082025_00_21_45_10035.jpg', '/mnt/data/07082025/00/21/image_07082025_00_21_35_9957.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/22/image_07082025_00_22_55_10078.jpg', '/mnt/data/07082025/00/22/image_07082025_00_22_44_10151.jpg', '/mnt/data/07082025/00/22/image_07082025_00_22_24_10156.jpg', '/mnt/data/07082025/00/21/image_07082025_00_21_55_10073.jpg', '/mnt/data/07082025/00/21/image_07082025_00_21_45_10035.jpg', '/mnt/data/07082025/00/21/image_07082025_00_21_35_9957.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/22/image_07082025_00_22_55_10078.jpg
/mnt/data/07082025/00/22/image_07082025_00_22_44_10151.jpg
/mnt/data/07082025/00/22/image_07082025_00_22_24_10156.jpg
/mnt/data/07082025/00/21/image_07082025_00_21_55_10073.jpg
/mnt/data/07082025/00/21/image_07082025_00_21_45_10035.jpg
/mnt/data/07082025/00/21/image_07082025_00_21_35_9957.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375678156","1375678254","1375678187","1375678160","1375678217","1375678145"],"photo_ids_order":["1375678145","1375678156","1375678160","1375678187","1375678217","1375678254"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/97de4c6ba6d81a57d5823bab73d30b0b.jpg","text":"TemporaryFile(/tmp/multipartBody3835638771132901189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572279321,"filename":"image_07082025_00_22_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/7/32c1f683a82e099bfdb4c7a50b39558f.jpg","text":"TemporaryFile(/tmp/multipartBody8738236308929379895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572279321,"filename":"image_07082025_00_21_35_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/7/2d509801f1b35c04481caa01de9fc054.jpg","text":"TemporaryFile(/tmp/multipartBody3883400919147974430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572279321,"filename":"image_07082025_00_21_55_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/7/eb8ac9295462d83c7478e60d92cc8416.jpg","text":"TemporaryFile(/tmp/multipartBody3642726624057707585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572279321,"filename":"image_07082025_00_22_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/7/51f3b007c26d9e203ee86cdfa5ae834e.jpg","text":"TemporaryFile(/tmp/multipartBody1498054400651760162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572279321,"filename":"image_07082025_00_21_45_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/7/ab834d8c51e200c58c494559d5388763.jpg","text":"TemporaryFile(/tmp/multipartBody1717690069806866397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572279321,"filename":"image_07082025_00_22_55_10078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375678160","file1":"1375678156","file0":"1375678145","file4":"1375678217","file5":"1375678254","file3":"1375678187"},"map_files_photo_id_array":[{"photo_id":"1375678254","filename":"file5"},{"photo_id":"1375678160","filename":"file2"},{"photo_id":"1375678217","filename":"file4"},{"photo_id":"1375678156","filename":"file1"},{"photo_id":"1375678145","filename":"file0"},{"photo_id":"1375678187","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375678156":["hashtag1","hashtag2"]},{"1375678254":["hashtag1","hashtag2"]},{"1375678187":["hashtag1","hashtag2"]},{"1375678160":["hashtag1","hashtag2"]},{"1375678217":["hashtag1","hashtag2"]},{"1375678145":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375678156, 1375678254, 1375678187, 1375678160, 1375678217, 1375678145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.69225454330444 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:11:02.484904
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/21/image_07082025_00_21_25_10051.jpg', 2), ('/mnt/data/07082025/00/21/image_07082025_00_21_15_10110.jpg', 2), ('/mnt/data/07082025/00/20/image_07082025_00_21_04_10293.jpg', 2), ('/mnt/data/07082025/00/20/image_07082025_00_20_54_10146.jpg', 2), ('/mnt/data/07082025/00/20/image_07082025_00_20_44_10102.jpg', 2), ('/mnt/data/07082025/00/20/image_07082025_00_20_34_10128.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/21/image_07082025_00_21_25_10051.jpg', '/mnt/data/07082025/00/21/image_07082025_00_21_15_10110.jpg', '/mnt/data/07082025/00/20/image_07082025_00_21_04_10293.jpg', '/mnt/data/07082025/00/20/image_07082025_00_20_54_10146.jpg', '/mnt/data/07082025/00/20/image_07082025_00_20_44_10102.jpg', '/mnt/data/07082025/00/20/image_07082025_00_20_34_10128.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/21/image_07082025_00_21_25_10051.jpg', '/mnt/data/07082025/00/21/image_07082025_00_21_15_10110.jpg', '/mnt/data/07082025/00/20/image_07082025_00_21_04_10293.jpg', '/mnt/data/07082025/00/20/image_07082025_00_20_54_10146.jpg', '/mnt/data/07082025/00/20/image_07082025_00_20_44_10102.jpg', '/mnt/data/07082025/00/20/image_07082025_00_20_34_10128.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/21/image_07082025_00_21_25_10051.jpg
/mnt/data/07082025/00/21/image_07082025_00_21_15_10110.jpg
/mnt/data/07082025/00/20/image_07082025_00_21_04_10293.jpg
/mnt/data/07082025/00/20/image_07082025_00_20_54_10146.jpg
/mnt/data/07082025/00/20/image_07082025_00_20_44_10102.jpg
/mnt/data/07082025/00/20/image_07082025_00_20_34_10128.jpg
uploaded 0 photos
time to upload: 30.271462202072144 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:12:03.282285
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/21/image_07082025_00_21_25_10051.jpg', 2), ('/mnt/data/07082025/00/21/image_07082025_00_21_15_10110.jpg', 2), ('/mnt/data/07082025/00/20/image_07082025_00_21_04_10293.jpg', 2), ('/mnt/data/07082025/00/20/image_07082025_00_20_54_10146.jpg', 2), ('/mnt/data/07082025/00/20/image_07082025_00_20_44_10102.jpg', 2), ('/mnt/data/07082025/00/20/image_07082025_00_20_34_10128.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/21/image_07082025_00_21_25_10051.jpg', '/mnt/data/07082025/00/21/image_07082025_00_21_15_10110.jpg', '/mnt/data/07082025/00/20/image_07082025_00_21_04_10293.jpg', '/mnt/data/07082025/00/20/image_07082025_00_20_54_10146.jpg', '/mnt/data/07082025/00/20/image_07082025_00_20_44_10102.jpg', '/mnt/data/07082025/00/20/image_07082025_00_20_34_10128.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/21/image_07082025_00_21_25_10051.jpg', '/mnt/data/07082025/00/21/image_07082025_00_21_15_10110.jpg', '/mnt/data/07082025/00/20/image_07082025_00_21_04_10293.jpg', '/mnt/data/07082025/00/20/image_07082025_00_20_54_10146.jpg', '/mnt/data/07082025/00/20/image_07082025_00_20_44_10102.jpg', '/mnt/data/07082025/00/20/image_07082025_00_20_34_10128.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/21/image_07082025_00_21_25_10051.jpg
/mnt/data/07082025/00/21/image_07082025_00_21_15_10110.jpg
/mnt/data/07082025/00/20/image_07082025_00_21_04_10293.jpg
/mnt/data/07082025/00/20/image_07082025_00_20_54_10146.jpg
/mnt/data/07082025/00/20/image_07082025_00_20_44_10102.jpg
/mnt/data/07082025/00/20/image_07082025_00_20_34_10128.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375678491","1375678485","1375678496","1375678481","1375678502","1375678477"],"photo_ids_order":["1375678477","1375678481","1375678485","1375678491","1375678496","1375678502"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/50f9985597079a685c97d509b9c6108f.jpg","text":"TemporaryFile(/tmp/multipartBody7304238514672023596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572391035,"filename":"image_07082025_00_20_54_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/7/f1dff9c9f5e7311195ffdef5d8f4d7d3.jpg","text":"TemporaryFile(/tmp/multipartBody4981440505891578297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572391035,"filename":"image_07082025_00_21_04_10293.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/42853682c29013154ad181f41e23f7bf.jpg","text":"TemporaryFile(/tmp/multipartBody6635317037732056587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572391035,"filename":"image_07082025_00_20_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/7/30450e255d6fc0df41a96bf58bb4c4e2.jpg","text":"TemporaryFile(/tmp/multipartBody8827848358038450862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572391035,"filename":"image_07082025_00_21_15_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/7/4e79ec8f4e287408f79a2c5b8a6842be.jpg","text":"TemporaryFile(/tmp/multipartBody5821304103949838412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572391035,"filename":"image_07082025_00_20_34_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/7/b4952a34ebe173d0446544874ecf827d.jpg","text":"TemporaryFile(/tmp/multipartBody3929433580679820026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572391035,"filename":"image_07082025_00_21_25_10051.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375678485","file1":"1375678481","file0":"1375678477","file4":"1375678496","file5":"1375678502","file3":"1375678491"},"map_files_photo_id_array":[{"photo_id":"1375678502","filename":"file5"},{"photo_id":"1375678485","filename":"file2"},{"photo_id":"1375678496","filename":"file4"},{"photo_id":"1375678481","filename":"file1"},{"photo_id":"1375678477","filename":"file0"},{"photo_id":"1375678491","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375678491":["hashtag1","hashtag2"]},{"1375678485":["hashtag1","hashtag2"]},{"1375678496":["hashtag1","hashtag2"]},{"1375678481":["hashtag1","hashtag2"]},{"1375678502":["hashtag1","hashtag2"]},{"1375678477":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375678491, 1375678485, 1375678496, 1375678481, 1375678502, 1375678477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.742586612701416 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:13:03.031196
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/20/image_07082025_00_20_24_8935.jpg', 2), ('/mnt/data/07082025/00/20/image_07082025_00_20_15_10075.jpg', 2), ('/mnt/data/07082025/00/19/image_07082025_00_20_05_10021.jpg', 2), ('/mnt/data/07082025/00/19/image_07082025_00_19_55_9989.jpg', 2), ('/mnt/data/07082025/00/19/image_07082025_00_19_45_9988.jpg', 2), ('/mnt/data/07082025/00/19/image_07082025_00_19_35_10115.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/20/image_07082025_00_20_24_8935.jpg', '/mnt/data/07082025/00/20/image_07082025_00_20_15_10075.jpg', '/mnt/data/07082025/00/19/image_07082025_00_20_05_10021.jpg', '/mnt/data/07082025/00/19/image_07082025_00_19_55_9989.jpg', '/mnt/data/07082025/00/19/image_07082025_00_19_45_9988.jpg', '/mnt/data/07082025/00/19/image_07082025_00_19_35_10115.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/20/image_07082025_00_20_24_8935.jpg', '/mnt/data/07082025/00/20/image_07082025_00_20_15_10075.jpg', '/mnt/data/07082025/00/19/image_07082025_00_20_05_10021.jpg', '/mnt/data/07082025/00/19/image_07082025_00_19_55_9989.jpg', '/mnt/data/07082025/00/19/image_07082025_00_19_45_9988.jpg', '/mnt/data/07082025/00/19/image_07082025_00_19_35_10115.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/20/image_07082025_00_20_24_8935.jpg
/mnt/data/07082025/00/20/image_07082025_00_20_15_10075.jpg
/mnt/data/07082025/00/19/image_07082025_00_20_05_10021.jpg
/mnt/data/07082025/00/19/image_07082025_00_19_55_9989.jpg
/mnt/data/07082025/00/19/image_07082025_00_19_45_9988.jpg
/mnt/data/07082025/00/19/image_07082025_00_19_35_10115.jpg
uploaded 0 photos
time to upload: 30.253718376159668 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:14:02.803209
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/20/image_07082025_00_20_24_8935.jpg', 2), ('/mnt/data/07082025/00/20/image_07082025_00_20_15_10075.jpg', 2), ('/mnt/data/07082025/00/19/image_07082025_00_20_05_10021.jpg', 2), ('/mnt/data/07082025/00/19/image_07082025_00_19_55_9989.jpg', 2), ('/mnt/data/07082025/00/19/image_07082025_00_19_45_9988.jpg', 2), ('/mnt/data/07082025/00/19/image_07082025_00_19_35_10115.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/20/image_07082025_00_20_24_8935.jpg', '/mnt/data/07082025/00/20/image_07082025_00_20_15_10075.jpg', '/mnt/data/07082025/00/19/image_07082025_00_20_05_10021.jpg', '/mnt/data/07082025/00/19/image_07082025_00_19_55_9989.jpg', '/mnt/data/07082025/00/19/image_07082025_00_19_45_9988.jpg', '/mnt/data/07082025/00/19/image_07082025_00_19_35_10115.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/20/image_07082025_00_20_24_8935.jpg', '/mnt/data/07082025/00/20/image_07082025_00_20_15_10075.jpg', '/mnt/data/07082025/00/19/image_07082025_00_20_05_10021.jpg', '/mnt/data/07082025/00/19/image_07082025_00_19_55_9989.jpg', '/mnt/data/07082025/00/19/image_07082025_00_19_45_9988.jpg', '/mnt/data/07082025/00/19/image_07082025_00_19_35_10115.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/20/image_07082025_00_20_24_8935.jpg
/mnt/data/07082025/00/20/image_07082025_00_20_15_10075.jpg
/mnt/data/07082025/00/19/image_07082025_00_20_05_10021.jpg
/mnt/data/07082025/00/19/image_07082025_00_19_55_9989.jpg
/mnt/data/07082025/00/19/image_07082025_00_19_45_9988.jpg
/mnt/data/07082025/00/19/image_07082025_00_19_35_10115.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":["1375679283","1375679346","1375679349","1375679328","1375679336","1375679317"],"photo_ids_order":["1375679283","1375679317","1375679328","1375679336","1375679346","1375679349"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/af48bf34b9d7ba0581fe0143c8aee553.jpg","text":"TemporaryFile(/tmp/multipartBody8705200578502893910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572525104,"filename":"image_07082025_00_20_24_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/7/e79b7f6b7ab5c1049746a84b7c35e71c.jpg","text":"TemporaryFile(/tmp/multipartBody6060403892260506635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572525104,"filename":"image_07082025_00_19_45_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/7/7018cd74c0d10fe6fa8a491dba6f349d.jpg","text":"TemporaryFile(/tmp/multipartBody7382954573259972802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572525104,"filename":"image_07082025_00_19_35_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/7/33d188957b8330c02356ad2498abb5ca.jpg","text":"TemporaryFile(/tmp/multipartBody1596192821169687039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572525104,"filename":"image_07082025_00_20_05_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/7/7b1de586a7c6ed55377f9bb649df8965.jpg","text":"TemporaryFile(/tmp/multipartBody3331846702244208063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572525104,"filename":"image_07082025_00_19_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/7/855b5c1d469bcdb561bd0ed8b27d0677.jpg","text":"TemporaryFile(/tmp/multipartBody8703004353678940676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572525104,"filename":"image_07082025_00_20_15_10075.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375679328","file1":"1375679317","file0":"1375679283","file4":"1375679346","file5":"1375679349","file3":"1375679336"},"map_files_photo_id_array":[{"photo_id":"1375679349","filename":"file5"},{"photo_id":"1375679328","filename":"file2"},{"photo_id":"1375679346","filename":"file4"},{"photo_id":"1375679317","filename":"file1"},{"photo_id":"1375679283","filename":"file0"},{"photo_id":"1375679336","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375679283":["hashtag1","hashtag2"]},{"1375679346":["hashtag1","hashtag2"]},{"1375679349":["hashtag1","hashtag2"]},{"1375679328":["hashtag1","hashtag2"]},{"1375679336":["hashtag1","hashtag2"]},{"1375679317":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375679283, 1375679346, 1375679349, 1375679328, 1375679336, 1375679317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.32406687736511 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:16:02.847357
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/19/image_07082025_00_19_25_10068.jpg', 2), ('/mnt/data/07082025/00/19/image_07082025_00_19_15_10050.jpg', 2), ('/mnt/data/07082025/00/18/image_07082025_00_19_05_10015.jpg', 2), ('/mnt/data/07082025/00/18/image_07082025_00_18_55_9989.jpg', 2), ('/mnt/data/07082025/00/18/image_07082025_00_18_45_9945.jpg', 2), ('/mnt/data/07082025/00/18/image_07082025_00_18_35_9972.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/19/image_07082025_00_19_25_10068.jpg', '/mnt/data/07082025/00/19/image_07082025_00_19_15_10050.jpg', '/mnt/data/07082025/00/18/image_07082025_00_19_05_10015.jpg', '/mnt/data/07082025/00/18/image_07082025_00_18_55_9989.jpg', '/mnt/data/07082025/00/18/image_07082025_00_18_45_9945.jpg', '/mnt/data/07082025/00/18/image_07082025_00_18_35_9972.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/19/image_07082025_00_19_25_10068.jpg', '/mnt/data/07082025/00/19/image_07082025_00_19_15_10050.jpg', '/mnt/data/07082025/00/18/image_07082025_00_19_05_10015.jpg', '/mnt/data/07082025/00/18/image_07082025_00_18_55_9989.jpg', '/mnt/data/07082025/00/18/image_07082025_00_18_45_9945.jpg', '/mnt/data/07082025/00/18/image_07082025_00_18_35_9972.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/19/image_07082025_00_19_25_10068.jpg
/mnt/data/07082025/00/19/image_07082025_00_19_15_10050.jpg
/mnt/data/07082025/00/18/image_07082025_00_19_05_10015.jpg
/mnt/data/07082025/00/18/image_07082025_00_18_55_9989.jpg
/mnt/data/07082025/00/18/image_07082025_00_18_45_9945.jpg
/mnt/data/07082025/00/18/image_07082025_00_18_35_9972.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375679559","1375679538","1375679561","1375679534","1375679515","1375679530"],"photo_ids_order":["1375679515","1375679530","1375679534","1375679538","1375679559","1375679561"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/e922bea22d606287ecddf30d4bdcd8f3.jpg","text":"TemporaryFile(/tmp/multipartBody3498779226470210132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572637691,"filename":"image_07082025_00_18_45_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/7/e1b2f7819a77b2a84fecd9f7fbe4cb39.jpg","text":"TemporaryFile(/tmp/multipartBody19530164482115950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572637691,"filename":"image_07082025_00_18_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/7/33ef623fc8d0d20afd8a49c60763ac22.jpg","text":"TemporaryFile(/tmp/multipartBody1683298074994773222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572637691,"filename":"image_07082025_00_18_35_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/7/16a8381188b65aef29c49b635d7dd640.jpg","text":"TemporaryFile(/tmp/multipartBody5968880049026403068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572637691,"filename":"image_07082025_00_19_05_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/7/d9127c44459458f1621a187017d5a7da.jpg","text":"TemporaryFile(/tmp/multipartBody8753167857313112672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572637691,"filename":"image_07082025_00_19_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/7/905cfca49a183560f7cb1cfe67d878c6.jpg","text":"TemporaryFile(/tmp/multipartBody617772282241980007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572637691,"filename":"image_07082025_00_19_15_10050.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375679534","file1":"1375679530","file0":"1375679515","file4":"1375679559","file5":"1375679561","file3":"1375679538"},"map_files_photo_id_array":[{"photo_id":"1375679561","filename":"file5"},{"photo_id":"1375679534","filename":"file2"},{"photo_id":"1375679559","filename":"file4"},{"photo_id":"1375679530","filename":"file1"},{"photo_id":"1375679515","filename":"file0"},{"photo_id":"1375679538","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375679559":["hashtag1","hashtag2"]},{"1375679538":["hashtag1","hashtag2"]},{"1375679561":["hashtag1","hashtag2"]},{"1375679534":["hashtag1","hashtag2"]},{"1375679515":["hashtag1","hashtag2"]},{"1375679530":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375679559, 1375679538, 1375679561, 1375679534, 1375679515, 1375679530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.24452090263367 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:17:02.811757
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/18/image_07082025_00_18_25_9980.jpg', 2), ('/mnt/data/07082025/00/18/image_07082025_00_18_15_9982.jpg', 2), ('/mnt/data/07082025/00/17/image_07082025_00_18_05_10115.jpg', 2), ('/mnt/data/07082025/00/17/image_07082025_00_17_55_9968.jpg', 2), ('/mnt/data/07082025/00/16/image_07082025_00_16_35_10396.jpg', 2), ('/mnt/data/07082025/00/16/image_07082025_00_16_25_10248.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/18/image_07082025_00_18_25_9980.jpg', '/mnt/data/07082025/00/18/image_07082025_00_18_15_9982.jpg', '/mnt/data/07082025/00/17/image_07082025_00_18_05_10115.jpg', '/mnt/data/07082025/00/17/image_07082025_00_17_55_9968.jpg', '/mnt/data/07082025/00/16/image_07082025_00_16_35_10396.jpg', '/mnt/data/07082025/00/16/image_07082025_00_16_25_10248.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/18/image_07082025_00_18_25_9980.jpg', '/mnt/data/07082025/00/18/image_07082025_00_18_15_9982.jpg', '/mnt/data/07082025/00/17/image_07082025_00_18_05_10115.jpg', '/mnt/data/07082025/00/17/image_07082025_00_17_55_9968.jpg', '/mnt/data/07082025/00/16/image_07082025_00_16_35_10396.jpg', '/mnt/data/07082025/00/16/image_07082025_00_16_25_10248.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/18/image_07082025_00_18_25_9980.jpg
/mnt/data/07082025/00/18/image_07082025_00_18_15_9982.jpg
/mnt/data/07082025/00/17/image_07082025_00_18_05_10115.jpg
/mnt/data/07082025/00/17/image_07082025_00_17_55_9968.jpg
/mnt/data/07082025/00/16/image_07082025_00_16_35_10396.jpg
/mnt/data/07082025/00/16/image_07082025_00_16_25_10248.jpg
uploaded 0 photos
time to upload: 30.268582582473755 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:18:02.455382
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/18/image_07082025_00_18_25_9980.jpg', 2), ('/mnt/data/07082025/00/18/image_07082025_00_18_15_9982.jpg', 2), ('/mnt/data/07082025/00/17/image_07082025_00_18_05_10115.jpg', 2), ('/mnt/data/07082025/00/17/image_07082025_00_17_55_9968.jpg', 2), ('/mnt/data/07082025/00/16/image_07082025_00_16_35_10396.jpg', 2), ('/mnt/data/07082025/00/16/image_07082025_00_16_25_10248.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/18/image_07082025_00_18_25_9980.jpg', '/mnt/data/07082025/00/18/image_07082025_00_18_15_9982.jpg', '/mnt/data/07082025/00/17/image_07082025_00_18_05_10115.jpg', '/mnt/data/07082025/00/17/image_07082025_00_17_55_9968.jpg', '/mnt/data/07082025/00/16/image_07082025_00_16_35_10396.jpg', '/mnt/data/07082025/00/16/image_07082025_00_16_25_10248.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/18/image_07082025_00_18_25_9980.jpg', '/mnt/data/07082025/00/18/image_07082025_00_18_15_9982.jpg', '/mnt/data/07082025/00/17/image_07082025_00_18_05_10115.jpg', '/mnt/data/07082025/00/17/image_07082025_00_17_55_9968.jpg', '/mnt/data/07082025/00/16/image_07082025_00_16_35_10396.jpg', '/mnt/data/07082025/00/16/image_07082025_00_16_25_10248.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/18/image_07082025_00_18_25_9980.jpg
/mnt/data/07082025/00/18/image_07082025_00_18_15_9982.jpg
/mnt/data/07082025/00/17/image_07082025_00_18_05_10115.jpg
/mnt/data/07082025/00/17/image_07082025_00_17_55_9968.jpg
/mnt/data/07082025/00/16/image_07082025_00_16_35_10396.jpg
/mnt/data/07082025/00/16/image_07082025_00_16_25_10248.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":["1375680084","1375680087","1375680080","1375680091","1375680094","1375680097"],"photo_ids_order":["1375680080","1375680084","1375680087","1375680091","1375680094","1375680097"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/6dcee1076f3e220f58828a1bb4cc7683.jpg","text":"TemporaryFile(/tmp/multipartBody1453698305065596594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572769334,"filename":"image_07082025_00_18_15_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/7/098eef0c30ba883a3af9d82296ef6540.jpg","text":"TemporaryFile(/tmp/multipartBody4120708703296902956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572769334,"filename":"image_07082025_00_18_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/7/23d1ae7de637c8215f5cbd16753e37e0.jpg","text":"TemporaryFile(/tmp/multipartBody8001913543530203519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572769334,"filename":"image_07082025_00_18_25_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/7/0c979e6d37937aa272d6927de34a3ef7.jpg","text":"TemporaryFile(/tmp/multipartBody289481801947576901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572769334,"filename":"image_07082025_00_17_55_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/7/c24cd270db2f99f9c6f1284ede4318a0.jpg","text":"TemporaryFile(/tmp/multipartBody927545378541563996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572769334,"filename":"image_07082025_00_16_35_10396.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/1ebc34282b0ca719f2134b21bb182c66.jpg","text":"TemporaryFile(/tmp/multipartBody2096572705076792592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572769334,"filename":"image_07082025_00_16_25_10248.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375680087","file1":"1375680084","file0":"1375680080","file4":"1375680094","file5":"1375680097","file3":"1375680091"},"map_files_photo_id_array":[{"photo_id":"1375680097","filename":"file5"},{"photo_id":"1375680087","filename":"file2"},{"photo_id":"1375680094","filename":"file4"},{"photo_id":"1375680084","filename":"file1"},{"photo_id":"1375680080","filename":"file0"},{"photo_id":"1375680091","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375680084":["hashtag1","hashtag2"]},{"1375680087":["hashtag1","hashtag2"]},{"1375680080":["hashtag1","hashtag2"]},{"1375680091":["hashtag1","hashtag2"]},{"1375680094":["hashtag1","hashtag2"]},{"1375680097":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375680084, 1375680087, 1375680080, 1375680091, 1375680094, 1375680097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.06834983825684 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:20:02.758791
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/16/image_07082025_00_16_14_10163.jpg', 2), ('/mnt/data/07082025/00/15/image_07082025_00_16_04_10265.jpg', 2), ('/mnt/data/07082025/00/15/image_07082025_00_15_54_8960.jpg', 2), ('/mnt/data/07082025/00/14/image_07082025_00_14_34_10167.jpg', 2), ('/mnt/data/07082025/00/14/image_07082025_00_14_24_10261.jpg', 2), ('/mnt/data/07082025/00/14/image_07082025_00_14_14_10229.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/16/image_07082025_00_16_14_10163.jpg', '/mnt/data/07082025/00/15/image_07082025_00_16_04_10265.jpg', '/mnt/data/07082025/00/15/image_07082025_00_15_54_8960.jpg', '/mnt/data/07082025/00/14/image_07082025_00_14_34_10167.jpg', '/mnt/data/07082025/00/14/image_07082025_00_14_24_10261.jpg', '/mnt/data/07082025/00/14/image_07082025_00_14_14_10229.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/16/image_07082025_00_16_14_10163.jpg', '/mnt/data/07082025/00/15/image_07082025_00_16_04_10265.jpg', '/mnt/data/07082025/00/15/image_07082025_00_15_54_8960.jpg', '/mnt/data/07082025/00/14/image_07082025_00_14_34_10167.jpg', '/mnt/data/07082025/00/14/image_07082025_00_14_24_10261.jpg', '/mnt/data/07082025/00/14/image_07082025_00_14_14_10229.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/16/image_07082025_00_16_14_10163.jpg
/mnt/data/07082025/00/15/image_07082025_00_16_04_10265.jpg
/mnt/data/07082025/00/15/image_07082025_00_15_54_8960.jpg
/mnt/data/07082025/00/14/image_07082025_00_14_34_10167.jpg
/mnt/data/07082025/00/14/image_07082025_00_14_24_10261.jpg
/mnt/data/07082025/00/14/image_07082025_00_14_14_10229.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":["1375680178","1375680237","1375680188","1375680173","1375680200","1375680169"],"photo_ids_order":["1375680169","1375680173","1375680178","1375680188","1375680200","1375680237"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/94d2f28cc411069b805965e14b265b07.jpg","text":"TemporaryFile(/tmp/multipartBody2605415643897584603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572884275,"filename":"image_07082025_00_15_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/7/d70dfa5abd994ca47b5ae649eea53953.jpg","text":"TemporaryFile(/tmp/multipartBody4112006203910484437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572884275,"filename":"image_07082025_00_14_14_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/7/be4c9043d8aaca6ecb5b11dabb9b2347.jpg","text":"TemporaryFile(/tmp/multipartBody1676252614557746100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572884275,"filename":"image_07082025_00_14_34_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/7/48e2825e151620f7a51f1eeec4be2e2d.jpg","text":"TemporaryFile(/tmp/multipartBody4444652078017909616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572884275,"filename":"image_07082025_00_16_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/7/66ec16f711d1e5acc90edc00d4d78779.jpg","text":"TemporaryFile(/tmp/multipartBody3342357825532389687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572884275,"filename":"image_07082025_00_14_24_10261.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/ff82556903babec808c3f804752b4c42.jpg","text":"TemporaryFile(/tmp/multipartBody7547743504309241952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754572884275,"filename":"image_07082025_00_16_14_10163.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375680178","file1":"1375680173","file0":"1375680169","file4":"1375680200","file5":"1375680237","file3":"1375680188"},"map_files_photo_id_array":[{"photo_id":"1375680237","filename":"file5"},{"photo_id":"1375680178","filename":"file2"},{"photo_id":"1375680200","filename":"file4"},{"photo_id":"1375680173","filename":"file1"},{"photo_id":"1375680169","filename":"file0"},{"photo_id":"1375680188","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375680178":["hashtag1","hashtag2"]},{"1375680237":["hashtag1","hashtag2"]},{"1375680188":["hashtag1","hashtag2"]},{"1375680173":["hashtag1","hashtag2"]},{"1375680200":["hashtag1","hashtag2"]},{"1375680169":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375680178, 1375680237, 1375680188, 1375680173, 1375680200, 1375680169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.817381381988525 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:22:03.412992
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/13/image_07082025_00_14_04_9182.jpg', 2), ('/mnt/data/07082025/00/13/image_07082025_00_13_55_10210.jpg', 2), ('/mnt/data/07082025/00/13/image_07082025_00_13_34_10085.jpg', 2), ('/mnt/data/07082025/00/13/image_07082025_00_13_24_10159.jpg', 2), ('/mnt/data/07082025/00/13/image_07082025_00_13_14_10115.jpg', 2), ('/mnt/data/07082025/00/12/image_07082025_00_13_04_8984.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/13/image_07082025_00_14_04_9182.jpg', '/mnt/data/07082025/00/13/image_07082025_00_13_55_10210.jpg', '/mnt/data/07082025/00/13/image_07082025_00_13_34_10085.jpg', '/mnt/data/07082025/00/13/image_07082025_00_13_24_10159.jpg', '/mnt/data/07082025/00/13/image_07082025_00_13_14_10115.jpg', '/mnt/data/07082025/00/12/image_07082025_00_13_04_8984.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/13/image_07082025_00_14_04_9182.jpg', '/mnt/data/07082025/00/13/image_07082025_00_13_55_10210.jpg', '/mnt/data/07082025/00/13/image_07082025_00_13_34_10085.jpg', '/mnt/data/07082025/00/13/image_07082025_00_13_24_10159.jpg', '/mnt/data/07082025/00/13/image_07082025_00_13_14_10115.jpg', '/mnt/data/07082025/00/12/image_07082025_00_13_04_8984.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/13/image_07082025_00_14_04_9182.jpg
/mnt/data/07082025/00/13/image_07082025_00_13_55_10210.jpg
/mnt/data/07082025/00/13/image_07082025_00_13_34_10085.jpg
/mnt/data/07082025/00/13/image_07082025_00_13_24_10159.jpg
/mnt/data/07082025/00/13/image_07082025_00_13_14_10115.jpg
/mnt/data/07082025/00/12/image_07082025_00_13_04_8984.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 145.42490673065186 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-07 15:25:02.545366
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/13/image_07082025_00_14_04_9182.jpg', 2), ('/mnt/data/07082025/00/13/image_07082025_00_13_55_10210.jpg', 2), ('/mnt/data/07082025/00/13/image_07082025_00_13_34_10085.jpg', 2), ('/mnt/data/07082025/00/13/image_07082025_00_13_24_10159.jpg', 2), ('/mnt/data/07082025/00/13/image_07082025_00_13_14_10115.jpg', 2), ('/mnt/data/07082025/00/12/image_07082025_00_13_04_8984.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/13/image_07082025_00_14_04_9182.jpg', '/mnt/data/07082025/00/13/image_07082025_00_13_55_10210.jpg', '/mnt/data/07082025/00/13/image_07082025_00_13_34_10085.jpg', '/mnt/data/07082025/00/13/image_07082025_00_13_24_10159.jpg', '/mnt/data/07082025/00/13/image_07082025_00_13_14_10115.jpg', '/mnt/data/07082025/00/12/image_07082025_00_13_04_8984.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/13/image_07082025_00_14_04_9182.jpg', '/mnt/data/07082025/00/13/image_07082025_00_13_55_10210.jpg', '/mnt/data/07082025/00/13/image_07082025_00_13_34_10085.jpg', '/mnt/data/07082025/00/13/image_07082025_00_13_24_10159.jpg', '/mnt/data/07082025/00/13/image_07082025_00_13_14_10115.jpg', '/mnt/data/07082025/00/12/image_07082025_00_13_04_8984.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/13/image_07082025_00_14_04_9182.jpg
/mnt/data/07082025/00/13/image_07082025_00_13_55_10210.jpg
/mnt/data/07082025/00/13/image_07082025_00_13_34_10085.jpg
/mnt/data/07082025/00/13/image_07082025_00_13_24_10159.jpg
/mnt/data/07082025/00/13/image_07082025_00_13_14_10115.jpg
/mnt/data/07082025/00/12/image_07082025_00_13_04_8984.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375680823","1375680820","1375680822","1375680816","1375680825","1375680812"],"photo_ids_order":["1375680812","1375680816","1375680820","1375680822","1375680823","1375680825"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/aff66b978896f1a0ab9eb7be0f5c1f11.jpg","text":"TemporaryFile(/tmp/multipartBody2943769992641553930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573180169,"filename":"image_07082025_00_13_14_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/7/5d2d15785e8a6ea81cd9bd1e8cf5f29b.jpg","text":"TemporaryFile(/tmp/multipartBody8365569710958907999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573180169,"filename":"image_07082025_00_13_34_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/7/b49ae2abc0b753223a1d18fcdaf96b8a.jpg","text":"TemporaryFile(/tmp/multipartBody5094266007909540095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573180169,"filename":"image_07082025_00_13_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/7/b3b1b117ce5b887fde97bd4ce786e2b1.jpg","text":"TemporaryFile(/tmp/multipartBody2662327705915724882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573180169,"filename":"image_07082025_00_13_55_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/7/f73ba67e2be5dcb697361aee68417149.jpg","text":"TemporaryFile(/tmp/multipartBody3596272301005857725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573180169,"filename":"image_07082025_00_13_04_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/7/0924d9fad678a005cba6d010ac12c002.jpg","text":"TemporaryFile(/tmp/multipartBody191326456647425609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573180169,"filename":"image_07082025_00_14_04_9182.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375680820","file1":"1375680816","file0":"1375680812","file4":"1375680823","file5":"1375680825","file3":"1375680822"},"map_files_photo_id_array":[{"photo_id":"1375680825","filename":"file5"},{"photo_id":"1375680820","filename":"file2"},{"photo_id":"1375680823","filename":"file4"},{"photo_id":"1375680816","filename":"file1"},{"photo_id":"1375680812","filename":"file0"},{"photo_id":"1375680822","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375680823":["hashtag1","hashtag2"]},{"1375680820":["hashtag1","hashtag2"]},{"1375680822":["hashtag1","hashtag2"]},{"1375680816":["hashtag1","hashtag2"]},{"1375680825":["hashtag1","hashtag2"]},{"1375680812":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375680823, 1375680820, 1375680822, 1375680816, 1375680825, 1375680812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.62379503250122 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:26:03.205336
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/12/image_07082025_00_12_55_10125.jpg', 2), ('/mnt/data/07082025/00/12/image_07082025_00_12_45_10096.jpg', 2), ('/mnt/data/07082025/00/12/image_07082025_00_12_35_10172.jpg', 2), ('/mnt/data/07082025/00/12/image_07082025_00_12_24_9970.jpg', 2), ('/mnt/data/07082025/00/12/image_07082025_00_12_14_10220.jpg', 2), ('/mnt/data/07082025/00/11/image_07082025_00_12_04_10429.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/12/image_07082025_00_12_55_10125.jpg', '/mnt/data/07082025/00/12/image_07082025_00_12_45_10096.jpg', '/mnt/data/07082025/00/12/image_07082025_00_12_35_10172.jpg', '/mnt/data/07082025/00/12/image_07082025_00_12_24_9970.jpg', '/mnt/data/07082025/00/12/image_07082025_00_12_14_10220.jpg', '/mnt/data/07082025/00/11/image_07082025_00_12_04_10429.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/12/image_07082025_00_12_55_10125.jpg', '/mnt/data/07082025/00/12/image_07082025_00_12_45_10096.jpg', '/mnt/data/07082025/00/12/image_07082025_00_12_35_10172.jpg', '/mnt/data/07082025/00/12/image_07082025_00_12_24_9970.jpg', '/mnt/data/07082025/00/12/image_07082025_00_12_14_10220.jpg', '/mnt/data/07082025/00/11/image_07082025_00_12_04_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/12/image_07082025_00_12_55_10125.jpg
/mnt/data/07082025/00/12/image_07082025_00_12_45_10096.jpg
/mnt/data/07082025/00/12/image_07082025_00_12_35_10172.jpg
/mnt/data/07082025/00/12/image_07082025_00_12_24_9970.jpg
/mnt/data/07082025/00/12/image_07082025_00_12_14_10220.jpg
/mnt/data/07082025/00/11/image_07082025_00_12_04_10429.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":["1375680891","1375680893","1375680845","1375680854","1375680874","1375680877"],"photo_ids_order":["1375680845","1375680854","1375680874","1375680877","1375680891","1375680893"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/e54a441dba79bb57d6af1e8487603736.jpg","text":"TemporaryFile(/tmp/multipartBody6938312743964987773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573247336,"filename":"image_07082025_00_12_14_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/7/25d0f1024358f47f038a7272beec4f9e.jpg","text":"TemporaryFile(/tmp/multipartBody292837952348975348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573247336,"filename":"image_07082025_00_12_04_10429.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/317c366de989f256a30eb8b0f9e19e0c.jpg","text":"TemporaryFile(/tmp/multipartBody6357234873926116531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573247336,"filename":"image_07082025_00_12_55_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/7/11aacdf668a70bc3289777fa4ec1c4e0.jpg","text":"TemporaryFile(/tmp/multipartBody4394475635009458618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573247336,"filename":"image_07082025_00_12_45_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/7/343518c1b8834efa1fc355726851c6d5.jpg","text":"TemporaryFile(/tmp/multipartBody7617491093574889187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573247336,"filename":"image_07082025_00_12_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/7/5f450a1f7b2e26275ff31d4f3b685965.jpg","text":"TemporaryFile(/tmp/multipartBody6955692539578530194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573247336,"filename":"image_07082025_00_12_24_9970.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375680874","file1":"1375680854","file0":"1375680845","file4":"1375680891","file5":"1375680893","file3":"1375680877"},"map_files_photo_id_array":[{"photo_id":"1375680893","filename":"file5"},{"photo_id":"1375680874","filename":"file2"},{"photo_id":"1375680891","filename":"file4"},{"photo_id":"1375680854","filename":"file1"},{"photo_id":"1375680845","filename":"file0"},{"photo_id":"1375680877","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375680891":["hashtag1","hashtag2"]},{"1375680893":["hashtag1","hashtag2"]},{"1375680845":["hashtag1","hashtag2"]},{"1375680854":["hashtag1","hashtag2"]},{"1375680874":["hashtag1","hashtag2"]},{"1375680877":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375680891, 1375680893, 1375680845, 1375680854, 1375680874, 1375680877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.85182785987854 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:28:03.134724
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/11/image_07082025_00_11_54_8951.jpg', 2), ('/mnt/data/07082025/00/11/image_07082025_00_11_45_10085.jpg', 2), ('/mnt/data/07082025/00/11/image_07082025_00_11_35_10021.jpg', 2), ('/mnt/data/07082025/00/11/image_07082025_00_11_25_10051.jpg', 2), ('/mnt/data/07082025/00/10/image_07082025_00_10_14_10076.jpg', 2), ('/mnt/data/07082025/00/07/image_07082025_00_08_04_10341.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/11/image_07082025_00_11_54_8951.jpg', '/mnt/data/07082025/00/11/image_07082025_00_11_45_10085.jpg', '/mnt/data/07082025/00/11/image_07082025_00_11_35_10021.jpg', '/mnt/data/07082025/00/11/image_07082025_00_11_25_10051.jpg', '/mnt/data/07082025/00/10/image_07082025_00_10_14_10076.jpg', '/mnt/data/07082025/00/07/image_07082025_00_08_04_10341.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/11/image_07082025_00_11_54_8951.jpg', '/mnt/data/07082025/00/11/image_07082025_00_11_45_10085.jpg', '/mnt/data/07082025/00/11/image_07082025_00_11_35_10021.jpg', '/mnt/data/07082025/00/11/image_07082025_00_11_25_10051.jpg', '/mnt/data/07082025/00/10/image_07082025_00_10_14_10076.jpg', '/mnt/data/07082025/00/07/image_07082025_00_08_04_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/11/image_07082025_00_11_54_8951.jpg
/mnt/data/07082025/00/11/image_07082025_00_11_45_10085.jpg
/mnt/data/07082025/00/11/image_07082025_00_11_35_10021.jpg
/mnt/data/07082025/00/11/image_07082025_00_11_25_10051.jpg
/mnt/data/07082025/00/10/image_07082025_00_10_14_10076.jpg
/mnt/data/07082025/00/07/image_07082025_00_08_04_10341.jpg
uploaded 0 photos
time to upload: 30.24566388130188 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:29:03.321481
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/11/image_07082025_00_11_54_8951.jpg', 2), ('/mnt/data/07082025/00/11/image_07082025_00_11_45_10085.jpg', 2), ('/mnt/data/07082025/00/11/image_07082025_00_11_35_10021.jpg', 2), ('/mnt/data/07082025/00/11/image_07082025_00_11_25_10051.jpg', 2), ('/mnt/data/07082025/00/10/image_07082025_00_10_14_10076.jpg', 2), ('/mnt/data/07082025/00/07/image_07082025_00_08_04_10341.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/11/image_07082025_00_11_54_8951.jpg', '/mnt/data/07082025/00/11/image_07082025_00_11_45_10085.jpg', '/mnt/data/07082025/00/11/image_07082025_00_11_35_10021.jpg', '/mnt/data/07082025/00/11/image_07082025_00_11_25_10051.jpg', '/mnt/data/07082025/00/10/image_07082025_00_10_14_10076.jpg', '/mnt/data/07082025/00/07/image_07082025_00_08_04_10341.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/11/image_07082025_00_11_54_8951.jpg', '/mnt/data/07082025/00/11/image_07082025_00_11_45_10085.jpg', '/mnt/data/07082025/00/11/image_07082025_00_11_35_10021.jpg', '/mnt/data/07082025/00/11/image_07082025_00_11_25_10051.jpg', '/mnt/data/07082025/00/10/image_07082025_00_10_14_10076.jpg', '/mnt/data/07082025/00/07/image_07082025_00_08_04_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/11/image_07082025_00_11_54_8951.jpg
/mnt/data/07082025/00/11/image_07082025_00_11_45_10085.jpg
/mnt/data/07082025/00/11/image_07082025_00_11_35_10021.jpg
/mnt/data/07082025/00/11/image_07082025_00_11_25_10051.jpg
/mnt/data/07082025/00/10/image_07082025_00_10_14_10076.jpg
/mnt/data/07082025/00/07/image_07082025_00_08_04_10341.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375680981","1375680984","1375680972","1375680986","1375680967","1375680976"],"photo_ids_order":["1375680967","1375680972","1375680976","1375680981","1375680984","1375680986"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/65e3a5d72d713d3c9f04db512114a72f.jpg","text":"TemporaryFile(/tmp/multipartBody7793779110599575987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573419888,"filename":"image_07082025_00_11_25_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/7/f1e097f9d94e27c57720fc6ffea20143.jpg","text":"TemporaryFile(/tmp/multipartBody1262152543643036933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573419888,"filename":"image_07082025_00_10_14_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/7/eb984efc1091be42581b90c86ba3839c.jpg","text":"TemporaryFile(/tmp/multipartBody6255951927866447006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573419888,"filename":"image_07082025_00_11_45_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/7/d36112eccb0daf683476304fe2237753.jpg","text":"TemporaryFile(/tmp/multipartBody4387911432383950161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573419888,"filename":"image_07082025_00_08_04_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/7/7f786c3c39e0ecc12a43dbf842124572.jpg","text":"TemporaryFile(/tmp/multipartBody2863005115722015003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573419888,"filename":"image_07082025_00_11_54_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/7/623a7825ec5f4746e5964d99a056a368.jpg","text":"TemporaryFile(/tmp/multipartBody7150433400782900879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573419888,"filename":"image_07082025_00_11_35_10021.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375680976","file1":"1375680972","file0":"1375680967","file4":"1375680984","file5":"1375680986","file3":"1375680981"},"map_files_photo_id_array":[{"photo_id":"1375680986","filename":"file5"},{"photo_id":"1375680976","filename":"file2"},{"photo_id":"1375680984","filename":"file4"},{"photo_id":"1375680972","filename":"file1"},{"photo_id":"1375680967","filename":"file0"},{"photo_id":"1375680981","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375680981":["hashtag1","hashtag2"]},{"1375680984":["hashtag1","hashtag2"]},{"1375680972":["hashtag1","hashtag2"]},{"1375680986":["hashtag1","hashtag2"]},{"1375680967":["hashtag1","hashtag2"]},{"1375680976":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375680981, 1375680984, 1375680972, 1375680986, 1375680967, 1375680976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.62677717208862 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:30:02.809669
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/07/image_07082025_00_07_44_9982.jpg', 2), ('/mnt/data/07082025/00/07/image_07082025_00_07_34_8937.jpg', 2), ('/mnt/data/07082025/00/07/image_07082025_00_07_25_10247.jpg', 2), ('/mnt/data/07082025/00/06/image_07082025_00_07_04_10221.jpg', 2), ('/mnt/data/07082025/00/06/image_07082025_00_06_54_10165.jpg', 2), ('/mnt/data/07082025/00/06/image_07082025_00_06_44_10139.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/07/image_07082025_00_07_44_9982.jpg', '/mnt/data/07082025/00/07/image_07082025_00_07_34_8937.jpg', '/mnt/data/07082025/00/07/image_07082025_00_07_25_10247.jpg', '/mnt/data/07082025/00/06/image_07082025_00_07_04_10221.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_54_10165.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_44_10139.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/07/image_07082025_00_07_44_9982.jpg', '/mnt/data/07082025/00/07/image_07082025_00_07_34_8937.jpg', '/mnt/data/07082025/00/07/image_07082025_00_07_25_10247.jpg', '/mnt/data/07082025/00/06/image_07082025_00_07_04_10221.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_54_10165.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_44_10139.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/07/image_07082025_00_07_44_9982.jpg
/mnt/data/07082025/00/07/image_07082025_00_07_34_8937.jpg
/mnt/data/07082025/00/07/image_07082025_00_07_25_10247.jpg
/mnt/data/07082025/00/06/image_07082025_00_07_04_10221.jpg
/mnt/data/07082025/00/06/image_07082025_00_06_54_10165.jpg
/mnt/data/07082025/00/06/image_07082025_00_06_44_10139.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 17.86040711402893 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-07 15:31:02.961521
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/07/image_07082025_00_07_44_9982.jpg', 2), ('/mnt/data/07082025/00/07/image_07082025_00_07_34_8937.jpg', 2), ('/mnt/data/07082025/00/07/image_07082025_00_07_25_10247.jpg', 2), ('/mnt/data/07082025/00/06/image_07082025_00_07_04_10221.jpg', 2), ('/mnt/data/07082025/00/06/image_07082025_00_06_54_10165.jpg', 2), ('/mnt/data/07082025/00/06/image_07082025_00_06_44_10139.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/07/image_07082025_00_07_44_9982.jpg', '/mnt/data/07082025/00/07/image_07082025_00_07_34_8937.jpg', '/mnt/data/07082025/00/07/image_07082025_00_07_25_10247.jpg', '/mnt/data/07082025/00/06/image_07082025_00_07_04_10221.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_54_10165.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_44_10139.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/07/image_07082025_00_07_44_9982.jpg', '/mnt/data/07082025/00/07/image_07082025_00_07_34_8937.jpg', '/mnt/data/07082025/00/07/image_07082025_00_07_25_10247.jpg', '/mnt/data/07082025/00/06/image_07082025_00_07_04_10221.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_54_10165.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_44_10139.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/07/image_07082025_00_07_44_9982.jpg
/mnt/data/07082025/00/07/image_07082025_00_07_34_8937.jpg
/mnt/data/07082025/00/07/image_07082025_00_07_25_10247.jpg
/mnt/data/07082025/00/06/image_07082025_00_07_04_10221.jpg
/mnt/data/07082025/00/06/image_07082025_00_06_54_10165.jpg
/mnt/data/07082025/00/06/image_07082025_00_06_44_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":["1375681080","1375681083","1375681077","1375681073","1375681064","1375681069"],"photo_ids_order":["1375681064","1375681069","1375681073","1375681077","1375681080","1375681083"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/f80d578fd1a86072b79d2dbd83f65dc2.jpg","text":"TemporaryFile(/tmp/multipartBody2702077894043376152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573544683,"filename":"image_07082025_00_06_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/7/560631cb245074ce78aea8455cdf3c21.jpg","text":"TemporaryFile(/tmp/multipartBody1260515212449875101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573544683,"filename":"image_07082025_00_06_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/7/b9d1c8813273521a483bb4c2c5869e5b.jpg","text":"TemporaryFile(/tmp/multipartBody849705475991020472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573544683,"filename":"image_07082025_00_07_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/7/301ff415b9388e52fef1eb0b5a7fd7f0.jpg","text":"TemporaryFile(/tmp/multipartBody6793548114569409276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573544683,"filename":"image_07082025_00_07_25_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/7/1880ca6e2902cb7cbb25a098faeb8e4c.jpg","text":"TemporaryFile(/tmp/multipartBody2954564736153007041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573544683,"filename":"image_07082025_00_07_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/7/eab007ff09bfe2d01aae3927c08f74fc.jpg","text":"TemporaryFile(/tmp/multipartBody2276523428606706259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573544683,"filename":"image_07082025_00_07_34_8937.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375681073","file1":"1375681069","file0":"1375681064","file4":"1375681080","file5":"1375681083","file3":"1375681077"},"map_files_photo_id_array":[{"photo_id":"1375681083","filename":"file5"},{"photo_id":"1375681073","filename":"file2"},{"photo_id":"1375681080","filename":"file4"},{"photo_id":"1375681069","filename":"file1"},{"photo_id":"1375681064","filename":"file0"},{"photo_id":"1375681077","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375681080":["hashtag1","hashtag2"]},{"1375681083":["hashtag1","hashtag2"]},{"1375681077":["hashtag1","hashtag2"]},{"1375681073":["hashtag1","hashtag2"]},{"1375681064":["hashtag1","hashtag2"]},{"1375681069":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375681080, 1375681083, 1375681077, 1375681073, 1375681064, 1375681069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.00126004219055 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:33:03.494362
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/06/image_07082025_00_06_34_9072.jpg', 2), ('/mnt/data/07082025/00/06/image_07082025_00_06_25_10187.jpg', 2), ('/mnt/data/07082025/00/06/image_07082025_00_06_15_10610.jpg', 2), ('/mnt/data/07082025/00/05/image_07082025_00_06_04_9153.jpg', 2), ('/mnt/data/07082025/00/05/image_07082025_00_05_55_10119.jpg', 2), ('/mnt/data/07082025/00/04/image_07082025_00_04_45_10191.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/06/image_07082025_00_06_34_9072.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_25_10187.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_15_10610.jpg', '/mnt/data/07082025/00/05/image_07082025_00_06_04_9153.jpg', '/mnt/data/07082025/00/05/image_07082025_00_05_55_10119.jpg', '/mnt/data/07082025/00/04/image_07082025_00_04_45_10191.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/06/image_07082025_00_06_34_9072.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_25_10187.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_15_10610.jpg', '/mnt/data/07082025/00/05/image_07082025_00_06_04_9153.jpg', '/mnt/data/07082025/00/05/image_07082025_00_05_55_10119.jpg', '/mnt/data/07082025/00/04/image_07082025_00_04_45_10191.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/06/image_07082025_00_06_34_9072.jpg
/mnt/data/07082025/00/06/image_07082025_00_06_25_10187.jpg
/mnt/data/07082025/00/06/image_07082025_00_06_15_10610.jpg
/mnt/data/07082025/00/05/image_07082025_00_06_04_9153.jpg
/mnt/data/07082025/00/05/image_07082025_00_05_55_10119.jpg
/mnt/data/07082025/00/04/image_07082025_00_04_45_10191.jpg
uploaded 0 photos
time to upload: 19.482449054718018 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-07 15:34:03.093792
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/06/image_07082025_00_06_34_9072.jpg', 2), ('/mnt/data/07082025/00/06/image_07082025_00_06_25_10187.jpg', 2), ('/mnt/data/07082025/00/06/image_07082025_00_06_15_10610.jpg', 2), ('/mnt/data/07082025/00/05/image_07082025_00_06_04_9153.jpg', 2), ('/mnt/data/07082025/00/05/image_07082025_00_05_55_10119.jpg', 2), ('/mnt/data/07082025/00/04/image_07082025_00_04_45_10191.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/06/image_07082025_00_06_34_9072.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_25_10187.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_15_10610.jpg', '/mnt/data/07082025/00/05/image_07082025_00_06_04_9153.jpg', '/mnt/data/07082025/00/05/image_07082025_00_05_55_10119.jpg', '/mnt/data/07082025/00/04/image_07082025_00_04_45_10191.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/06/image_07082025_00_06_34_9072.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_25_10187.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_15_10610.jpg', '/mnt/data/07082025/00/05/image_07082025_00_06_04_9153.jpg', '/mnt/data/07082025/00/05/image_07082025_00_05_55_10119.jpg', '/mnt/data/07082025/00/04/image_07082025_00_04_45_10191.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/06/image_07082025_00_06_34_9072.jpg
/mnt/data/07082025/00/06/image_07082025_00_06_25_10187.jpg
/mnt/data/07082025/00/06/image_07082025_00_06_15_10610.jpg
/mnt/data/07082025/00/05/image_07082025_00_06_04_9153.jpg
/mnt/data/07082025/00/05/image_07082025_00_05_55_10119.jpg
/mnt/data/07082025/00/04/image_07082025_00_04_45_10191.jpg
uploaded 0 photos
time to upload: 30.223080158233643 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:35:03.267464
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/06/image_07082025_00_06_34_9072.jpg', 2), ('/mnt/data/07082025/00/06/image_07082025_00_06_25_10187.jpg', 2), ('/mnt/data/07082025/00/06/image_07082025_00_06_15_10610.jpg', 2), ('/mnt/data/07082025/00/05/image_07082025_00_06_04_9153.jpg', 2), ('/mnt/data/07082025/00/05/image_07082025_00_05_55_10119.jpg', 2), ('/mnt/data/07082025/00/04/image_07082025_00_04_45_10191.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/06/image_07082025_00_06_34_9072.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_25_10187.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_15_10610.jpg', '/mnt/data/07082025/00/05/image_07082025_00_06_04_9153.jpg', '/mnt/data/07082025/00/05/image_07082025_00_05_55_10119.jpg', '/mnt/data/07082025/00/04/image_07082025_00_04_45_10191.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/06/image_07082025_00_06_34_9072.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_25_10187.jpg', '/mnt/data/07082025/00/06/image_07082025_00_06_15_10610.jpg', '/mnt/data/07082025/00/05/image_07082025_00_06_04_9153.jpg', '/mnt/data/07082025/00/05/image_07082025_00_05_55_10119.jpg', '/mnt/data/07082025/00/04/image_07082025_00_04_45_10191.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/06/image_07082025_00_06_34_9072.jpg
/mnt/data/07082025/00/06/image_07082025_00_06_25_10187.jpg
/mnt/data/07082025/00/06/image_07082025_00_06_15_10610.jpg
/mnt/data/07082025/00/05/image_07082025_00_06_04_9153.jpg
/mnt/data/07082025/00/05/image_07082025_00_05_55_10119.jpg
/mnt/data/07082025/00/04/image_07082025_00_04_45_10191.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":["1375681210","1375681207","1375681239","1375681218","1375681212","1375681215"],"photo_ids_order":["1375681207","1375681210","1375681212","1375681215","1375681218","1375681239"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/13d2d4424cb79ca1dd506c441f423517.jpg","text":"TemporaryFile(/tmp/multipartBody7528229782041001488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573790307,"filename":"image_07082025_00_06_25_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/7/04c678851bbd9fae0816273cf2c70976.jpg","text":"TemporaryFile(/tmp/multipartBody9215002834851145737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573790307,"filename":"image_07082025_00_06_34_9072.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/7cd2f6abe23e13e0173fbe9986ec25b3.jpg","text":"TemporaryFile(/tmp/multipartBody6272473626388718294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573790307,"filename":"image_07082025_00_04_45_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/7/6d9ef163d1ee40d17d5ff83d82d1b78d.jpg","text":"TemporaryFile(/tmp/multipartBody9078367729197366815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573790307,"filename":"image_07082025_00_05_55_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/7/89f152cc65e03b811af3afebf567f9d8.jpg","text":"TemporaryFile(/tmp/multipartBody6429537202912201581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573790307,"filename":"image_07082025_00_06_15_10610.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/94a352465ebefabfba6ff16accb189e0.jpg","text":"TemporaryFile(/tmp/multipartBody4800364850204125731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573790307,"filename":"image_07082025_00_06_04_9153.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375681212","file1":"1375681210","file0":"1375681207","file4":"1375681218","file5":"1375681239","file3":"1375681215"},"map_files_photo_id_array":[{"photo_id":"1375681239","filename":"file5"},{"photo_id":"1375681212","filename":"file2"},{"photo_id":"1375681218","filename":"file4"},{"photo_id":"1375681210","filename":"file1"},{"photo_id":"1375681207","filename":"file0"},{"photo_id":"1375681215","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375681210":["hashtag1","hashtag2"]},{"1375681207":["hashtag1","hashtag2"]},{"1375681239":["hashtag1","hashtag2"]},{"1375681218":["hashtag1","hashtag2"]},{"1375681212":["hashtag1","hashtag2"]},{"1375681215":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375681210, 1375681207, 1375681239, 1375681218, 1375681212, 1375681215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.61709761619568 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:37:03.404456
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/04/image_07082025_00_04_35_10036.jpg', 2), ('/mnt/data/07082025/00/04/image_07082025_00_04_25_9997.jpg', 2), ('/mnt/data/07082025/00/04/image_07082025_00_04_15_9979.jpg', 2), ('/mnt/data/07082025/00/03/image_07082025_00_04_05_10090.jpg', 2), ('/mnt/data/07082025/00/03/image_07082025_00_03_54_10021.jpg', 2), ('/mnt/data/07082025/00/03/image_07082025_00_03_44_9998.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/04/image_07082025_00_04_35_10036.jpg', '/mnt/data/07082025/00/04/image_07082025_00_04_25_9997.jpg', '/mnt/data/07082025/00/04/image_07082025_00_04_15_9979.jpg', '/mnt/data/07082025/00/03/image_07082025_00_04_05_10090.jpg', '/mnt/data/07082025/00/03/image_07082025_00_03_54_10021.jpg', '/mnt/data/07082025/00/03/image_07082025_00_03_44_9998.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/04/image_07082025_00_04_35_10036.jpg', '/mnt/data/07082025/00/04/image_07082025_00_04_25_9997.jpg', '/mnt/data/07082025/00/04/image_07082025_00_04_15_9979.jpg', '/mnt/data/07082025/00/03/image_07082025_00_04_05_10090.jpg', '/mnt/data/07082025/00/03/image_07082025_00_03_54_10021.jpg', '/mnt/data/07082025/00/03/image_07082025_00_03_44_9998.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/04/image_07082025_00_04_35_10036.jpg
/mnt/data/07082025/00/04/image_07082025_00_04_25_9997.jpg
/mnt/data/07082025/00/04/image_07082025_00_04_15_9979.jpg
/mnt/data/07082025/00/03/image_07082025_00_04_05_10090.jpg
/mnt/data/07082025/00/03/image_07082025_00_03_54_10021.jpg
/mnt/data/07082025/00/03/image_07082025_00_03_44_9998.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375681473","1375681482","1375681476","1375681487","1375681469","1375681480"],"photo_ids_order":["1375681469","1375681473","1375681476","1375681480","1375681482","1375681487"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/3812dc07c0ac9206acfe4cb49f18fb19.jpg","text":"TemporaryFile(/tmp/multipartBody4912123505670689167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573902255,"filename":"image_07082025_00_04_25_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/7/3af078494b232c56e5b49b3b18428afe.jpg","text":"TemporaryFile(/tmp/multipartBody5845189035910699231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573902255,"filename":"image_07082025_00_03_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/7/8ffe3bd121447e99724743a30985aad3.jpg","text":"TemporaryFile(/tmp/multipartBody8767580347483618617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573902255,"filename":"image_07082025_00_04_15_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/7/a0054529c291863ae303f141e8b9ef16.jpg","text":"TemporaryFile(/tmp/multipartBody3231911012044393330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573902255,"filename":"image_07082025_00_03_44_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/7/c9ed9797e01a0fd0c75ac431af87a1ef.jpg","text":"TemporaryFile(/tmp/multipartBody5506245336276702718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573902255,"filename":"image_07082025_00_04_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/7/c2aef77ce85c1bfe0946764c1c7b12b7.jpg","text":"TemporaryFile(/tmp/multipartBody2864864769199874598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573902255,"filename":"image_07082025_00_04_05_10090.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375681476","file1":"1375681473","file0":"1375681469","file4":"1375681482","file5":"1375681487","file3":"1375681480"},"map_files_photo_id_array":[{"photo_id":"1375681487","filename":"file5"},{"photo_id":"1375681476","filename":"file2"},{"photo_id":"1375681482","filename":"file4"},{"photo_id":"1375681473","filename":"file1"},{"photo_id":"1375681469","filename":"file0"},{"photo_id":"1375681480","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375681473":["hashtag1","hashtag2"]},{"1375681482":["hashtag1","hashtag2"]},{"1375681476":["hashtag1","hashtag2"]},{"1375681487":["hashtag1","hashtag2"]},{"1375681469":["hashtag1","hashtag2"]},{"1375681480":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375681473, 1375681482, 1375681476, 1375681487, 1375681469, 1375681480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.41525197029114 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:38:02.920485
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/03/image_07082025_00_03_34_9949.jpg', 2), ('/mnt/data/07082025/00/03/image_07082025_00_03_24_9971.jpg', 2), ('/mnt/data/07082025/00/03/image_07082025_00_03_14_9991.jpg', 2), ('/mnt/data/07082025/00/02/image_07082025_00_03_05_10073.jpg', 2), ('/mnt/data/07082025/00/02/image_07082025_00_02_54_10145.jpg', 2), ('/mnt/data/07082025/00/02/image_07082025_00_02_44_10172.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/03/image_07082025_00_03_34_9949.jpg', '/mnt/data/07082025/00/03/image_07082025_00_03_24_9971.jpg', '/mnt/data/07082025/00/03/image_07082025_00_03_14_9991.jpg', '/mnt/data/07082025/00/02/image_07082025_00_03_05_10073.jpg', '/mnt/data/07082025/00/02/image_07082025_00_02_54_10145.jpg', '/mnt/data/07082025/00/02/image_07082025_00_02_44_10172.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/03/image_07082025_00_03_34_9949.jpg', '/mnt/data/07082025/00/03/image_07082025_00_03_24_9971.jpg', '/mnt/data/07082025/00/03/image_07082025_00_03_14_9991.jpg', '/mnt/data/07082025/00/02/image_07082025_00_03_05_10073.jpg', '/mnt/data/07082025/00/02/image_07082025_00_02_54_10145.jpg', '/mnt/data/07082025/00/02/image_07082025_00_02_44_10172.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/03/image_07082025_00_03_34_9949.jpg
/mnt/data/07082025/00/03/image_07082025_00_03_24_9971.jpg
/mnt/data/07082025/00/03/image_07082025_00_03_14_9991.jpg
/mnt/data/07082025/00/02/image_07082025_00_03_05_10073.jpg
/mnt/data/07082025/00/02/image_07082025_00_02_54_10145.jpg
/mnt/data/07082025/00/02/image_07082025_00_02_44_10172.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":["1375681506","1375681520","1375681523","1375681517","1375681511","1375681522"],"photo_ids_order":["1375681506","1375681511","1375681517","1375681520","1375681522","1375681523"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/de9fc3bcbe160c0c8fec048c953ad385.jpg","text":"TemporaryFile(/tmp/multipartBody8332811427204610784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573961514,"filename":"image_07082025_00_03_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/7/1153bd9625f9135a70288316bc8c4525.jpg","text":"TemporaryFile(/tmp/multipartBody2720348562622736739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573961514,"filename":"image_07082025_00_03_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/7/6544d67327db1f2976e29eb0ac0cc122.jpg","text":"TemporaryFile(/tmp/multipartBody3603405496823579159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573961514,"filename":"image_07082025_00_02_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/7/c2c455bd62aec8ed844deefeea7a516c.jpg","text":"TemporaryFile(/tmp/multipartBody6851708120608379325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573961514,"filename":"image_07082025_00_03_14_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/7/9a88f196c36e46e6d0287de500b4fefd.jpg","text":"TemporaryFile(/tmp/multipartBody3385463287231190235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573961514,"filename":"image_07082025_00_03_24_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/7/5313fb87252205b4dfffb11a0aebfbcf.jpg","text":"TemporaryFile(/tmp/multipartBody2472451656982580105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754573961514,"filename":"image_07082025_00_02_54_10145.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375681517","file1":"1375681511","file0":"1375681506","file4":"1375681522","file5":"1375681523","file3":"1375681520"},"map_files_photo_id_array":[{"photo_id":"1375681523","filename":"file5"},{"photo_id":"1375681517","filename":"file2"},{"photo_id":"1375681522","filename":"file4"},{"photo_id":"1375681511","filename":"file1"},{"photo_id":"1375681506","filename":"file0"},{"photo_id":"1375681520","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375681506":["hashtag1","hashtag2"]},{"1375681520":["hashtag1","hashtag2"]},{"1375681523":["hashtag1","hashtag2"]},{"1375681517":["hashtag1","hashtag2"]},{"1375681511":["hashtag1","hashtag2"]},{"1375681522":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375681506, 1375681520, 1375681523, 1375681517, 1375681511, 1375681522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.65140223503113 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:40:02.484200
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/02/image_07082025_00_02_34_10151.jpg', 2), ('/mnt/data/07082025/00/02/image_07082025_00_02_24_10153.jpg', 2), ('/mnt/data/07082025/00/02/image_07082025_00_02_14_8912.jpg', 2), ('/mnt/data/07082025/00/01/image_07082025_00_02_05_10209.jpg', 2), ('/mnt/data/07082025/00/01/image_07082025_00_01_55_10503.jpg', 2), ('/mnt/data/07082025/00/01/image_07082025_00_01_46_10143.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/02/image_07082025_00_02_34_10151.jpg', '/mnt/data/07082025/00/02/image_07082025_00_02_24_10153.jpg', '/mnt/data/07082025/00/02/image_07082025_00_02_14_8912.jpg', '/mnt/data/07082025/00/01/image_07082025_00_02_05_10209.jpg', '/mnt/data/07082025/00/01/image_07082025_00_01_55_10503.jpg', '/mnt/data/07082025/00/01/image_07082025_00_01_46_10143.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/02/image_07082025_00_02_34_10151.jpg', '/mnt/data/07082025/00/02/image_07082025_00_02_24_10153.jpg', '/mnt/data/07082025/00/02/image_07082025_00_02_14_8912.jpg', '/mnt/data/07082025/00/01/image_07082025_00_02_05_10209.jpg', '/mnt/data/07082025/00/01/image_07082025_00_01_55_10503.jpg', '/mnt/data/07082025/00/01/image_07082025_00_01_46_10143.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/02/image_07082025_00_02_34_10151.jpg
/mnt/data/07082025/00/02/image_07082025_00_02_24_10153.jpg
/mnt/data/07082025/00/02/image_07082025_00_02_14_8912.jpg
/mnt/data/07082025/00/01/image_07082025_00_02_05_10209.jpg
/mnt/data/07082025/00/01/image_07082025_00_01_55_10503.jpg
/mnt/data/07082025/00/01/image_07082025_00_01_46_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":["1375681629","1375681598","1375681637","1375681640","1375681634","1375681616"],"photo_ids_order":["1375681598","1375681616","1375681629","1375681634","1375681637","1375681640"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/4a91c453cb412c07ae551429085ba7a8.jpg","text":"TemporaryFile(/tmp/multipartBody2144078219725381008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574082583,"filename":"image_07082025_00_02_14_8912.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/b0ec7707ec6d7361b67299722dbac43f.jpg","text":"TemporaryFile(/tmp/multipartBody4801657402165100349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574082583,"filename":"image_07082025_00_02_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/7/c28c6ea43a9b48ebe0de23a7fa34830a.jpg","text":"TemporaryFile(/tmp/multipartBody3617802482886079983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574082583,"filename":"image_07082025_00_01_55_10503.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/ec2278b832b9196bfd4ad8a06e0c07cf.jpg","text":"TemporaryFile(/tmp/multipartBody1097066944376833021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574082583,"filename":"image_07082025_00_01_46_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/7/afd79a565ea1966ff7b09dba73237111.jpg","text":"TemporaryFile(/tmp/multipartBody4994343477440806808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574082583,"filename":"image_07082025_00_02_05_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/7/c504207c56d9d1029f7ac53ca5f84df1.jpg","text":"TemporaryFile(/tmp/multipartBody5253163392204677812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574082583,"filename":"image_07082025_00_02_24_10153.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375681629","file1":"1375681616","file0":"1375681598","file4":"1375681637","file5":"1375681640","file3":"1375681634"},"map_files_photo_id_array":[{"photo_id":"1375681640","filename":"file5"},{"photo_id":"1375681629","filename":"file2"},{"photo_id":"1375681637","filename":"file4"},{"photo_id":"1375681616","filename":"file1"},{"photo_id":"1375681598","filename":"file0"},{"photo_id":"1375681634","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375681629":["hashtag1","hashtag2"]},{"1375681598":["hashtag1","hashtag2"]},{"1375681637":["hashtag1","hashtag2"]},{"1375681640":["hashtag1","hashtag2"]},{"1375681634":["hashtag1","hashtag2"]},{"1375681616":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375681629, 1375681598, 1375681637, 1375681640, 1375681634, 1375681616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.03427052497864 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:42:02.570005
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/01/image_07082025_00_01_34_10136.jpg', 2), ('/mnt/data/07082025/00/01/image_07082025_00_01_24_9989.jpg', 2), ('/mnt/data/07082025/00/01/image_07082025_00_01_17_10086.jpg', 2), ('/mnt/data/07082025/00/00/image_07082025_00_01_04_9222.jpg', 2), ('/mnt/data/07082025/00/00/image_07082025_00_00_55_9772.jpg', 2), ('/mnt/data/07082025/00/00/image_07082025_00_00_45_10028.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/01/image_07082025_00_01_34_10136.jpg', '/mnt/data/07082025/00/01/image_07082025_00_01_24_9989.jpg', '/mnt/data/07082025/00/01/image_07082025_00_01_17_10086.jpg', '/mnt/data/07082025/00/00/image_07082025_00_01_04_9222.jpg', '/mnt/data/07082025/00/00/image_07082025_00_00_55_9772.jpg', '/mnt/data/07082025/00/00/image_07082025_00_00_45_10028.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/01/image_07082025_00_01_34_10136.jpg', '/mnt/data/07082025/00/01/image_07082025_00_01_24_9989.jpg', '/mnt/data/07082025/00/01/image_07082025_00_01_17_10086.jpg', '/mnt/data/07082025/00/00/image_07082025_00_01_04_9222.jpg', '/mnt/data/07082025/00/00/image_07082025_00_00_55_9772.jpg', '/mnt/data/07082025/00/00/image_07082025_00_00_45_10028.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/01/image_07082025_00_01_34_10136.jpg
/mnt/data/07082025/00/01/image_07082025_00_01_24_9989.jpg
/mnt/data/07082025/00/01/image_07082025_00_01_17_10086.jpg
/mnt/data/07082025/00/00/image_07082025_00_01_04_9222.jpg
/mnt/data/07082025/00/00/image_07082025_00_00_55_9772.jpg
/mnt/data/07082025/00/00/image_07082025_00_00_45_10028.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 135.72639107704163 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-07 15:45:02.917369
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/01/image_07082025_00_01_34_10136.jpg', 2), ('/mnt/data/07082025/00/01/image_07082025_00_01_24_9989.jpg', 2), ('/mnt/data/07082025/00/01/image_07082025_00_01_17_10086.jpg', 2), ('/mnt/data/07082025/00/00/image_07082025_00_01_04_9222.jpg', 2), ('/mnt/data/07082025/00/00/image_07082025_00_00_55_9772.jpg', 2), ('/mnt/data/07082025/00/00/image_07082025_00_00_45_10028.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/01/image_07082025_00_01_34_10136.jpg', '/mnt/data/07082025/00/01/image_07082025_00_01_24_9989.jpg', '/mnt/data/07082025/00/01/image_07082025_00_01_17_10086.jpg', '/mnt/data/07082025/00/00/image_07082025_00_01_04_9222.jpg', '/mnt/data/07082025/00/00/image_07082025_00_00_55_9772.jpg', '/mnt/data/07082025/00/00/image_07082025_00_00_45_10028.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/01/image_07082025_00_01_34_10136.jpg', '/mnt/data/07082025/00/01/image_07082025_00_01_24_9989.jpg', '/mnt/data/07082025/00/01/image_07082025_00_01_17_10086.jpg', '/mnt/data/07082025/00/00/image_07082025_00_01_04_9222.jpg', '/mnt/data/07082025/00/00/image_07082025_00_00_55_9772.jpg', '/mnt/data/07082025/00/00/image_07082025_00_00_45_10028.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/01/image_07082025_00_01_34_10136.jpg
/mnt/data/07082025/00/01/image_07082025_00_01_24_9989.jpg
/mnt/data/07082025/00/01/image_07082025_00_01_17_10086.jpg
/mnt/data/07082025/00/00/image_07082025_00_01_04_9222.jpg
/mnt/data/07082025/00/00/image_07082025_00_00_55_9772.jpg
/mnt/data/07082025/00/00/image_07082025_00_00_45_10028.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375682178","1375682100","1375682174","1375682135","1375682063","1375682169"],"photo_ids_order":["1375682063","1375682100","1375682135","1375682169","1375682174","1375682178"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/6bbf28ec2be51a50538be49ab7c0966a.jpg","text":"TemporaryFile(/tmp/multipartBody3398159717232719813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574382098,"filename":"image_07082025_00_00_45_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/7/e6ed567221cfea204c707686bbddd079.jpg","text":"TemporaryFile(/tmp/multipartBody641597525336432830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574382098,"filename":"image_07082025_00_01_24_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/7/c9fe74feb58bcea1ea299d6f5d9aa6c3.jpg","text":"TemporaryFile(/tmp/multipartBody7087263017490898690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574382098,"filename":"image_07082025_00_00_55_9772.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d9dd6409c8c8066822f9fe1d162998a8.jpg","text":"TemporaryFile(/tmp/multipartBody2783725766136510371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574382098,"filename":"image_07082025_00_01_17_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/7/393d0d1717d5c8a7dc77da8b8c8c446b.jpg","text":"TemporaryFile(/tmp/multipartBody5260689160770606323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574382098,"filename":"image_07082025_00_01_34_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/7/849608daa7a84b331df506f331bb4b89.jpg","text":"TemporaryFile(/tmp/multipartBody5081531095613233056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574382098,"filename":"image_07082025_00_01_04_9222.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375682135","file1":"1375682100","file0":"1375682063","file4":"1375682174","file5":"1375682178","file3":"1375682169"},"map_files_photo_id_array":[{"photo_id":"1375682178","filename":"file5"},{"photo_id":"1375682135","filename":"file2"},{"photo_id":"1375682174","filename":"file4"},{"photo_id":"1375682100","filename":"file1"},{"photo_id":"1375682063","filename":"file0"},{"photo_id":"1375682169","filename":"file3"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375682178":["hashtag1","hashtag2"]},{"1375682100":["hashtag1","hashtag2"]},{"1375682174":["hashtag1","hashtag2"]},{"1375682135":["hashtag1","hashtag2"]},{"1375682063":["hashtag1","hashtag2"]},{"1375682169":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375682178, 1375682100, 1375682174, 1375682135, 1375682063, 1375682169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.03877305984497 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:46:02.530113
  port_id : 25751410
  datou_current_id : 3467220
in upload_from_sqlite, uploading in 25751410
in upload_photo_and_update_logs, uploading 3 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/07082025/00/00/image_07082025_00_00_35_9917.jpg', 2), ('/mnt/data/07082025/00/00/image_07082025_00_00_25_10024.jpg', 2), ('/mnt/data/07082025/00/00/image_07082025_00_00_15_11123.jpg', 2)]
port id,  25751410
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/07082025/00/00/image_07082025_00_00_35_9917.jpg', '/mnt/data/07082025/00/00/image_07082025_00_00_25_10024.jpg', '/mnt/data/07082025/00/00/image_07082025_00_00_15_11123.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/07082025/00/00/image_07082025_00_00_35_9917.jpg', '/mnt/data/07082025/00/00/image_07082025_00_00_25_10024.jpg', '/mnt/data/07082025/00/00/image_07082025_00_00_15_11123.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3467220&datou=0
/mnt/data/07082025/00/00/image_07082025_00_00_35_9917.jpg
/mnt/data/07082025/00/00/image_07082025_00_00_25_10024.jpg
/mnt/data/07082025/00/00/image_07082025_00_00_15_11123.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375682197","1375682199","1375682193"],"photo_ids_order":["1375682193","1375682197","1375682199"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/8ce4d79755b2a12821d011b7c6dd486a.jpg","text":"TemporaryFile(/tmp/multipartBody1559780656937209096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574426041,"filename":"image_07082025_00_00_25_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/7/06e444d3848f02c10f704de2d7151cfa.jpg","text":"TemporaryFile(/tmp/multipartBody1972361788095393337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574426041,"filename":"image_07082025_00_00_15_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/7/f014462ef3e7dac5cd09f442c15486df.jpg","text":"TemporaryFile(/tmp/multipartBody8219421020289779508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574426041,"filename":"image_07082025_00_00_35_9917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375682199","file1":"1375682197","file0":"1375682193"},"map_files_photo_id_array":[{"photo_id":"1375682199","filename":"file2"},{"photo_id":"1375682197","filename":"file1"},{"photo_id":"1375682193","filename":"file0"}],"portfolio_id":25751410,"hashtag_by_photo_ids":[{"1375682197":["hashtag1","hashtag2"]},{"1375682199":["hashtag1","hashtag2"]},{"1375682193":["hashtag1","hashtag2"]}],"comms":"Portfolio 25751410 used, photo_id : ArrayBuffer(1375682197, 1375682199, 1375682193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.83948564529419 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:47:02.624637
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/08/21/image_13062025_08_22_04_10185.jpg', 2), ('/mnt/data/13062025/08/21/image_13062025_08_21_54_10106.jpg', 2), ('/mnt/data/13062025/08/21/image_13062025_08_21_44_10246.jpg', 2), ('/mnt/data/13062025/08/21/image_13062025_08_21_25_10200.jpg', 2), ('/mnt/data/13062025/08/21/image_13062025_08_21_15_10123.jpg', 2), ('/mnt/data/13062025/08/20/image_13062025_08_21_05_10182.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/08/21/image_13062025_08_22_04_10185.jpg', '/mnt/data/13062025/08/21/image_13062025_08_21_54_10106.jpg', '/mnt/data/13062025/08/21/image_13062025_08_21_44_10246.jpg', '/mnt/data/13062025/08/21/image_13062025_08_21_25_10200.jpg', '/mnt/data/13062025/08/21/image_13062025_08_21_15_10123.jpg', '/mnt/data/13062025/08/20/image_13062025_08_21_05_10182.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/08/21/image_13062025_08_22_04_10185.jpg', '/mnt/data/13062025/08/21/image_13062025_08_21_54_10106.jpg', '/mnt/data/13062025/08/21/image_13062025_08_21_44_10246.jpg', '/mnt/data/13062025/08/21/image_13062025_08_21_25_10200.jpg', '/mnt/data/13062025/08/21/image_13062025_08_21_15_10123.jpg', '/mnt/data/13062025/08/20/image_13062025_08_21_05_10182.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/08/21/image_13062025_08_22_04_10185.jpg
/mnt/data/13062025/08/21/image_13062025_08_21_54_10106.jpg
/mnt/data/13062025/08/21/image_13062025_08_21_44_10246.jpg
/mnt/data/13062025/08/21/image_13062025_08_21_25_10200.jpg
/mnt/data/13062025/08/21/image_13062025_08_21_15_10123.jpg
/mnt/data/13062025/08/20/image_13062025_08_21_05_10182.jpg
uploaded 0 photos
time to upload: 30.439104318618774 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:48:03.193349
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/08/21/image_13062025_08_22_04_10185.jpg', 2), ('/mnt/data/13062025/08/21/image_13062025_08_21_54_10106.jpg', 2), ('/mnt/data/13062025/08/21/image_13062025_08_21_44_10246.jpg', 2), ('/mnt/data/13062025/08/21/image_13062025_08_21_25_10200.jpg', 2), ('/mnt/data/13062025/08/21/image_13062025_08_21_15_10123.jpg', 2), ('/mnt/data/13062025/08/20/image_13062025_08_21_05_10182.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/08/21/image_13062025_08_22_04_10185.jpg', '/mnt/data/13062025/08/21/image_13062025_08_21_54_10106.jpg', '/mnt/data/13062025/08/21/image_13062025_08_21_44_10246.jpg', '/mnt/data/13062025/08/21/image_13062025_08_21_25_10200.jpg', '/mnt/data/13062025/08/21/image_13062025_08_21_15_10123.jpg', '/mnt/data/13062025/08/20/image_13062025_08_21_05_10182.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/08/21/image_13062025_08_22_04_10185.jpg', '/mnt/data/13062025/08/21/image_13062025_08_21_54_10106.jpg', '/mnt/data/13062025/08/21/image_13062025_08_21_44_10246.jpg', '/mnt/data/13062025/08/21/image_13062025_08_21_25_10200.jpg', '/mnt/data/13062025/08/21/image_13062025_08_21_15_10123.jpg', '/mnt/data/13062025/08/20/image_13062025_08_21_05_10182.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/08/21/image_13062025_08_22_04_10185.jpg
/mnt/data/13062025/08/21/image_13062025_08_21_54_10106.jpg
/mnt/data/13062025/08/21/image_13062025_08_21_44_10246.jpg
/mnt/data/13062025/08/21/image_13062025_08_21_25_10200.jpg
/mnt/data/13062025/08/21/image_13062025_08_21_15_10123.jpg
/mnt/data/13062025/08/20/image_13062025_08_21_05_10182.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":["1375682276","1375682261","1375682273","1375682281","1375682269","1375682278"],"photo_ids_order":["1375682261","1375682269","1375682273","1375682276","1375682278","1375682281"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/021c8fdbc7b4d65d959488c355232619.jpg","text":"TemporaryFile(/tmp/multipartBody7818528049518766495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574561636,"filename":"image_13062025_08_21_25_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/7/b22b8d731ff5a9293960315507463f17.jpg","text":"TemporaryFile(/tmp/multipartBody287201450525470437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574561636,"filename":"image_13062025_08_22_04_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/7/56fa3710162ef868790b852df1929cb8.jpg","text":"TemporaryFile(/tmp/multipartBody4434218838575992053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574561636,"filename":"image_13062025_08_21_44_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/7/c23eadab7add4af63aaadc0732a9f23d.jpg","text":"TemporaryFile(/tmp/multipartBody1464654112347390850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574561636,"filename":"image_13062025_08_21_05_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/7/6cbaa370feef66a3b1ac22594d9d3a60.jpg","text":"TemporaryFile(/tmp/multipartBody5110410538769191934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574561636,"filename":"image_13062025_08_21_54_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/7/e9247612af2e17a4adc6bced396aad8f.jpg","text":"TemporaryFile(/tmp/multipartBody1080737271804300604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574561636,"filename":"image_13062025_08_21_15_10123.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375682273","file1":"1375682269","file0":"1375682261","file4":"1375682278","file5":"1375682281","file3":"1375682276"},"map_files_photo_id_array":[{"photo_id":"1375682281","filename":"file5"},{"photo_id":"1375682273","filename":"file2"},{"photo_id":"1375682278","filename":"file4"},{"photo_id":"1375682269","filename":"file1"},{"photo_id":"1375682261","filename":"file0"},{"photo_id":"1375682276","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375682276":["hashtag1","hashtag2"]},{"1375682261":["hashtag1","hashtag2"]},{"1375682273":["hashtag1","hashtag2"]},{"1375682281":["hashtag1","hashtag2"]},{"1375682269":["hashtag1","hashtag2"]},{"1375682278":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375682276, 1375682261, 1375682273, 1375682281, 1375682269, 1375682278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.02775311470032 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:50:02.584278
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/08/20/image_13062025_08_20_54_10150.jpg', 2), ('/mnt/data/13062025/08/19/image_13062025_08_19_44_9972.jpg', 2), ('/mnt/data/13062025/08/19/image_13062025_08_19_34_9969.jpg', 2), ('/mnt/data/13062025/08/19/image_13062025_08_19_24_9950.jpg', 2), ('/mnt/data/13062025/08/19/image_13062025_08_19_14_9955.jpg', 2), ('/mnt/data/13062025/08/18/image_13062025_08_19_04_10145.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/08/20/image_13062025_08_20_54_10150.jpg', '/mnt/data/13062025/08/19/image_13062025_08_19_44_9972.jpg', '/mnt/data/13062025/08/19/image_13062025_08_19_34_9969.jpg', '/mnt/data/13062025/08/19/image_13062025_08_19_24_9950.jpg', '/mnt/data/13062025/08/19/image_13062025_08_19_14_9955.jpg', '/mnt/data/13062025/08/18/image_13062025_08_19_04_10145.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/08/20/image_13062025_08_20_54_10150.jpg', '/mnt/data/13062025/08/19/image_13062025_08_19_44_9972.jpg', '/mnt/data/13062025/08/19/image_13062025_08_19_34_9969.jpg', '/mnt/data/13062025/08/19/image_13062025_08_19_24_9950.jpg', '/mnt/data/13062025/08/19/image_13062025_08_19_14_9955.jpg', '/mnt/data/13062025/08/18/image_13062025_08_19_04_10145.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/08/20/image_13062025_08_20_54_10150.jpg
/mnt/data/13062025/08/19/image_13062025_08_19_44_9972.jpg
/mnt/data/13062025/08/19/image_13062025_08_19_34_9969.jpg
/mnt/data/13062025/08/19/image_13062025_08_19_24_9950.jpg
/mnt/data/13062025/08/19/image_13062025_08_19_14_9955.jpg
/mnt/data/13062025/08/18/image_13062025_08_19_04_10145.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375682342","1375682351","1375682339","1375682356","1375682359","1375682347"],"photo_ids_order":["1375682339","1375682342","1375682347","1375682351","1375682356","1375682359"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/b4ade4ceb73048450bb46b199e868b3f.jpg","text":"TemporaryFile(/tmp/multipartBody2264405422792033320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574673630,"filename":"image_13062025_08_19_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/7/902996719e6d68a91272f80d8913cb1d.jpg","text":"TemporaryFile(/tmp/multipartBody3644420925579267926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574673630,"filename":"image_13062025_08_19_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/7/bf15b4bfa757bf4cb5a53879afca89b8.jpg","text":"TemporaryFile(/tmp/multipartBody128048564235078998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574673630,"filename":"image_13062025_08_20_54_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/7/a51267a24275f67cf90316d18eba5769.jpg","text":"TemporaryFile(/tmp/multipartBody3658971781224099639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574673630,"filename":"image_13062025_08_19_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/7/d32e08d910fb8a83101902379fdc821c.jpg","text":"TemporaryFile(/tmp/multipartBody3785862465591356111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574673630,"filename":"image_13062025_08_19_04_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/7/85aa8dcd1232bdd684492c6bb97d91bd.jpg","text":"TemporaryFile(/tmp/multipartBody5692956737932184975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574673630,"filename":"image_13062025_08_19_34_9969.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375682347","file1":"1375682342","file0":"1375682339","file4":"1375682356","file5":"1375682359","file3":"1375682351"},"map_files_photo_id_array":[{"photo_id":"1375682359","filename":"file5"},{"photo_id":"1375682347","filename":"file2"},{"photo_id":"1375682356","filename":"file4"},{"photo_id":"1375682342","filename":"file1"},{"photo_id":"1375682339","filename":"file0"},{"photo_id":"1375682351","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375682342":["hashtag1","hashtag2"]},{"1375682351":["hashtag1","hashtag2"]},{"1375682339":["hashtag1","hashtag2"]},{"1375682356":["hashtag1","hashtag2"]},{"1375682359":["hashtag1","hashtag2"]},{"1375682347":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375682342, 1375682351, 1375682339, 1375682356, 1375682359, 1375682347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.30346059799194 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:51:02.799729
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/08/18/image_13062025_08_18_54_9981.jpg', 2), ('/mnt/data/13062025/08/17/image_13062025_08_17_25_10092.jpg', 2), ('/mnt/data/13062025/08/17/image_13062025_08_17_15_10131.jpg', 2), ('/mnt/data/13062025/08/16/image_13062025_08_17_05_10259.jpg', 2), ('/mnt/data/13062025/08/16/image_13062025_08_16_54_10049.jpg', 2), ('/mnt/data/13062025/08/16/image_13062025_08_16_44_10085.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/08/18/image_13062025_08_18_54_9981.jpg', '/mnt/data/13062025/08/17/image_13062025_08_17_25_10092.jpg', '/mnt/data/13062025/08/17/image_13062025_08_17_15_10131.jpg', '/mnt/data/13062025/08/16/image_13062025_08_17_05_10259.jpg', '/mnt/data/13062025/08/16/image_13062025_08_16_54_10049.jpg', '/mnt/data/13062025/08/16/image_13062025_08_16_44_10085.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/08/18/image_13062025_08_18_54_9981.jpg', '/mnt/data/13062025/08/17/image_13062025_08_17_25_10092.jpg', '/mnt/data/13062025/08/17/image_13062025_08_17_15_10131.jpg', '/mnt/data/13062025/08/16/image_13062025_08_17_05_10259.jpg', '/mnt/data/13062025/08/16/image_13062025_08_16_54_10049.jpg', '/mnt/data/13062025/08/16/image_13062025_08_16_44_10085.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/08/18/image_13062025_08_18_54_9981.jpg
/mnt/data/13062025/08/17/image_13062025_08_17_25_10092.jpg
/mnt/data/13062025/08/17/image_13062025_08_17_15_10131.jpg
/mnt/data/13062025/08/16/image_13062025_08_17_05_10259.jpg
/mnt/data/13062025/08/16/image_13062025_08_16_54_10049.jpg
/mnt/data/13062025/08/16/image_13062025_08_16_44_10085.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":["1375682393","1375682387","1375682384","1375682389","1375682401","1375682391"],"photo_ids_order":["1375682384","1375682387","1375682389","1375682391","1375682393","1375682401"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/51f4164121de751fb10220c6237d146c.jpg","text":"TemporaryFile(/tmp/multipartBody4341375984761398034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574746962,"filename":"image_13062025_08_16_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/7/a393f9a813ba57a0cedd05ffa1f9af1b.jpg","text":"TemporaryFile(/tmp/multipartBody6293789241602838105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574746962,"filename":"image_13062025_08_17_25_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/7/f99f934779871e42e579f00f678a64d9.jpg","text":"TemporaryFile(/tmp/multipartBody6418623092002425285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574746962,"filename":"image_13062025_08_18_54_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/7/75e08299e207e8db1f7e10209e8eccc8.jpg","text":"TemporaryFile(/tmp/multipartBody5954229685025946126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574746962,"filename":"image_13062025_08_17_15_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/7/21a1df2d750e810724387a3fcebabe77.jpg","text":"TemporaryFile(/tmp/multipartBody7031630748026853545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574746962,"filename":"image_13062025_08_16_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/7/8a07884d10962dee2b03132e77662bce.jpg","text":"TemporaryFile(/tmp/multipartBody9093716176820500820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574746962,"filename":"image_13062025_08_17_05_10259.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375682389","file1":"1375682387","file0":"1375682384","file4":"1375682393","file5":"1375682401","file3":"1375682391"},"map_files_photo_id_array":[{"photo_id":"1375682401","filename":"file5"},{"photo_id":"1375682389","filename":"file2"},{"photo_id":"1375682393","filename":"file4"},{"photo_id":"1375682387","filename":"file1"},{"photo_id":"1375682384","filename":"file0"},{"photo_id":"1375682391","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375682393":["hashtag1","hashtag2"]},{"1375682387":["hashtag1","hashtag2"]},{"1375682384":["hashtag1","hashtag2"]},{"1375682389":["hashtag1","hashtag2"]},{"1375682401":["hashtag1","hashtag2"]},{"1375682391":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375682393, 1375682387, 1375682384, 1375682389, 1375682401, 1375682391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.17388319969177 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:53:02.878106
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/08/16/image_13062025_08_16_24_10153.jpg', 2), ('/mnt/data/13062025/08/15/image_13062025_08_16_04_8954.jpg', 2), ('/mnt/data/13062025/08/15/image_13062025_08_15_55_10132.jpg', 2), ('/mnt/data/13062025/08/15/image_13062025_08_15_45_10108.jpg', 2), ('/mnt/data/13062025/08/15/image_13062025_08_15_35_10192.jpg', 2), ('/mnt/data/13062025/08/15/image_13062025_08_15_24_10094.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/08/16/image_13062025_08_16_24_10153.jpg', '/mnt/data/13062025/08/15/image_13062025_08_16_04_8954.jpg', '/mnt/data/13062025/08/15/image_13062025_08_15_55_10132.jpg', '/mnt/data/13062025/08/15/image_13062025_08_15_45_10108.jpg', '/mnt/data/13062025/08/15/image_13062025_08_15_35_10192.jpg', '/mnt/data/13062025/08/15/image_13062025_08_15_24_10094.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/08/16/image_13062025_08_16_24_10153.jpg', '/mnt/data/13062025/08/15/image_13062025_08_16_04_8954.jpg', '/mnt/data/13062025/08/15/image_13062025_08_15_55_10132.jpg', '/mnt/data/13062025/08/15/image_13062025_08_15_45_10108.jpg', '/mnt/data/13062025/08/15/image_13062025_08_15_35_10192.jpg', '/mnt/data/13062025/08/15/image_13062025_08_15_24_10094.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/08/16/image_13062025_08_16_24_10153.jpg
/mnt/data/13062025/08/15/image_13062025_08_16_04_8954.jpg
/mnt/data/13062025/08/15/image_13062025_08_15_55_10132.jpg
/mnt/data/13062025/08/15/image_13062025_08_15_45_10108.jpg
/mnt/data/13062025/08/15/image_13062025_08_15_35_10192.jpg
/mnt/data/13062025/08/15/image_13062025_08_15_24_10094.jpg
uploaded 0 photos
time to upload: 20.23011088371277 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-07 15:54:02.646302
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/08/16/image_13062025_08_16_24_10153.jpg', 2), ('/mnt/data/13062025/08/15/image_13062025_08_16_04_8954.jpg', 2), ('/mnt/data/13062025/08/15/image_13062025_08_15_55_10132.jpg', 2), ('/mnt/data/13062025/08/15/image_13062025_08_15_45_10108.jpg', 2), ('/mnt/data/13062025/08/15/image_13062025_08_15_35_10192.jpg', 2), ('/mnt/data/13062025/08/15/image_13062025_08_15_24_10094.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/08/16/image_13062025_08_16_24_10153.jpg', '/mnt/data/13062025/08/15/image_13062025_08_16_04_8954.jpg', '/mnt/data/13062025/08/15/image_13062025_08_15_55_10132.jpg', '/mnt/data/13062025/08/15/image_13062025_08_15_45_10108.jpg', '/mnt/data/13062025/08/15/image_13062025_08_15_35_10192.jpg', '/mnt/data/13062025/08/15/image_13062025_08_15_24_10094.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/08/16/image_13062025_08_16_24_10153.jpg', '/mnt/data/13062025/08/15/image_13062025_08_16_04_8954.jpg', '/mnt/data/13062025/08/15/image_13062025_08_15_55_10132.jpg', '/mnt/data/13062025/08/15/image_13062025_08_15_45_10108.jpg', '/mnt/data/13062025/08/15/image_13062025_08_15_35_10192.jpg', '/mnt/data/13062025/08/15/image_13062025_08_15_24_10094.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/08/16/image_13062025_08_16_24_10153.jpg
/mnt/data/13062025/08/15/image_13062025_08_16_04_8954.jpg
/mnt/data/13062025/08/15/image_13062025_08_15_55_10132.jpg
/mnt/data/13062025/08/15/image_13062025_08_15_45_10108.jpg
/mnt/data/13062025/08/15/image_13062025_08_15_35_10192.jpg
/mnt/data/13062025/08/15/image_13062025_08_15_24_10094.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":["1375682549","1375682570","1375682560","1375682554","1375682542","1375682565"],"photo_ids_order":["1375682542","1375682549","1375682554","1375682560","1375682565","1375682570"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/e4cbb3d206a70e06cc35970cfdfe53f8.jpg","text":"TemporaryFile(/tmp/multipartBody3405351463103441093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574925987,"filename":"image_13062025_08_16_04_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/7/415ed85d913506370f097251628869f4.jpg","text":"TemporaryFile(/tmp/multipartBody794225454179994832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574925987,"filename":"image_13062025_08_15_24_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/7/7876d008a9abd94314e72311b2e4d915.jpg","text":"TemporaryFile(/tmp/multipartBody1482541662064857474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574925987,"filename":"image_13062025_08_15_45_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/7/5acc58cddaff8ceba1328b7a196c199e.jpg","text":"TemporaryFile(/tmp/multipartBody7211078293247478237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574925987,"filename":"image_13062025_08_15_55_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/7/a609da41dd49786493e167a1daac1466.jpg","text":"TemporaryFile(/tmp/multipartBody2479270126940976835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574925987,"filename":"image_13062025_08_16_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/7/9f42c84653a0b21855e2207527b81066.jpg","text":"TemporaryFile(/tmp/multipartBody6311314075368476741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754574925987,"filename":"image_13062025_08_15_35_10192.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375682554","file1":"1375682549","file0":"1375682542","file4":"1375682565","file5":"1375682570","file3":"1375682560"},"map_files_photo_id_array":[{"photo_id":"1375682570","filename":"file5"},{"photo_id":"1375682554","filename":"file2"},{"photo_id":"1375682565","filename":"file4"},{"photo_id":"1375682549","filename":"file1"},{"photo_id":"1375682542","filename":"file0"},{"photo_id":"1375682560","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375682549":["hashtag1","hashtag2"]},{"1375682570":["hashtag1","hashtag2"]},{"1375682560":["hashtag1","hashtag2"]},{"1375682554":["hashtag1","hashtag2"]},{"1375682542":["hashtag1","hashtag2"]},{"1375682565":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375682549, 1375682570, 1375682560, 1375682554, 1375682542, 1375682565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.74550533294678 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:56:03.089717
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/08/15/image_13062025_08_15_14_10169.jpg', 2), ('/mnt/data/13062025/08/14/image_13062025_08_15_04_9398.jpg', 2), ('/mnt/data/13062025/08/14/image_13062025_08_14_45_10132.jpg', 2), ('/mnt/data/13062025/08/14/image_13062025_08_14_34_10100.jpg', 2), ('/mnt/data/13062025/08/13/image_13062025_08_13_55_10146.jpg', 2), ('/mnt/data/13062025/08/13/image_13062025_08_13_45_10100.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/08/15/image_13062025_08_15_14_10169.jpg', '/mnt/data/13062025/08/14/image_13062025_08_15_04_9398.jpg', '/mnt/data/13062025/08/14/image_13062025_08_14_45_10132.jpg', '/mnt/data/13062025/08/14/image_13062025_08_14_34_10100.jpg', '/mnt/data/13062025/08/13/image_13062025_08_13_55_10146.jpg', '/mnt/data/13062025/08/13/image_13062025_08_13_45_10100.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/08/15/image_13062025_08_15_14_10169.jpg', '/mnt/data/13062025/08/14/image_13062025_08_15_04_9398.jpg', '/mnt/data/13062025/08/14/image_13062025_08_14_45_10132.jpg', '/mnt/data/13062025/08/14/image_13062025_08_14_34_10100.jpg', '/mnt/data/13062025/08/13/image_13062025_08_13_55_10146.jpg', '/mnt/data/13062025/08/13/image_13062025_08_13_45_10100.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/08/15/image_13062025_08_15_14_10169.jpg
/mnt/data/13062025/08/14/image_13062025_08_15_04_9398.jpg
/mnt/data/13062025/08/14/image_13062025_08_14_45_10132.jpg
/mnt/data/13062025/08/14/image_13062025_08_14_34_10100.jpg
/mnt/data/13062025/08/13/image_13062025_08_13_55_10146.jpg
/mnt/data/13062025/08/13/image_13062025_08_13_45_10100.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":["1375682613","1375682604","1375682599","1375682593","1375682620","1375682608"],"photo_ids_order":["1375682593","1375682599","1375682604","1375682608","1375682613","1375682620"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/1a0ec57f9c9dd5fe0c15402b6fdffd68.jpg","text":"TemporaryFile(/tmp/multipartBody6013001108453197101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575043207,"filename":"image_13062025_08_13_55_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/7/9d57a270a9b28338101aa102e7d94511.jpg","text":"TemporaryFile(/tmp/multipartBody5427723007018774863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575043207,"filename":"image_13062025_08_14_45_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/7/475d7368972db585ab4c3ebe043353fb.jpg","text":"TemporaryFile(/tmp/multipartBody2590883539421839640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575043207,"filename":"image_13062025_08_15_04_9398.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/f6d2d2045b783e24489b4cd9d1aabc54.jpg","text":"TemporaryFile(/tmp/multipartBody4787026849328259833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575043207,"filename":"image_13062025_08_15_14_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/7/4a0728d37abbaa354243979b6e2005e6.jpg","text":"TemporaryFile(/tmp/multipartBody2649560969900441030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575043207,"filename":"image_13062025_08_13_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/7/924792a0c48c7a821bd14b9e092b7b82.jpg","text":"TemporaryFile(/tmp/multipartBody6487970300188974131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575043207,"filename":"image_13062025_08_14_34_10100.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375682604","file1":"1375682599","file0":"1375682593","file4":"1375682613","file5":"1375682620","file3":"1375682608"},"map_files_photo_id_array":[{"photo_id":"1375682620","filename":"file5"},{"photo_id":"1375682604","filename":"file2"},{"photo_id":"1375682613","filename":"file4"},{"photo_id":"1375682599","filename":"file1"},{"photo_id":"1375682593","filename":"file0"},{"photo_id":"1375682608","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375682613":["hashtag1","hashtag2"]},{"1375682604":["hashtag1","hashtag2"]},{"1375682599":["hashtag1","hashtag2"]},{"1375682593":["hashtag1","hashtag2"]},{"1375682620":["hashtag1","hashtag2"]},{"1375682608":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375682613, 1375682604, 1375682599, 1375682593, 1375682620, 1375682608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.008644819259644 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 15:59:03.142558
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/08/13/image_13062025_08_13_35_10248.jpg', 2), ('/mnt/data/13062025/08/13/image_13062025_08_13_24_10060.jpg', 2), ('/mnt/data/13062025/08/12/image_13062025_08_13_04_10304.jpg', 2), ('/mnt/data/13062025/08/12/image_13062025_08_12_34_8903.jpg', 2), ('/mnt/data/13062025/08/12/image_13062025_08_12_25_10053.jpg', 2), ('/mnt/data/13062025/08/12/image_13062025_08_12_15_10130.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/08/13/image_13062025_08_13_35_10248.jpg', '/mnt/data/13062025/08/13/image_13062025_08_13_24_10060.jpg', '/mnt/data/13062025/08/12/image_13062025_08_13_04_10304.jpg', '/mnt/data/13062025/08/12/image_13062025_08_12_34_8903.jpg', '/mnt/data/13062025/08/12/image_13062025_08_12_25_10053.jpg', '/mnt/data/13062025/08/12/image_13062025_08_12_15_10130.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/08/13/image_13062025_08_13_35_10248.jpg', '/mnt/data/13062025/08/13/image_13062025_08_13_24_10060.jpg', '/mnt/data/13062025/08/12/image_13062025_08_13_04_10304.jpg', '/mnt/data/13062025/08/12/image_13062025_08_12_34_8903.jpg', '/mnt/data/13062025/08/12/image_13062025_08_12_25_10053.jpg', '/mnt/data/13062025/08/12/image_13062025_08_12_15_10130.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/08/13/image_13062025_08_13_35_10248.jpg
/mnt/data/13062025/08/13/image_13062025_08_13_24_10060.jpg
/mnt/data/13062025/08/12/image_13062025_08_13_04_10304.jpg
/mnt/data/13062025/08/12/image_13062025_08_12_34_8903.jpg
/mnt/data/13062025/08/12/image_13062025_08_12_25_10053.jpg
/mnt/data/13062025/08/12/image_13062025_08_12_15_10130.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":["1375682684","1375682675","1375682680","1375682698","1375682707","1375682688"],"photo_ids_order":["1375682675","1375682680","1375682684","1375682688","1375682698","1375682707"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/9a58cf2d1ac75709ef8c451b7a23189e.jpg","text":"TemporaryFile(/tmp/multipartBody4656063847196246659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575223110,"filename":"image_13062025_08_13_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/7/3410e0a1d2b38fc0bc2f3135a37aa39b.jpg","text":"TemporaryFile(/tmp/multipartBody6025397181519577463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575223110,"filename":"image_13062025_08_13_35_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/7/2bad4f4422e5e93ddab783cef668ad74.jpg","text":"TemporaryFile(/tmp/multipartBody1040485618149100679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575223110,"filename":"image_13062025_08_13_24_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/7/cc9978951d8667f4696df17d0bd5e827.jpg","text":"TemporaryFile(/tmp/multipartBody7902821034813674839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575223110,"filename":"image_13062025_08_12_25_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/7/ba4d534a1178045dd564965d9a3846bf.jpg","text":"TemporaryFile(/tmp/multipartBody8743315716754396837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575223110,"filename":"image_13062025_08_12_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/7/1583c1a39f03636cf840a659454c6707.jpg","text":"TemporaryFile(/tmp/multipartBody8487748754632239922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575223110,"filename":"image_13062025_08_12_34_8903.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375682684","file1":"1375682680","file0":"1375682675","file4":"1375682698","file5":"1375682707","file3":"1375682688"},"map_files_photo_id_array":[{"photo_id":"1375682707","filename":"file5"},{"photo_id":"1375682684","filename":"file2"},{"photo_id":"1375682698","filename":"file4"},{"photo_id":"1375682680","filename":"file1"},{"photo_id":"1375682675","filename":"file0"},{"photo_id":"1375682688","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375682684":["hashtag1","hashtag2"]},{"1375682675":["hashtag1","hashtag2"]},{"1375682680":["hashtag1","hashtag2"]},{"1375682698":["hashtag1","hashtag2"]},{"1375682707":["hashtag1","hashtag2"]},{"1375682688":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375682684, 1375682675, 1375682680, 1375682698, 1375682707, 1375682688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.13490557670593 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:01:02.806451
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/08/11/image_13062025_08_12_05_10140.jpg', 2), ('/mnt/data/13062025/08/11/image_13062025_08_11_54_10147.jpg', 2), ('/mnt/data/13062025/08/09/image_13062025_08_10_04_10349.jpg', 2), ('/mnt/data/13062025/08/09/image_13062025_08_09_44_10098.jpg', 2), ('/mnt/data/13062025/08/09/image_13062025_08_09_34_8933.jpg', 2), ('/mnt/data/13062025/08/09/image_13062025_08_09_25_10107.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/08/11/image_13062025_08_12_05_10140.jpg', '/mnt/data/13062025/08/11/image_13062025_08_11_54_10147.jpg', '/mnt/data/13062025/08/09/image_13062025_08_10_04_10349.jpg', '/mnt/data/13062025/08/09/image_13062025_08_09_44_10098.jpg', '/mnt/data/13062025/08/09/image_13062025_08_09_34_8933.jpg', '/mnt/data/13062025/08/09/image_13062025_08_09_25_10107.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/08/11/image_13062025_08_12_05_10140.jpg', '/mnt/data/13062025/08/11/image_13062025_08_11_54_10147.jpg', '/mnt/data/13062025/08/09/image_13062025_08_10_04_10349.jpg', '/mnt/data/13062025/08/09/image_13062025_08_09_44_10098.jpg', '/mnt/data/13062025/08/09/image_13062025_08_09_34_8933.jpg', '/mnt/data/13062025/08/09/image_13062025_08_09_25_10107.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/08/11/image_13062025_08_12_05_10140.jpg
/mnt/data/13062025/08/11/image_13062025_08_11_54_10147.jpg
/mnt/data/13062025/08/09/image_13062025_08_10_04_10349.jpg
/mnt/data/13062025/08/09/image_13062025_08_09_44_10098.jpg
/mnt/data/13062025/08/09/image_13062025_08_09_34_8933.jpg
/mnt/data/13062025/08/09/image_13062025_08_09_25_10107.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375683155","1375683113","1375683283","1375683187","1375683220","1375683069"],"photo_ids_order":["1375683069","1375683113","1375683155","1375683187","1375683220","1375683283"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/c471faadb8749ef47e574b458e605571.jpg","text":"TemporaryFile(/tmp/multipartBody453133366721658576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575335123,"filename":"image_13062025_08_10_04_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/7/941c4630c9614c048915255b42e42b48.jpg","text":"TemporaryFile(/tmp/multipartBody366503763984712150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575335123,"filename":"image_13062025_08_11_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/7/8305b4d312cda96d7142f5119ca6c9da.jpg","text":"TemporaryFile(/tmp/multipartBody2274410948812041620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575335123,"filename":"image_13062025_08_09_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/7/3efd318d92310187ee890eafeb0aff61.jpg","text":"TemporaryFile(/tmp/multipartBody1987155771173162158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575335123,"filename":"image_13062025_08_09_44_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/7/105fcadf0575609f6d2e11ebb9743259.jpg","text":"TemporaryFile(/tmp/multipartBody1741556019161958964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575335123,"filename":"image_13062025_08_09_34_8933.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/760dc75c5f187f8f7580ade425dd8de8.jpg","text":"TemporaryFile(/tmp/multipartBody8919348454949857136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575335123,"filename":"image_13062025_08_12_05_10140.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375683155","file1":"1375683113","file0":"1375683069","file4":"1375683220","file5":"1375683283","file3":"1375683187"},"map_files_photo_id_array":[{"photo_id":"1375683283","filename":"file5"},{"photo_id":"1375683155","filename":"file2"},{"photo_id":"1375683220","filename":"file4"},{"photo_id":"1375683113","filename":"file1"},{"photo_id":"1375683069","filename":"file0"},{"photo_id":"1375683187","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375683155":["hashtag1","hashtag2"]},{"1375683113":["hashtag1","hashtag2"]},{"1375683283":["hashtag1","hashtag2"]},{"1375683187":["hashtag1","hashtag2"]},{"1375683220":["hashtag1","hashtag2"]},{"1375683069":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375683155, 1375683113, 1375683283, 1375683187, 1375683220, 1375683069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.99170780181885 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:02:02.625772
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/08/08/image_13062025_08_08_54_10120.jpg', 2), ('/mnt/data/13062025/08/08/image_13062025_08_08_44_10080.jpg', 2), ('/mnt/data/13062025/08/08/image_13062025_08_08_34_10182.jpg', 2), ('/mnt/data/13062025/08/08/image_13062025_08_08_24_8940.jpg', 2), ('/mnt/data/13062025/08/07/image_13062025_08_08_05_10308.jpg', 2), ('/mnt/data/13062025/08/07/image_13062025_08_07_54_10139.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/08/08/image_13062025_08_08_54_10120.jpg', '/mnt/data/13062025/08/08/image_13062025_08_08_44_10080.jpg', '/mnt/data/13062025/08/08/image_13062025_08_08_34_10182.jpg', '/mnt/data/13062025/08/08/image_13062025_08_08_24_8940.jpg', '/mnt/data/13062025/08/07/image_13062025_08_08_05_10308.jpg', '/mnt/data/13062025/08/07/image_13062025_08_07_54_10139.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/08/08/image_13062025_08_08_54_10120.jpg', '/mnt/data/13062025/08/08/image_13062025_08_08_44_10080.jpg', '/mnt/data/13062025/08/08/image_13062025_08_08_34_10182.jpg', '/mnt/data/13062025/08/08/image_13062025_08_08_24_8940.jpg', '/mnt/data/13062025/08/07/image_13062025_08_08_05_10308.jpg', '/mnt/data/13062025/08/07/image_13062025_08_07_54_10139.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/08/08/image_13062025_08_08_54_10120.jpg
/mnt/data/13062025/08/08/image_13062025_08_08_44_10080.jpg
/mnt/data/13062025/08/08/image_13062025_08_08_34_10182.jpg
/mnt/data/13062025/08/08/image_13062025_08_08_24_8940.jpg
/mnt/data/13062025/08/07/image_13062025_08_08_05_10308.jpg
/mnt/data/13062025/08/07/image_13062025_08_07_54_10139.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375683872","1375683688","1375683934","1375683751","1375683996","1375683808"],"photo_ids_order":["1375683688","1375683751","1375683808","1375683872","1375683934","1375683996"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/c5f41d157423cd83734de8fd2b5da65d.jpg","text":"TemporaryFile(/tmp/multipartBody4327366761213656726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575394926,"filename":"image_13062025_08_08_24_8940.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/b2407eb1f20d108cf779440558bf88b3.jpg","text":"TemporaryFile(/tmp/multipartBody7679458670569345189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575394926,"filename":"image_13062025_08_08_54_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/7/dfbbccef4fb6f485600b565336872a3f.jpg","text":"TemporaryFile(/tmp/multipartBody1126122210306576630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575394926,"filename":"image_13062025_08_08_05_10308.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/7e87f0b3ad43ca08e37e6663f37c8f22.jpg","text":"TemporaryFile(/tmp/multipartBody7808301354726169887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575394926,"filename":"image_13062025_08_08_44_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/7/60eaeef0c1b58cfcf49060e6a07e5abf.jpg","text":"TemporaryFile(/tmp/multipartBody3220899255998638551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575394926,"filename":"image_13062025_08_07_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/7/02ee3ddb51109dff4022c57c7712c16d.jpg","text":"TemporaryFile(/tmp/multipartBody8290227358565314770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575394926,"filename":"image_13062025_08_08_34_10182.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375683808","file1":"1375683751","file0":"1375683688","file4":"1375683934","file5":"1375683996","file3":"1375683872"},"map_files_photo_id_array":[{"photo_id":"1375683996","filename":"file5"},{"photo_id":"1375683808","filename":"file2"},{"photo_id":"1375683934","filename":"file4"},{"photo_id":"1375683751","filename":"file1"},{"photo_id":"1375683688","filename":"file0"},{"photo_id":"1375683872","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375683872":["hashtag1","hashtag2"]},{"1375683688":["hashtag1","hashtag2"]},{"1375683934":["hashtag1","hashtag2"]},{"1375683751":["hashtag1","hashtag2"]},{"1375683996":["hashtag1","hashtag2"]},{"1375683808":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375683872, 1375683688, 1375683934, 1375683751, 1375683996, 1375683808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.849117279052734 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:03:02.484664
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/08/07/image_13062025_08_07_44_10171.jpg', 2), ('/mnt/data/13062025/08/07/image_13062025_08_07_34_10103.jpg', 2), ('/mnt/data/13062025/08/07/image_13062025_08_07_14_8958.jpg', 2), ('/mnt/data/13062025/08/06/image_13062025_08_07_05_10348.jpg', 2), ('/mnt/data/13062025/08/06/image_13062025_08_06_55_10071.jpg', 2), ('/mnt/data/13062025/08/06/image_13062025_08_06_24_10116.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/08/07/image_13062025_08_07_44_10171.jpg', '/mnt/data/13062025/08/07/image_13062025_08_07_34_10103.jpg', '/mnt/data/13062025/08/07/image_13062025_08_07_14_8958.jpg', '/mnt/data/13062025/08/06/image_13062025_08_07_05_10348.jpg', '/mnt/data/13062025/08/06/image_13062025_08_06_55_10071.jpg', '/mnt/data/13062025/08/06/image_13062025_08_06_24_10116.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/08/07/image_13062025_08_07_44_10171.jpg', '/mnt/data/13062025/08/07/image_13062025_08_07_34_10103.jpg', '/mnt/data/13062025/08/07/image_13062025_08_07_14_8958.jpg', '/mnt/data/13062025/08/06/image_13062025_08_07_05_10348.jpg', '/mnt/data/13062025/08/06/image_13062025_08_06_55_10071.jpg', '/mnt/data/13062025/08/06/image_13062025_08_06_24_10116.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/08/07/image_13062025_08_07_44_10171.jpg
/mnt/data/13062025/08/07/image_13062025_08_07_34_10103.jpg
/mnt/data/13062025/08/07/image_13062025_08_07_14_8958.jpg
/mnt/data/13062025/08/06/image_13062025_08_07_05_10348.jpg
/mnt/data/13062025/08/06/image_13062025_08_06_55_10071.jpg
/mnt/data/13062025/08/06/image_13062025_08_06_24_10116.jpg
uploaded 0 photos
time to upload: 30.4751398563385 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:04:03.437942
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/08/07/image_13062025_08_07_44_10171.jpg', 2), ('/mnt/data/13062025/08/07/image_13062025_08_07_34_10103.jpg', 2), ('/mnt/data/13062025/08/07/image_13062025_08_07_14_8958.jpg', 2), ('/mnt/data/13062025/08/06/image_13062025_08_07_05_10348.jpg', 2), ('/mnt/data/13062025/08/06/image_13062025_08_06_55_10071.jpg', 2), ('/mnt/data/13062025/08/06/image_13062025_08_06_24_10116.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/08/07/image_13062025_08_07_44_10171.jpg', '/mnt/data/13062025/08/07/image_13062025_08_07_34_10103.jpg', '/mnt/data/13062025/08/07/image_13062025_08_07_14_8958.jpg', '/mnt/data/13062025/08/06/image_13062025_08_07_05_10348.jpg', '/mnt/data/13062025/08/06/image_13062025_08_06_55_10071.jpg', '/mnt/data/13062025/08/06/image_13062025_08_06_24_10116.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/08/07/image_13062025_08_07_44_10171.jpg', '/mnt/data/13062025/08/07/image_13062025_08_07_34_10103.jpg', '/mnt/data/13062025/08/07/image_13062025_08_07_14_8958.jpg', '/mnt/data/13062025/08/06/image_13062025_08_07_05_10348.jpg', '/mnt/data/13062025/08/06/image_13062025_08_06_55_10071.jpg', '/mnt/data/13062025/08/06/image_13062025_08_06_24_10116.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/08/07/image_13062025_08_07_44_10171.jpg
/mnt/data/13062025/08/07/image_13062025_08_07_34_10103.jpg
/mnt/data/13062025/08/07/image_13062025_08_07_14_8958.jpg
/mnt/data/13062025/08/06/image_13062025_08_07_05_10348.jpg
/mnt/data/13062025/08/06/image_13062025_08_06_55_10071.jpg
/mnt/data/13062025/08/06/image_13062025_08_06_24_10116.jpg
uploaded 0 photos
time to upload: 30.350502014160156 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:05:03.414393
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/08/07/image_13062025_08_07_44_10171.jpg', 2), ('/mnt/data/13062025/08/07/image_13062025_08_07_34_10103.jpg', 2), ('/mnt/data/13062025/08/07/image_13062025_08_07_14_8958.jpg', 2), ('/mnt/data/13062025/08/06/image_13062025_08_07_05_10348.jpg', 2), ('/mnt/data/13062025/08/06/image_13062025_08_06_55_10071.jpg', 2), ('/mnt/data/13062025/08/06/image_13062025_08_06_24_10116.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/08/07/image_13062025_08_07_44_10171.jpg', '/mnt/data/13062025/08/07/image_13062025_08_07_34_10103.jpg', '/mnt/data/13062025/08/07/image_13062025_08_07_14_8958.jpg', '/mnt/data/13062025/08/06/image_13062025_08_07_05_10348.jpg', '/mnt/data/13062025/08/06/image_13062025_08_06_55_10071.jpg', '/mnt/data/13062025/08/06/image_13062025_08_06_24_10116.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/08/07/image_13062025_08_07_44_10171.jpg', '/mnt/data/13062025/08/07/image_13062025_08_07_34_10103.jpg', '/mnt/data/13062025/08/07/image_13062025_08_07_14_8958.jpg', '/mnt/data/13062025/08/06/image_13062025_08_07_05_10348.jpg', '/mnt/data/13062025/08/06/image_13062025_08_06_55_10071.jpg', '/mnt/data/13062025/08/06/image_13062025_08_06_24_10116.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/08/07/image_13062025_08_07_44_10171.jpg
/mnt/data/13062025/08/07/image_13062025_08_07_34_10103.jpg
/mnt/data/13062025/08/07/image_13062025_08_07_14_8958.jpg
/mnt/data/13062025/08/06/image_13062025_08_07_05_10348.jpg
/mnt/data/13062025/08/06/image_13062025_08_06_55_10071.jpg
/mnt/data/13062025/08/06/image_13062025_08_06_24_10116.jpg
uploaded 0 photos
time to upload: 30.38192844390869 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:06:03.133233
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/08/07/image_13062025_08_07_44_10171.jpg', 2), ('/mnt/data/13062025/08/07/image_13062025_08_07_34_10103.jpg', 2), ('/mnt/data/13062025/08/07/image_13062025_08_07_14_8958.jpg', 2), ('/mnt/data/13062025/08/06/image_13062025_08_07_05_10348.jpg', 2), ('/mnt/data/13062025/08/06/image_13062025_08_06_55_10071.jpg', 2), ('/mnt/data/13062025/08/06/image_13062025_08_06_24_10116.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/08/07/image_13062025_08_07_44_10171.jpg', '/mnt/data/13062025/08/07/image_13062025_08_07_34_10103.jpg', '/mnt/data/13062025/08/07/image_13062025_08_07_14_8958.jpg', '/mnt/data/13062025/08/06/image_13062025_08_07_05_10348.jpg', '/mnt/data/13062025/08/06/image_13062025_08_06_55_10071.jpg', '/mnt/data/13062025/08/06/image_13062025_08_06_24_10116.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/08/07/image_13062025_08_07_44_10171.jpg', '/mnt/data/13062025/08/07/image_13062025_08_07_34_10103.jpg', '/mnt/data/13062025/08/07/image_13062025_08_07_14_8958.jpg', '/mnt/data/13062025/08/06/image_13062025_08_07_05_10348.jpg', '/mnt/data/13062025/08/06/image_13062025_08_06_55_10071.jpg', '/mnt/data/13062025/08/06/image_13062025_08_06_24_10116.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/08/07/image_13062025_08_07_44_10171.jpg
/mnt/data/13062025/08/07/image_13062025_08_07_34_10103.jpg
/mnt/data/13062025/08/07/image_13062025_08_07_14_8958.jpg
/mnt/data/13062025/08/06/image_13062025_08_07_05_10348.jpg
/mnt/data/13062025/08/06/image_13062025_08_06_55_10071.jpg
/mnt/data/13062025/08/06/image_13062025_08_06_24_10116.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":["1375685479","1375685473","1375685481","1375685480","1375685477","1375685482"],"photo_ids_order":["1375685473","1375685477","1375685479","1375685480","1375685481","1375685482"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/540d1739f3e568e2da1ded5bbfd08ab4.jpg","text":"TemporaryFile(/tmp/multipartBody7210803525875265953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575652356,"filename":"image_13062025_08_07_14_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/7/30f674d24b890708ddf4523aedac78ff.jpg","text":"TemporaryFile(/tmp/multipartBody2663909644439131175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575652356,"filename":"image_13062025_08_07_44_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/7/271264b9a463e3198e7276313685ab34.jpg","text":"TemporaryFile(/tmp/multipartBody8072141810082339255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575652356,"filename":"image_13062025_08_06_55_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/7/d241812eb4fb8dfb5c5d410cacf39f01.jpg","text":"TemporaryFile(/tmp/multipartBody6442899122248316572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575652356,"filename":"image_13062025_08_07_05_10348.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/62ff6f4c8ab3137ef0c9cacc55b0bc0b.jpg","text":"TemporaryFile(/tmp/multipartBody2830332975997333592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575652356,"filename":"image_13062025_08_07_34_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/7/f6a651edbe655385426a58b0be4939e1.jpg","text":"TemporaryFile(/tmp/multipartBody6983898877960569485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575652356,"filename":"image_13062025_08_06_24_10116.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375685479","file1":"1375685477","file0":"1375685473","file4":"1375685481","file5":"1375685482","file3":"1375685480"},"map_files_photo_id_array":[{"photo_id":"1375685482","filename":"file5"},{"photo_id":"1375685479","filename":"file2"},{"photo_id":"1375685481","filename":"file4"},{"photo_id":"1375685477","filename":"file1"},{"photo_id":"1375685473","filename":"file0"},{"photo_id":"1375685480","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375685479":["hashtag1","hashtag2"]},{"1375685473":["hashtag1","hashtag2"]},{"1375685481":["hashtag1","hashtag2"]},{"1375685480":["hashtag1","hashtag2"]},{"1375685477":["hashtag1","hashtag2"]},{"1375685482":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375685479, 1375685473, 1375685481, 1375685480, 1375685477, 1375685482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.38474154472351 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:08:02.348100
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/08/06/image_13062025_08_06_14_10060.jpg', 2), ('/mnt/data/13062025/08/05/image_13062025_08_05_54_10110.jpg', 2), ('/mnt/data/13062025/08/05/image_13062025_08_05_44_8887.jpg', 2), ('/mnt/data/13062025/08/05/image_13062025_08_05_35_10407.jpg', 2), ('/mnt/data/13062025/08/05/image_13062025_08_05_25_10134.jpg', 2), ('/mnt/data/13062025/08/05/image_13062025_08_05_14_9913.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/08/06/image_13062025_08_06_14_10060.jpg', '/mnt/data/13062025/08/05/image_13062025_08_05_54_10110.jpg', '/mnt/data/13062025/08/05/image_13062025_08_05_44_8887.jpg', '/mnt/data/13062025/08/05/image_13062025_08_05_35_10407.jpg', '/mnt/data/13062025/08/05/image_13062025_08_05_25_10134.jpg', '/mnt/data/13062025/08/05/image_13062025_08_05_14_9913.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/08/06/image_13062025_08_06_14_10060.jpg', '/mnt/data/13062025/08/05/image_13062025_08_05_54_10110.jpg', '/mnt/data/13062025/08/05/image_13062025_08_05_44_8887.jpg', '/mnt/data/13062025/08/05/image_13062025_08_05_35_10407.jpg', '/mnt/data/13062025/08/05/image_13062025_08_05_25_10134.jpg', '/mnt/data/13062025/08/05/image_13062025_08_05_14_9913.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/08/06/image_13062025_08_06_14_10060.jpg
/mnt/data/13062025/08/05/image_13062025_08_05_54_10110.jpg
/mnt/data/13062025/08/05/image_13062025_08_05_44_8887.jpg
/mnt/data/13062025/08/05/image_13062025_08_05_35_10407.jpg
/mnt/data/13062025/08/05/image_13062025_08_05_25_10134.jpg
/mnt/data/13062025/08/05/image_13062025_08_05_14_9913.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":["1375685807","1375685812","1375685798","1375685801","1375685810","1375685804"],"photo_ids_order":["1375685798","1375685801","1375685804","1375685807","1375685810","1375685812"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/0c377b4d3ab1640c60b9db8a0ac5bf3d.jpg","text":"TemporaryFile(/tmp/multipartBody6214369168834704344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575764077,"filename":"image_13062025_08_05_35_10407.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/14b10ab878a43e2a7edf0340b72b6b2f.jpg","text":"TemporaryFile(/tmp/multipartBody3767316967648305174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575764077,"filename":"image_13062025_08_05_14_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/7/bb6558767a501b95d84ea8ccb6b967c8.jpg","text":"TemporaryFile(/tmp/multipartBody139678630356509265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575764077,"filename":"image_13062025_08_06_14_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/7/ebf4a37b8f6d38d9f5210c84d67111f8.jpg","text":"TemporaryFile(/tmp/multipartBody406711177887806207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575764077,"filename":"image_13062025_08_05_54_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/7/11f2787f93d7ed1ddde5dff48dacfb3a.jpg","text":"TemporaryFile(/tmp/multipartBody5619266908080507082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575764077,"filename":"image_13062025_08_05_25_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/7/fd833167ce6266b11bfadc91949c2e1f.jpg","text":"TemporaryFile(/tmp/multipartBody5043109995757527146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575764077,"filename":"image_13062025_08_05_44_8887.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375685804","file1":"1375685801","file0":"1375685798","file4":"1375685810","file5":"1375685812","file3":"1375685807"},"map_files_photo_id_array":[{"photo_id":"1375685812","filename":"file5"},{"photo_id":"1375685804","filename":"file2"},{"photo_id":"1375685810","filename":"file4"},{"photo_id":"1375685801","filename":"file1"},{"photo_id":"1375685798","filename":"file0"},{"photo_id":"1375685807","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375685807":["hashtag1","hashtag2"]},{"1375685812":["hashtag1","hashtag2"]},{"1375685798":["hashtag1","hashtag2"]},{"1375685801":["hashtag1","hashtag2"]},{"1375685810":["hashtag1","hashtag2"]},{"1375685804":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375685807, 1375685812, 1375685798, 1375685801, 1375685810, 1375685804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.817341566085815 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:10:02.929529
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/08/04/image_13062025_08_05_04_10209.jpg', 2), ('/mnt/data/13062025/08/04/image_13062025_08_04_44_10053.jpg', 2), ('/mnt/data/13062025/08/04/image_13062025_08_04_34_10181.jpg', 2), ('/mnt/data/13062025/08/04/image_13062025_08_04_14_10063.jpg', 2), ('/mnt/data/13062025/08/03/image_13062025_08_04_04_9188.jpg', 2), ('/mnt/data/13062025/08/03/image_13062025_08_03_55_10115.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/08/04/image_13062025_08_05_04_10209.jpg', '/mnt/data/13062025/08/04/image_13062025_08_04_44_10053.jpg', '/mnt/data/13062025/08/04/image_13062025_08_04_34_10181.jpg', '/mnt/data/13062025/08/04/image_13062025_08_04_14_10063.jpg', '/mnt/data/13062025/08/03/image_13062025_08_04_04_9188.jpg', '/mnt/data/13062025/08/03/image_13062025_08_03_55_10115.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/08/04/image_13062025_08_05_04_10209.jpg', '/mnt/data/13062025/08/04/image_13062025_08_04_44_10053.jpg', '/mnt/data/13062025/08/04/image_13062025_08_04_34_10181.jpg', '/mnt/data/13062025/08/04/image_13062025_08_04_14_10063.jpg', '/mnt/data/13062025/08/03/image_13062025_08_04_04_9188.jpg', '/mnt/data/13062025/08/03/image_13062025_08_03_55_10115.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/08/04/image_13062025_08_05_04_10209.jpg
/mnt/data/13062025/08/04/image_13062025_08_04_44_10053.jpg
/mnt/data/13062025/08/04/image_13062025_08_04_34_10181.jpg
/mnt/data/13062025/08/04/image_13062025_08_04_14_10063.jpg
/mnt/data/13062025/08/03/image_13062025_08_04_04_9188.jpg
/mnt/data/13062025/08/03/image_13062025_08_03_55_10115.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":["1375685977","1375685964","1375685973","1375685969","1375685999","1375686002"],"photo_ids_order":["1375685964","1375685969","1375685973","1375685977","1375685999","1375686002"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/9d1b823a13f19c9eb173005201b0fefb.jpg","text":"TemporaryFile(/tmp/multipartBody2023831755514145971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575882995,"filename":"image_13062025_08_04_14_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/7/9e730d5168968f55d4b37e040ede9ae0.jpg","text":"TemporaryFile(/tmp/multipartBody4671494480091229610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575882995,"filename":"image_13062025_08_05_04_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/7/88bc64baf90b26f2bdb4347d416db6d2.jpg","text":"TemporaryFile(/tmp/multipartBody308770040202371491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575882995,"filename":"image_13062025_08_04_34_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/7/578ef4d4d0a3462f0669574f5206781b.jpg","text":"TemporaryFile(/tmp/multipartBody4409388846930492597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575882995,"filename":"image_13062025_08_04_44_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/7/c9de94464f5d2c9cfa21c1deb7e752d4.jpg","text":"TemporaryFile(/tmp/multipartBody3969003794519736280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575882995,"filename":"image_13062025_08_04_04_9188.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/efab85ae3dd8f84df0d52293acb7a205.jpg","text":"TemporaryFile(/tmp/multipartBody2713089918021696788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754575882995,"filename":"image_13062025_08_03_55_10115.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375685973","file1":"1375685969","file0":"1375685964","file4":"1375685999","file5":"1375686002","file3":"1375685977"},"map_files_photo_id_array":[{"photo_id":"1375686002","filename":"file5"},{"photo_id":"1375685973","filename":"file2"},{"photo_id":"1375685999","filename":"file4"},{"photo_id":"1375685969","filename":"file1"},{"photo_id":"1375685964","filename":"file0"},{"photo_id":"1375685977","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375685977":["hashtag1","hashtag2"]},{"1375685964":["hashtag1","hashtag2"]},{"1375685973":["hashtag1","hashtag2"]},{"1375685969":["hashtag1","hashtag2"]},{"1375685999":["hashtag1","hashtag2"]},{"1375686002":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375685977, 1375685964, 1375685973, 1375685969, 1375685999, 1375686002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.16448163986206 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:12:02.558361
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/08/03/image_13062025_08_03_44_10129.jpg', 2), ('/mnt/data/13062025/08/03/image_13062025_08_03_34_10129.jpg', 2), ('/mnt/data/13062025/08/03/image_13062025_08_03_24_10102.jpg', 2), ('/mnt/data/13062025/08/03/image_13062025_08_03_14_10052.jpg', 2), ('/mnt/data/13062025/08/02/image_13062025_08_03_04_10299.jpg', 2), ('/mnt/data/13062025/08/02/image_13062025_08_02_54_9966.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/08/03/image_13062025_08_03_44_10129.jpg', '/mnt/data/13062025/08/03/image_13062025_08_03_34_10129.jpg', '/mnt/data/13062025/08/03/image_13062025_08_03_24_10102.jpg', '/mnt/data/13062025/08/03/image_13062025_08_03_14_10052.jpg', '/mnt/data/13062025/08/02/image_13062025_08_03_04_10299.jpg', '/mnt/data/13062025/08/02/image_13062025_08_02_54_9966.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/08/03/image_13062025_08_03_44_10129.jpg', '/mnt/data/13062025/08/03/image_13062025_08_03_34_10129.jpg', '/mnt/data/13062025/08/03/image_13062025_08_03_24_10102.jpg', '/mnt/data/13062025/08/03/image_13062025_08_03_14_10052.jpg', '/mnt/data/13062025/08/02/image_13062025_08_03_04_10299.jpg', '/mnt/data/13062025/08/02/image_13062025_08_02_54_9966.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/08/03/image_13062025_08_03_44_10129.jpg
/mnt/data/13062025/08/03/image_13062025_08_03_34_10129.jpg
/mnt/data/13062025/08/03/image_13062025_08_03_24_10102.jpg
/mnt/data/13062025/08/03/image_13062025_08_03_14_10052.jpg
/mnt/data/13062025/08/02/image_13062025_08_03_04_10299.jpg
/mnt/data/13062025/08/02/image_13062025_08_02_54_9966.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 140.37141180038452 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-07 16:15:02.585469
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/08/03/image_13062025_08_03_44_10129.jpg', 2), ('/mnt/data/13062025/08/03/image_13062025_08_03_34_10129.jpg', 2), ('/mnt/data/13062025/08/03/image_13062025_08_03_24_10102.jpg', 2), ('/mnt/data/13062025/08/03/image_13062025_08_03_14_10052.jpg', 2), ('/mnt/data/13062025/08/02/image_13062025_08_03_04_10299.jpg', 2), ('/mnt/data/13062025/08/02/image_13062025_08_02_54_9966.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/08/03/image_13062025_08_03_44_10129.jpg', '/mnt/data/13062025/08/03/image_13062025_08_03_34_10129.jpg', '/mnt/data/13062025/08/03/image_13062025_08_03_24_10102.jpg', '/mnt/data/13062025/08/03/image_13062025_08_03_14_10052.jpg', '/mnt/data/13062025/08/02/image_13062025_08_03_04_10299.jpg', '/mnt/data/13062025/08/02/image_13062025_08_02_54_9966.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/08/03/image_13062025_08_03_44_10129.jpg', '/mnt/data/13062025/08/03/image_13062025_08_03_34_10129.jpg', '/mnt/data/13062025/08/03/image_13062025_08_03_24_10102.jpg', '/mnt/data/13062025/08/03/image_13062025_08_03_14_10052.jpg', '/mnt/data/13062025/08/02/image_13062025_08_03_04_10299.jpg', '/mnt/data/13062025/08/02/image_13062025_08_02_54_9966.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/08/03/image_13062025_08_03_44_10129.jpg
/mnt/data/13062025/08/03/image_13062025_08_03_34_10129.jpg
/mnt/data/13062025/08/03/image_13062025_08_03_24_10102.jpg
/mnt/data/13062025/08/03/image_13062025_08_03_14_10052.jpg
/mnt/data/13062025/08/02/image_13062025_08_03_04_10299.jpg
/mnt/data/13062025/08/02/image_13062025_08_02_54_9966.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375687530","1375687521","1375687518","1375687508","1375687528","1375687525"],"photo_ids_order":["1375687508","1375687518","1375687521","1375687525","1375687528","1375687530"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d3d2704a1f3c6b78729428e33bf4d615.jpg","text":"TemporaryFile(/tmp/multipartBody1172432998905994876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576179044,"filename":"image_13062025_08_02_54_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/7/dc908f5d22cff40ffe9494d770965092.jpg","text":"TemporaryFile(/tmp/multipartBody6039689533332143972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576179044,"filename":"image_13062025_08_03_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/7/d2244b1b89d17a8c8cea2d1826e08121.jpg","text":"TemporaryFile(/tmp/multipartBody2000865402693277884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576179044,"filename":"image_13062025_08_03_34_10129.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/be0076c6cc6c3e70a501d1b7a4bbad08.jpg","text":"TemporaryFile(/tmp/multipartBody7073478728811532913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576179044,"filename":"image_13062025_08_03_44_10129.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/8e0cfd9dab5de3d0b9b2941743799546.jpg","text":"TemporaryFile(/tmp/multipartBody4548381365235236139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576179044,"filename":"image_13062025_08_03_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/7/f193523155257fd8947880e74ca15e9c.jpg","text":"TemporaryFile(/tmp/multipartBody7166256479806835150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576179044,"filename":"image_13062025_08_03_14_10052.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375687521","file1":"1375687518","file0":"1375687508","file4":"1375687528","file5":"1375687530","file3":"1375687525"},"map_files_photo_id_array":[{"photo_id":"1375687530","filename":"file5"},{"photo_id":"1375687521","filename":"file2"},{"photo_id":"1375687528","filename":"file4"},{"photo_id":"1375687518","filename":"file1"},{"photo_id":"1375687508","filename":"file0"},{"photo_id":"1375687525","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375687530":["hashtag1","hashtag2"]},{"1375687521":["hashtag1","hashtag2"]},{"1375687518":["hashtag1","hashtag2"]},{"1375687508":["hashtag1","hashtag2"]},{"1375687528":["hashtag1","hashtag2"]},{"1375687525":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375687530, 1375687521, 1375687518, 1375687508, 1375687528, 1375687525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.53898501396179 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:16:02.369449
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/08/02/image_13062025_08_02_14_10045.jpg', 2), ('/mnt/data/13062025/08/00/image_13062025_08_00_54_10017.jpg', 2), ('/mnt/data/13062025/08/00/image_13062025_08_00_44_9891.jpg', 2), ('/mnt/data/13062025/08/00/image_13062025_08_00_24_10168.jpg', 2), ('/mnt/data/13062025/08/00/image_13062025_08_00_14_10213.jpg', 2), ('/mnt/data/13062025/07/59/image_13062025_07_59_45_10044.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/08/02/image_13062025_08_02_14_10045.jpg', '/mnt/data/13062025/08/00/image_13062025_08_00_54_10017.jpg', '/mnt/data/13062025/08/00/image_13062025_08_00_44_9891.jpg', '/mnt/data/13062025/08/00/image_13062025_08_00_24_10168.jpg', '/mnt/data/13062025/08/00/image_13062025_08_00_14_10213.jpg', '/mnt/data/13062025/07/59/image_13062025_07_59_45_10044.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/08/02/image_13062025_08_02_14_10045.jpg', '/mnt/data/13062025/08/00/image_13062025_08_00_54_10017.jpg', '/mnt/data/13062025/08/00/image_13062025_08_00_44_9891.jpg', '/mnt/data/13062025/08/00/image_13062025_08_00_24_10168.jpg', '/mnt/data/13062025/08/00/image_13062025_08_00_14_10213.jpg', '/mnt/data/13062025/07/59/image_13062025_07_59_45_10044.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/08/02/image_13062025_08_02_14_10045.jpg
/mnt/data/13062025/08/00/image_13062025_08_00_54_10017.jpg
/mnt/data/13062025/08/00/image_13062025_08_00_44_9891.jpg
/mnt/data/13062025/08/00/image_13062025_08_00_24_10168.jpg
/mnt/data/13062025/08/00/image_13062025_08_00_14_10213.jpg
/mnt/data/13062025/07/59/image_13062025_07_59_45_10044.jpg
uploaded 0 photos
time to upload: 30.424258947372437 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:17:03.325456
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/08/02/image_13062025_08_02_14_10045.jpg', 2), ('/mnt/data/13062025/08/00/image_13062025_08_00_54_10017.jpg', 2), ('/mnt/data/13062025/08/00/image_13062025_08_00_44_9891.jpg', 2), ('/mnt/data/13062025/08/00/image_13062025_08_00_24_10168.jpg', 2), ('/mnt/data/13062025/08/00/image_13062025_08_00_14_10213.jpg', 2), ('/mnt/data/13062025/07/59/image_13062025_07_59_45_10044.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/08/02/image_13062025_08_02_14_10045.jpg', '/mnt/data/13062025/08/00/image_13062025_08_00_54_10017.jpg', '/mnt/data/13062025/08/00/image_13062025_08_00_44_9891.jpg', '/mnt/data/13062025/08/00/image_13062025_08_00_24_10168.jpg', '/mnt/data/13062025/08/00/image_13062025_08_00_14_10213.jpg', '/mnt/data/13062025/07/59/image_13062025_07_59_45_10044.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/08/02/image_13062025_08_02_14_10045.jpg', '/mnt/data/13062025/08/00/image_13062025_08_00_54_10017.jpg', '/mnt/data/13062025/08/00/image_13062025_08_00_44_9891.jpg', '/mnt/data/13062025/08/00/image_13062025_08_00_24_10168.jpg', '/mnt/data/13062025/08/00/image_13062025_08_00_14_10213.jpg', '/mnt/data/13062025/07/59/image_13062025_07_59_45_10044.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/08/02/image_13062025_08_02_14_10045.jpg
/mnt/data/13062025/08/00/image_13062025_08_00_54_10017.jpg
/mnt/data/13062025/08/00/image_13062025_08_00_44_9891.jpg
/mnt/data/13062025/08/00/image_13062025_08_00_24_10168.jpg
/mnt/data/13062025/08/00/image_13062025_08_00_14_10213.jpg
/mnt/data/13062025/07/59/image_13062025_07_59_45_10044.jpg
uploaded 0 photos
time to upload: 12.323935508728027 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-07 16:18:03.053632
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/08/02/image_13062025_08_02_14_10045.jpg', 2), ('/mnt/data/13062025/08/00/image_13062025_08_00_54_10017.jpg', 2), ('/mnt/data/13062025/08/00/image_13062025_08_00_44_9891.jpg', 2), ('/mnt/data/13062025/08/00/image_13062025_08_00_24_10168.jpg', 2), ('/mnt/data/13062025/08/00/image_13062025_08_00_14_10213.jpg', 2), ('/mnt/data/13062025/07/59/image_13062025_07_59_45_10044.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/08/02/image_13062025_08_02_14_10045.jpg', '/mnt/data/13062025/08/00/image_13062025_08_00_54_10017.jpg', '/mnt/data/13062025/08/00/image_13062025_08_00_44_9891.jpg', '/mnt/data/13062025/08/00/image_13062025_08_00_24_10168.jpg', '/mnt/data/13062025/08/00/image_13062025_08_00_14_10213.jpg', '/mnt/data/13062025/07/59/image_13062025_07_59_45_10044.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/08/02/image_13062025_08_02_14_10045.jpg', '/mnt/data/13062025/08/00/image_13062025_08_00_54_10017.jpg', '/mnt/data/13062025/08/00/image_13062025_08_00_44_9891.jpg', '/mnt/data/13062025/08/00/image_13062025_08_00_24_10168.jpg', '/mnt/data/13062025/08/00/image_13062025_08_00_14_10213.jpg', '/mnt/data/13062025/07/59/image_13062025_07_59_45_10044.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/08/02/image_13062025_08_02_14_10045.jpg
/mnt/data/13062025/08/00/image_13062025_08_00_54_10017.jpg
/mnt/data/13062025/08/00/image_13062025_08_00_44_9891.jpg
/mnt/data/13062025/08/00/image_13062025_08_00_24_10168.jpg
/mnt/data/13062025/08/00/image_13062025_08_00_14_10213.jpg
/mnt/data/13062025/07/59/image_13062025_07_59_45_10044.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":["1375688099","1375688114","1375688117","1375688105","1375688122","1375688110"],"photo_ids_order":["1375688099","1375688105","1375688110","1375688114","1375688117","1375688122"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/a65df93a6b9b85920af1a8237afca2e2.jpg","text":"TemporaryFile(/tmp/multipartBody8363746864986053268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576365074,"filename":"image_13062025_08_02_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/7/b6ffef195ae1d538c26daacef7f53442.jpg","text":"TemporaryFile(/tmp/multipartBody2292118024485256122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576365074,"filename":"image_13062025_08_00_24_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/7/f0185ac2c6102a3a9e1ece0c0a035c9f.jpg","text":"TemporaryFile(/tmp/multipartBody5874533771483199904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576365074,"filename":"image_13062025_08_00_14_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/7/e53c2d67d78f6cee63072afc87ccc381.jpg","text":"TemporaryFile(/tmp/multipartBody3537965642638758247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576365074,"filename":"image_13062025_08_00_54_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/7/467acfbb7ddf13a96f9c0553977ccca8.jpg","text":"TemporaryFile(/tmp/multipartBody8008261115896775603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576365074,"filename":"image_13062025_07_59_45_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/7/025838fba741b2d0c0e7b1d02929e166.jpg","text":"TemporaryFile(/tmp/multipartBody4314180348221944594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576365074,"filename":"image_13062025_08_00_44_9891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375688110","file1":"1375688105","file0":"1375688099","file4":"1375688117","file5":"1375688122","file3":"1375688114"},"map_files_photo_id_array":[{"photo_id":"1375688122","filename":"file5"},{"photo_id":"1375688110","filename":"file2"},{"photo_id":"1375688117","filename":"file4"},{"photo_id":"1375688105","filename":"file1"},{"photo_id":"1375688099","filename":"file0"},{"photo_id":"1375688114","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375688099":["hashtag1","hashtag2"]},{"1375688114":["hashtag1","hashtag2"]},{"1375688117":["hashtag1","hashtag2"]},{"1375688105":["hashtag1","hashtag2"]},{"1375688122":["hashtag1","hashtag2"]},{"1375688110":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375688099, 1375688114, 1375688117, 1375688105, 1375688122, 1375688110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.04018044471741 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:20:02.990944
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/59/image_13062025_07_59_35_10094.jpg', 2), ('/mnt/data/13062025/07/59/image_13062025_07_59_14_10169.jpg', 2), ('/mnt/data/13062025/07/58/image_13062025_07_59_04_10090.jpg', 2), ('/mnt/data/13062025/07/58/image_13062025_07_58_54_10109.jpg', 2), ('/mnt/data/13062025/07/58/image_13062025_07_58_44_10117.jpg', 2), ('/mnt/data/13062025/07/58/image_13062025_07_58_14_10022.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/59/image_13062025_07_59_35_10094.jpg', '/mnt/data/13062025/07/59/image_13062025_07_59_14_10169.jpg', '/mnt/data/13062025/07/58/image_13062025_07_59_04_10090.jpg', '/mnt/data/13062025/07/58/image_13062025_07_58_54_10109.jpg', '/mnt/data/13062025/07/58/image_13062025_07_58_44_10117.jpg', '/mnt/data/13062025/07/58/image_13062025_07_58_14_10022.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/59/image_13062025_07_59_35_10094.jpg', '/mnt/data/13062025/07/59/image_13062025_07_59_14_10169.jpg', '/mnt/data/13062025/07/58/image_13062025_07_59_04_10090.jpg', '/mnt/data/13062025/07/58/image_13062025_07_58_54_10109.jpg', '/mnt/data/13062025/07/58/image_13062025_07_58_44_10117.jpg', '/mnt/data/13062025/07/58/image_13062025_07_58_14_10022.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/59/image_13062025_07_59_35_10094.jpg
/mnt/data/13062025/07/59/image_13062025_07_59_14_10169.jpg
/mnt/data/13062025/07/58/image_13062025_07_59_04_10090.jpg
/mnt/data/13062025/07/58/image_13062025_07_58_54_10109.jpg
/mnt/data/13062025/07/58/image_13062025_07_58_44_10117.jpg
/mnt/data/13062025/07/58/image_13062025_07_58_14_10022.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375688191","1375688173","1375688182","1375688170","1375688178","1375688187"],"photo_ids_order":["1375688170","1375688173","1375688178","1375688182","1375688187","1375688191"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/9a15f284e73b8fbbb6cd36d3325ceea4.jpg","text":"TemporaryFile(/tmp/multipartBody1097635125184844723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576475519,"filename":"image_13062025_07_58_14_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/7/5e45a27133416b20fcd7c710cd1f3e2b.jpg","text":"TemporaryFile(/tmp/multipartBody4521505561369192046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576475519,"filename":"image_13062025_07_59_14_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/7/051d982b4ac1e89def6e8992e711562c.jpg","text":"TemporaryFile(/tmp/multipartBody8348759495584501228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576475519,"filename":"image_13062025_07_58_54_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/7/f4782b9bc02c49067af4702b01194cba.jpg","text":"TemporaryFile(/tmp/multipartBody1750723554522883458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576475519,"filename":"image_13062025_07_59_35_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/7/ab3a8cd16b8fceb3163308c40b07376e.jpg","text":"TemporaryFile(/tmp/multipartBody8028783699681195633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576475519,"filename":"image_13062025_07_59_04_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/7/df8400937f00e5404584bf6f831b7b5c.jpg","text":"TemporaryFile(/tmp/multipartBody2747194350186361662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576475519,"filename":"image_13062025_07_58_44_10117.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375688178","file1":"1375688173","file0":"1375688170","file4":"1375688187","file5":"1375688191","file3":"1375688182"},"map_files_photo_id_array":[{"photo_id":"1375688191","filename":"file5"},{"photo_id":"1375688178","filename":"file2"},{"photo_id":"1375688187","filename":"file4"},{"photo_id":"1375688173","filename":"file1"},{"photo_id":"1375688170","filename":"file0"},{"photo_id":"1375688182","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375688191":["hashtag1","hashtag2"]},{"1375688173":["hashtag1","hashtag2"]},{"1375688182":["hashtag1","hashtag2"]},{"1375688170":["hashtag1","hashtag2"]},{"1375688178":["hashtag1","hashtag2"]},{"1375688187":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375688191, 1375688173, 1375688182, 1375688170, 1375688178, 1375688187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.341397762298584 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:21:03.069980
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/57/image_13062025_07_58_04_9196.jpg', 2), ('/mnt/data/13062025/07/57/image_13062025_07_57_55_10108.jpg', 2), ('/mnt/data/13062025/07/57/image_13062025_07_57_44_9926.jpg', 2), ('/mnt/data/13062025/07/57/image_13062025_07_57_35_10118.jpg', 2), ('/mnt/data/13062025/07/57/image_13062025_07_57_14_9879.jpg', 2), ('/mnt/data/13062025/07/56/image_13062025_07_56_44_10095.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/57/image_13062025_07_58_04_9196.jpg', '/mnt/data/13062025/07/57/image_13062025_07_57_55_10108.jpg', '/mnt/data/13062025/07/57/image_13062025_07_57_44_9926.jpg', '/mnt/data/13062025/07/57/image_13062025_07_57_35_10118.jpg', '/mnt/data/13062025/07/57/image_13062025_07_57_14_9879.jpg', '/mnt/data/13062025/07/56/image_13062025_07_56_44_10095.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/57/image_13062025_07_58_04_9196.jpg', '/mnt/data/13062025/07/57/image_13062025_07_57_55_10108.jpg', '/mnt/data/13062025/07/57/image_13062025_07_57_44_9926.jpg', '/mnt/data/13062025/07/57/image_13062025_07_57_35_10118.jpg', '/mnt/data/13062025/07/57/image_13062025_07_57_14_9879.jpg', '/mnt/data/13062025/07/56/image_13062025_07_56_44_10095.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/57/image_13062025_07_58_04_9196.jpg
/mnt/data/13062025/07/57/image_13062025_07_57_55_10108.jpg
/mnt/data/13062025/07/57/image_13062025_07_57_44_9926.jpg
/mnt/data/13062025/07/57/image_13062025_07_57_35_10118.jpg
/mnt/data/13062025/07/57/image_13062025_07_57_14_9879.jpg
/mnt/data/13062025/07/56/image_13062025_07_56_44_10095.jpg
uploaded 0 photos
time to upload: 30.440125226974487 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:22:02.462423
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/57/image_13062025_07_58_04_9196.jpg', 2), ('/mnt/data/13062025/07/57/image_13062025_07_57_55_10108.jpg', 2), ('/mnt/data/13062025/07/57/image_13062025_07_57_44_9926.jpg', 2), ('/mnt/data/13062025/07/57/image_13062025_07_57_35_10118.jpg', 2), ('/mnt/data/13062025/07/57/image_13062025_07_57_14_9879.jpg', 2), ('/mnt/data/13062025/07/56/image_13062025_07_56_44_10095.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/57/image_13062025_07_58_04_9196.jpg', '/mnt/data/13062025/07/57/image_13062025_07_57_55_10108.jpg', '/mnt/data/13062025/07/57/image_13062025_07_57_44_9926.jpg', '/mnt/data/13062025/07/57/image_13062025_07_57_35_10118.jpg', '/mnt/data/13062025/07/57/image_13062025_07_57_14_9879.jpg', '/mnt/data/13062025/07/56/image_13062025_07_56_44_10095.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/57/image_13062025_07_58_04_9196.jpg', '/mnt/data/13062025/07/57/image_13062025_07_57_55_10108.jpg', '/mnt/data/13062025/07/57/image_13062025_07_57_44_9926.jpg', '/mnt/data/13062025/07/57/image_13062025_07_57_35_10118.jpg', '/mnt/data/13062025/07/57/image_13062025_07_57_14_9879.jpg', '/mnt/data/13062025/07/56/image_13062025_07_56_44_10095.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/57/image_13062025_07_58_04_9196.jpg
/mnt/data/13062025/07/57/image_13062025_07_57_55_10108.jpg
/mnt/data/13062025/07/57/image_13062025_07_57_44_9926.jpg
/mnt/data/13062025/07/57/image_13062025_07_57_35_10118.jpg
/mnt/data/13062025/07/57/image_13062025_07_57_14_9879.jpg
/mnt/data/13062025/07/56/image_13062025_07_56_44_10095.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":["1375689272","1375689302","1375689232","1375689334","1375689390","1375689171"],"photo_ids_order":["1375689171","1375689232","1375689272","1375689302","1375689334","1375689390"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/e04b2cc34d444464817c89e2f5de33e2.jpg","text":"TemporaryFile(/tmp/multipartBody4813142773415317577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576604321,"filename":"image_13062025_07_57_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/7/24ddf34631b7984633231855f6714ea2.jpg","text":"TemporaryFile(/tmp/multipartBody4378531290548478720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576604321,"filename":"image_13062025_07_57_35_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/7/fc4cd7f28c1bb2e7ddd20a9e37362408.jpg","text":"TemporaryFile(/tmp/multipartBody6675291466564653933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576604321,"filename":"image_13062025_07_57_55_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/7/e515aba828dee913391011d22bc0268b.jpg","text":"TemporaryFile(/tmp/multipartBody7383100129657674428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576604321,"filename":"image_13062025_07_57_14_9879.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/873a2dbe805628d7b640f64adc2c08ea.jpg","text":"TemporaryFile(/tmp/multipartBody3817849347661280033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576604321,"filename":"image_13062025_07_56_44_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/7/e72b1b96e883c0f266ac14f24c3d9d4b.jpg","text":"TemporaryFile(/tmp/multipartBody5032566369712343868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576604321,"filename":"image_13062025_07_58_04_9196.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375689272","file1":"1375689232","file0":"1375689171","file4":"1375689334","file5":"1375689390","file3":"1375689302"},"map_files_photo_id_array":[{"photo_id":"1375689390","filename":"file5"},{"photo_id":"1375689272","filename":"file2"},{"photo_id":"1375689334","filename":"file4"},{"photo_id":"1375689232","filename":"file1"},{"photo_id":"1375689171","filename":"file0"},{"photo_id":"1375689302","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375689272":["hashtag1","hashtag2"]},{"1375689302":["hashtag1","hashtag2"]},{"1375689232":["hashtag1","hashtag2"]},{"1375689334":["hashtag1","hashtag2"]},{"1375689390":["hashtag1","hashtag2"]},{"1375689171":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375689272, 1375689302, 1375689232, 1375689334, 1375689390, 1375689171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.30829358100891 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:24:02.806218
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/56/image_13062025_07_56_14_10053.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_54_10084.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_44_9680.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_34_10080.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_24_10063.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_14_10168.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/56/image_13062025_07_56_14_10053.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_54_10084.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_44_9680.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_34_10080.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_24_10063.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_14_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/56/image_13062025_07_56_14_10053.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_54_10084.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_44_9680.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_34_10080.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_24_10063.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_14_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/56/image_13062025_07_56_14_10053.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_54_10084.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_44_9680.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_34_10080.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_24_10063.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_14_10168.jpg
uploaded 0 photos
time to upload: 30.44515061378479 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:25:02.869036
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/56/image_13062025_07_56_14_10053.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_54_10084.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_44_9680.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_34_10080.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_24_10063.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_14_10168.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/56/image_13062025_07_56_14_10053.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_54_10084.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_44_9680.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_34_10080.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_24_10063.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_14_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/56/image_13062025_07_56_14_10053.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_54_10084.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_44_9680.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_34_10080.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_24_10063.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_14_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/56/image_13062025_07_56_14_10053.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_54_10084.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_44_9680.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_34_10080.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_24_10063.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_14_10168.jpg
uploaded 0 photos
time to upload: 30.379378080368042 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:26:02.662279
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/56/image_13062025_07_56_14_10053.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_54_10084.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_44_9680.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_34_10080.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_24_10063.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_14_10168.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/56/image_13062025_07_56_14_10053.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_54_10084.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_44_9680.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_34_10080.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_24_10063.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_14_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/56/image_13062025_07_56_14_10053.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_54_10084.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_44_9680.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_34_10080.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_24_10063.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_14_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/56/image_13062025_07_56_14_10053.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_54_10084.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_44_9680.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_34_10080.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_24_10063.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_14_10168.jpg
uploaded 0 photos
time to upload: 30.357840538024902 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:27:02.738177
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/56/image_13062025_07_56_14_10053.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_54_10084.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_44_9680.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_34_10080.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_24_10063.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_14_10168.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/56/image_13062025_07_56_14_10053.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_54_10084.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_44_9680.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_34_10080.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_24_10063.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_14_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/56/image_13062025_07_56_14_10053.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_54_10084.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_44_9680.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_34_10080.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_24_10063.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_14_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/56/image_13062025_07_56_14_10053.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_54_10084.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_44_9680.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_34_10080.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_24_10063.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_14_10168.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-07 16:28:02.309872
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/56/image_13062025_07_56_14_10053.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_54_10084.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_44_9680.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_34_10080.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_24_10063.jpg', 2), ('/mnt/data/13062025/07/55/image_13062025_07_55_14_10168.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/56/image_13062025_07_56_14_10053.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_54_10084.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_44_9680.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_34_10080.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_24_10063.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_14_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/56/image_13062025_07_56_14_10053.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_54_10084.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_44_9680.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_34_10080.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_24_10063.jpg', '/mnt/data/13062025/07/55/image_13062025_07_55_14_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/56/image_13062025_07_56_14_10053.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_54_10084.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_44_9680.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_34_10080.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_24_10063.jpg
/mnt/data/13062025/07/55/image_13062025_07_55_14_10168.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375690617","1375690586","1375690506","1375690550","1375690444","1375690612"],"photo_ids_order":["1375690444","1375690506","1375690550","1375690586","1375690612","1375690617"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/3ba2fab5605fb78fce11c34230b80e5e.jpg","text":"TemporaryFile(/tmp/multipartBody4953644956570757231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576958450,"filename":"image_13062025_07_55_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/7/1a019ae50fa0bbe2616e43516f21aa02.jpg","text":"TemporaryFile(/tmp/multipartBody6074610948250487851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576958450,"filename":"image_13062025_07_55_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/7/3a1f2b5c7ba017c587dd47b37157fbaa.jpg","text":"TemporaryFile(/tmp/multipartBody2084938007574450868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576958450,"filename":"image_13062025_07_55_54_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/7/b4183557d7164e9c8a7d5a1801088351.jpg","text":"TemporaryFile(/tmp/multipartBody6346111615432741247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576958450,"filename":"image_13062025_07_55_44_9680.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/cd9d13be6787ef3c3567bccd0005e964.jpg","text":"TemporaryFile(/tmp/multipartBody8386545351234740100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576958450,"filename":"image_13062025_07_56_14_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/7/3433e6314b696a8e945944dfbee15dd8.jpg","text":"TemporaryFile(/tmp/multipartBody4661192144937143830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754576958450,"filename":"image_13062025_07_55_24_10063.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375690550","file1":"1375690506","file0":"1375690444","file4":"1375690612","file5":"1375690617","file3":"1375690586"},"map_files_photo_id_array":[{"photo_id":"1375690617","filename":"file5"},{"photo_id":"1375690550","filename":"file2"},{"photo_id":"1375690612","filename":"file4"},{"photo_id":"1375690506","filename":"file1"},{"photo_id":"1375690444","filename":"file0"},{"photo_id":"1375690586","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375690617":["hashtag1","hashtag2"]},{"1375690586":["hashtag1","hashtag2"]},{"1375690506":["hashtag1","hashtag2"]},{"1375690550":["hashtag1","hashtag2"]},{"1375690444":["hashtag1","hashtag2"]},{"1375690612":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375690617, 1375690586, 1375690506, 1375690550, 1375690444, 1375690612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.155070066452026 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:29:02.616663
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/54/image_13062025_07_55_04_9131.jpg', 2), ('/mnt/data/13062025/07/53/image_13062025_07_53_35_10038.jpg', 2), ('/mnt/data/13062025/07/53/image_13062025_07_53_25_10145.jpg', 2), ('/mnt/data/13062025/07/53/image_13062025_07_53_14_10081.jpg', 2), ('/mnt/data/13062025/07/52/image_13062025_07_52_44_10121.jpg', 2), ('/mnt/data/13062025/07/52/image_13062025_07_52_34_10058.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/54/image_13062025_07_55_04_9131.jpg', '/mnt/data/13062025/07/53/image_13062025_07_53_35_10038.jpg', '/mnt/data/13062025/07/53/image_13062025_07_53_25_10145.jpg', '/mnt/data/13062025/07/53/image_13062025_07_53_14_10081.jpg', '/mnt/data/13062025/07/52/image_13062025_07_52_44_10121.jpg', '/mnt/data/13062025/07/52/image_13062025_07_52_34_10058.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/54/image_13062025_07_55_04_9131.jpg', '/mnt/data/13062025/07/53/image_13062025_07_53_35_10038.jpg', '/mnt/data/13062025/07/53/image_13062025_07_53_25_10145.jpg', '/mnt/data/13062025/07/53/image_13062025_07_53_14_10081.jpg', '/mnt/data/13062025/07/52/image_13062025_07_52_44_10121.jpg', '/mnt/data/13062025/07/52/image_13062025_07_52_34_10058.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/54/image_13062025_07_55_04_9131.jpg
/mnt/data/13062025/07/53/image_13062025_07_53_35_10038.jpg
/mnt/data/13062025/07/53/image_13062025_07_53_25_10145.jpg
/mnt/data/13062025/07/53/image_13062025_07_53_14_10081.jpg
/mnt/data/13062025/07/52/image_13062025_07_52_44_10121.jpg
/mnt/data/13062025/07/52/image_13062025_07_52_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":["1375690812","1375690920","1375690859","1375690793","1375690805","1375690808"],"photo_ids_order":["1375690793","1375690805","1375690808","1375690812","1375690859","1375690920"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/5beeadb6902ea0d1444f5b11156f752f.jpg","text":"TemporaryFile(/tmp/multipartBody8165933532305162360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577032028,"filename":"image_13062025_07_53_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/7/c452300b544c8028d7206799486a45e8.jpg","text":"TemporaryFile(/tmp/multipartBody2650326088827398494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577032028,"filename":"image_13062025_07_52_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/7/2dbb5feaa0fd837023ef56a567d8f214.jpg","text":"TemporaryFile(/tmp/multipartBody6847974417031925326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577032028,"filename":"image_13062025_07_52_44_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/7/099924b99659e58224dd10a44f91b53c.jpg","text":"TemporaryFile(/tmp/multipartBody3560155290457952803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577032028,"filename":"image_13062025_07_55_04_9131.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/ef8c9ceb7acf5697b5dc836bf75f52de.jpg","text":"TemporaryFile(/tmp/multipartBody2323095768081495979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577032028,"filename":"image_13062025_07_53_35_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/7/8feb4cd79ff522c1faa5c5f0ab32d750.jpg","text":"TemporaryFile(/tmp/multipartBody871473350098167973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577032028,"filename":"image_13062025_07_53_25_10145.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375690808","file1":"1375690805","file0":"1375690793","file4":"1375690859","file5":"1375690920","file3":"1375690812"},"map_files_photo_id_array":[{"photo_id":"1375690920","filename":"file5"},{"photo_id":"1375690808","filename":"file2"},{"photo_id":"1375690859","filename":"file4"},{"photo_id":"1375690805","filename":"file1"},{"photo_id":"1375690793","filename":"file0"},{"photo_id":"1375690812","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375690812":["hashtag1","hashtag2"]},{"1375690920":["hashtag1","hashtag2"]},{"1375690859":["hashtag1","hashtag2"]},{"1375690793":["hashtag1","hashtag2"]},{"1375690805":["hashtag1","hashtag2"]},{"1375690808":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375690812, 1375690920, 1375690859, 1375690793, 1375690805, 1375690808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.39329528808594 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:31:03.710650
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/52/image_13062025_07_52_14_10033.jpg', 2), ('/mnt/data/13062025/07/51/image_13062025_07_52_04_9299.jpg', 2), ('/mnt/data/13062025/07/51/image_13062025_07_51_24_10085.jpg', 2), ('/mnt/data/13062025/07/38/image_13062025_07_38_54_10259.jpg', 2), ('/mnt/data/13062025/07/37/image_13062025_07_37_44_9935.jpg', 2), ('/mnt/data/13062025/07/37/image_13062025_07_37_34_9813.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/52/image_13062025_07_52_14_10033.jpg', '/mnt/data/13062025/07/51/image_13062025_07_52_04_9299.jpg', '/mnt/data/13062025/07/51/image_13062025_07_51_24_10085.jpg', '/mnt/data/13062025/07/38/image_13062025_07_38_54_10259.jpg', '/mnt/data/13062025/07/37/image_13062025_07_37_44_9935.jpg', '/mnt/data/13062025/07/37/image_13062025_07_37_34_9813.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/52/image_13062025_07_52_14_10033.jpg', '/mnt/data/13062025/07/51/image_13062025_07_52_04_9299.jpg', '/mnt/data/13062025/07/51/image_13062025_07_51_24_10085.jpg', '/mnt/data/13062025/07/38/image_13062025_07_38_54_10259.jpg', '/mnt/data/13062025/07/37/image_13062025_07_37_44_9935.jpg', '/mnt/data/13062025/07/37/image_13062025_07_37_34_9813.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/52/image_13062025_07_52_14_10033.jpg
/mnt/data/13062025/07/51/image_13062025_07_52_04_9299.jpg
/mnt/data/13062025/07/51/image_13062025_07_51_24_10085.jpg
/mnt/data/13062025/07/38/image_13062025_07_38_54_10259.jpg
/mnt/data/13062025/07/37/image_13062025_07_37_44_9935.jpg
/mnt/data/13062025/07/37/image_13062025_07_37_34_9813.jpg
uploaded 0 photos
time to upload: 31.697859287261963 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:32:03.241623
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/52/image_13062025_07_52_14_10033.jpg', 2), ('/mnt/data/13062025/07/51/image_13062025_07_52_04_9299.jpg', 2), ('/mnt/data/13062025/07/51/image_13062025_07_51_24_10085.jpg', 2), ('/mnt/data/13062025/07/38/image_13062025_07_38_54_10259.jpg', 2), ('/mnt/data/13062025/07/37/image_13062025_07_37_44_9935.jpg', 2), ('/mnt/data/13062025/07/37/image_13062025_07_37_34_9813.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/52/image_13062025_07_52_14_10033.jpg', '/mnt/data/13062025/07/51/image_13062025_07_52_04_9299.jpg', '/mnt/data/13062025/07/51/image_13062025_07_51_24_10085.jpg', '/mnt/data/13062025/07/38/image_13062025_07_38_54_10259.jpg', '/mnt/data/13062025/07/37/image_13062025_07_37_44_9935.jpg', '/mnt/data/13062025/07/37/image_13062025_07_37_34_9813.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/52/image_13062025_07_52_14_10033.jpg', '/mnt/data/13062025/07/51/image_13062025_07_52_04_9299.jpg', '/mnt/data/13062025/07/51/image_13062025_07_51_24_10085.jpg', '/mnt/data/13062025/07/38/image_13062025_07_38_54_10259.jpg', '/mnt/data/13062025/07/37/image_13062025_07_37_44_9935.jpg', '/mnt/data/13062025/07/37/image_13062025_07_37_34_9813.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/52/image_13062025_07_52_14_10033.jpg
/mnt/data/13062025/07/51/image_13062025_07_52_04_9299.jpg
/mnt/data/13062025/07/51/image_13062025_07_51_24_10085.jpg
/mnt/data/13062025/07/38/image_13062025_07_38_54_10259.jpg
/mnt/data/13062025/07/37/image_13062025_07_37_44_9935.jpg
/mnt/data/13062025/07/37/image_13062025_07_37_34_9813.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375691342","1375691348","1375691359","1375691361","1375691352","1375691355"],"photo_ids_order":["1375691342","1375691348","1375691352","1375691355","1375691359","1375691361"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/ef3eb008e8ca0c975404c9c73e5d2131.jpg","text":"TemporaryFile(/tmp/multipartBody1431975739260504012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577201126,"filename":"image_13062025_07_52_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/7/2979d0cb3ae9a4656d6da49b077fcae1.jpg","text":"TemporaryFile(/tmp/multipartBody3894890604118427170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577201126,"filename":"image_13062025_07_52_04_9299.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/457c560973d0afbda26aff4ab77053b5.jpg","text":"TemporaryFile(/tmp/multipartBody9020278582854721676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577201126,"filename":"image_13062025_07_37_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/7/fb4d592648d2ed4e77eeb07ad188693f.jpg","text":"TemporaryFile(/tmp/multipartBody3339239157854419690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577201126,"filename":"image_13062025_07_37_34_9813.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d9d9e1c72a0ca9fc8013206988aac3f6.jpg","text":"TemporaryFile(/tmp/multipartBody2897629500320413459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577201126,"filename":"image_13062025_07_51_24_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/7/4ebfeccbba8e60d8f59da6e65162ca5c.jpg","text":"TemporaryFile(/tmp/multipartBody6005800161189066001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577201126,"filename":"image_13062025_07_38_54_10259.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375691352","file1":"1375691348","file0":"1375691342","file4":"1375691359","file5":"1375691361","file3":"1375691355"},"map_files_photo_id_array":[{"photo_id":"1375691361","filename":"file5"},{"photo_id":"1375691352","filename":"file2"},{"photo_id":"1375691359","filename":"file4"},{"photo_id":"1375691348","filename":"file1"},{"photo_id":"1375691342","filename":"file0"},{"photo_id":"1375691355","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375691342":["hashtag1","hashtag2"]},{"1375691348":["hashtag1","hashtag2"]},{"1375691359":["hashtag1","hashtag2"]},{"1375691361":["hashtag1","hashtag2"]},{"1375691352":["hashtag1","hashtag2"]},{"1375691355":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375691342, 1375691348, 1375691359, 1375691361, 1375691352, 1375691355)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 60.01859784126282 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:34:02.928983
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/37/image_13062025_07_37_24_10016.jpg', 2), ('/mnt/data/13062025/07/37/image_13062025_07_37_14_10171.jpg', 2), ('/mnt/data/13062025/07/36/image_13062025_07_36_25_10016.jpg', 2), ('/mnt/data/13062025/07/36/image_13062025_07_36_15_9980.jpg', 2), ('/mnt/data/13062025/07/35/image_13062025_07_36_05_10219.jpg', 2), ('/mnt/data/13062025/07/35/image_13062025_07_35_55_9937.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/37/image_13062025_07_37_24_10016.jpg', '/mnt/data/13062025/07/37/image_13062025_07_37_14_10171.jpg', '/mnt/data/13062025/07/36/image_13062025_07_36_25_10016.jpg', '/mnt/data/13062025/07/36/image_13062025_07_36_15_9980.jpg', '/mnt/data/13062025/07/35/image_13062025_07_36_05_10219.jpg', '/mnt/data/13062025/07/35/image_13062025_07_35_55_9937.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/37/image_13062025_07_37_24_10016.jpg', '/mnt/data/13062025/07/37/image_13062025_07_37_14_10171.jpg', '/mnt/data/13062025/07/36/image_13062025_07_36_25_10016.jpg', '/mnt/data/13062025/07/36/image_13062025_07_36_15_9980.jpg', '/mnt/data/13062025/07/35/image_13062025_07_36_05_10219.jpg', '/mnt/data/13062025/07/35/image_13062025_07_35_55_9937.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/37/image_13062025_07_37_24_10016.jpg
/mnt/data/13062025/07/37/image_13062025_07_37_14_10171.jpg
/mnt/data/13062025/07/36/image_13062025_07_36_25_10016.jpg
/mnt/data/13062025/07/36/image_13062025_07_36_15_9980.jpg
/mnt/data/13062025/07/35/image_13062025_07_36_05_10219.jpg
/mnt/data/13062025/07/35/image_13062025_07_35_55_9937.jpg
uploaded 0 photos
time to upload: 30.827505350112915 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:35:02.920431
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/37/image_13062025_07_37_24_10016.jpg', 2), ('/mnt/data/13062025/07/37/image_13062025_07_37_14_10171.jpg', 2), ('/mnt/data/13062025/07/36/image_13062025_07_36_25_10016.jpg', 2), ('/mnt/data/13062025/07/36/image_13062025_07_36_15_9980.jpg', 2), ('/mnt/data/13062025/07/35/image_13062025_07_36_05_10219.jpg', 2), ('/mnt/data/13062025/07/35/image_13062025_07_35_55_9937.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/37/image_13062025_07_37_24_10016.jpg', '/mnt/data/13062025/07/37/image_13062025_07_37_14_10171.jpg', '/mnt/data/13062025/07/36/image_13062025_07_36_25_10016.jpg', '/mnt/data/13062025/07/36/image_13062025_07_36_15_9980.jpg', '/mnt/data/13062025/07/35/image_13062025_07_36_05_10219.jpg', '/mnt/data/13062025/07/35/image_13062025_07_35_55_9937.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/37/image_13062025_07_37_24_10016.jpg', '/mnt/data/13062025/07/37/image_13062025_07_37_14_10171.jpg', '/mnt/data/13062025/07/36/image_13062025_07_36_25_10016.jpg', '/mnt/data/13062025/07/36/image_13062025_07_36_15_9980.jpg', '/mnt/data/13062025/07/35/image_13062025_07_36_05_10219.jpg', '/mnt/data/13062025/07/35/image_13062025_07_35_55_9937.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/37/image_13062025_07_37_24_10016.jpg
/mnt/data/13062025/07/37/image_13062025_07_37_14_10171.jpg
/mnt/data/13062025/07/36/image_13062025_07_36_25_10016.jpg
/mnt/data/13062025/07/36/image_13062025_07_36_15_9980.jpg
/mnt/data/13062025/07/35/image_13062025_07_36_05_10219.jpg
/mnt/data/13062025/07/35/image_13062025_07_35_55_9937.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375691648","1375691633","1375691644","1375691641","1375691629","1375691637"],"photo_ids_order":["1375691629","1375691633","1375691637","1375691641","1375691644","1375691648"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/8aef01a64c4d1840c4f7cfae4b528e03.jpg","text":"TemporaryFile(/tmp/multipartBody2839118504909411176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577378957,"filename":"image_13062025_07_35_55_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/7/940f8b40f9cb515a4f1a8a1ef28ca5c7.jpg","text":"TemporaryFile(/tmp/multipartBody1619316957073440635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577378957,"filename":"image_13062025_07_37_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/7/a4530b112b9712e986a9226e9cbc343c.jpg","text":"TemporaryFile(/tmp/multipartBody2239898326555510225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577378957,"filename":"image_13062025_07_36_05_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/7/2ddaa49a5cb52850507f4bcc4b249e72.jpg","text":"TemporaryFile(/tmp/multipartBody811558402376160663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577378957,"filename":"image_13062025_07_36_15_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/7/75d282afbe985f64b0d692f03ac27603.jpg","text":"TemporaryFile(/tmp/multipartBody8878652526958035806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577378957,"filename":"image_13062025_07_37_24_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/7/0821eaf1b2403986e721ad2b5375869d.jpg","text":"TemporaryFile(/tmp/multipartBody3883111561623736782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577378957,"filename":"image_13062025_07_36_25_10016.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375691637","file1":"1375691633","file0":"1375691629","file4":"1375691644","file5":"1375691648","file3":"1375691641"},"map_files_photo_id_array":[{"photo_id":"1375691648","filename":"file5"},{"photo_id":"1375691637","filename":"file2"},{"photo_id":"1375691644","filename":"file4"},{"photo_id":"1375691633","filename":"file1"},{"photo_id":"1375691629","filename":"file0"},{"photo_id":"1375691641","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375691648":["hashtag1","hashtag2"]},{"1375691633":["hashtag1","hashtag2"]},{"1375691644":["hashtag1","hashtag2"]},{"1375691641":["hashtag1","hashtag2"]},{"1375691629":["hashtag1","hashtag2"]},{"1375691637":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375691648, 1375691633, 1375691644, 1375691641, 1375691629, 1375691637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.72022843360901 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:36:03.455361
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/35/image_13062025_07_35_45_9971.jpg', 2), ('/mnt/data/13062025/07/35/image_13062025_07_35_35_10069.jpg', 2), ('/mnt/data/13062025/07/35/image_13062025_07_35_25_9998.jpg', 2), ('/mnt/data/13062025/07/35/image_13062025_07_35_15_10035.jpg', 2), ('/mnt/data/13062025/07/34/image_13062025_07_35_05_10429.jpg', 2), ('/mnt/data/13062025/07/34/image_13062025_07_34_54_10177.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/35/image_13062025_07_35_45_9971.jpg', '/mnt/data/13062025/07/35/image_13062025_07_35_35_10069.jpg', '/mnt/data/13062025/07/35/image_13062025_07_35_25_9998.jpg', '/mnt/data/13062025/07/35/image_13062025_07_35_15_10035.jpg', '/mnt/data/13062025/07/34/image_13062025_07_35_05_10429.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_54_10177.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/35/image_13062025_07_35_45_9971.jpg', '/mnt/data/13062025/07/35/image_13062025_07_35_35_10069.jpg', '/mnt/data/13062025/07/35/image_13062025_07_35_25_9998.jpg', '/mnt/data/13062025/07/35/image_13062025_07_35_15_10035.jpg', '/mnt/data/13062025/07/34/image_13062025_07_35_05_10429.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_54_10177.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/35/image_13062025_07_35_45_9971.jpg
/mnt/data/13062025/07/35/image_13062025_07_35_35_10069.jpg
/mnt/data/13062025/07/35/image_13062025_07_35_25_9998.jpg
/mnt/data/13062025/07/35/image_13062025_07_35_15_10035.jpg
/mnt/data/13062025/07/34/image_13062025_07_35_05_10429.jpg
/mnt/data/13062025/07/34/image_13062025_07_34_54_10177.jpg
uploaded 0 photos
time to upload: 30.40515112876892 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:37:03.431291
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/35/image_13062025_07_35_45_9971.jpg', 2), ('/mnt/data/13062025/07/35/image_13062025_07_35_35_10069.jpg', 2), ('/mnt/data/13062025/07/35/image_13062025_07_35_25_9998.jpg', 2), ('/mnt/data/13062025/07/35/image_13062025_07_35_15_10035.jpg', 2), ('/mnt/data/13062025/07/34/image_13062025_07_35_05_10429.jpg', 2), ('/mnt/data/13062025/07/34/image_13062025_07_34_54_10177.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/35/image_13062025_07_35_45_9971.jpg', '/mnt/data/13062025/07/35/image_13062025_07_35_35_10069.jpg', '/mnt/data/13062025/07/35/image_13062025_07_35_25_9998.jpg', '/mnt/data/13062025/07/35/image_13062025_07_35_15_10035.jpg', '/mnt/data/13062025/07/34/image_13062025_07_35_05_10429.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_54_10177.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/35/image_13062025_07_35_45_9971.jpg', '/mnt/data/13062025/07/35/image_13062025_07_35_35_10069.jpg', '/mnt/data/13062025/07/35/image_13062025_07_35_25_9998.jpg', '/mnt/data/13062025/07/35/image_13062025_07_35_15_10035.jpg', '/mnt/data/13062025/07/34/image_13062025_07_35_05_10429.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_54_10177.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/35/image_13062025_07_35_45_9971.jpg
/mnt/data/13062025/07/35/image_13062025_07_35_35_10069.jpg
/mnt/data/13062025/07/35/image_13062025_07_35_25_9998.jpg
/mnt/data/13062025/07/35/image_13062025_07_35_15_10035.jpg
/mnt/data/13062025/07/34/image_13062025_07_35_05_10429.jpg
/mnt/data/13062025/07/34/image_13062025_07_34_54_10177.jpg
uploaded 0 photos
time to upload: 30.618012189865112 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:38:03.197998
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/35/image_13062025_07_35_45_9971.jpg', 2), ('/mnt/data/13062025/07/35/image_13062025_07_35_35_10069.jpg', 2), ('/mnt/data/13062025/07/35/image_13062025_07_35_25_9998.jpg', 2), ('/mnt/data/13062025/07/35/image_13062025_07_35_15_10035.jpg', 2), ('/mnt/data/13062025/07/34/image_13062025_07_35_05_10429.jpg', 2), ('/mnt/data/13062025/07/34/image_13062025_07_34_54_10177.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/35/image_13062025_07_35_45_9971.jpg', '/mnt/data/13062025/07/35/image_13062025_07_35_35_10069.jpg', '/mnt/data/13062025/07/35/image_13062025_07_35_25_9998.jpg', '/mnt/data/13062025/07/35/image_13062025_07_35_15_10035.jpg', '/mnt/data/13062025/07/34/image_13062025_07_35_05_10429.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_54_10177.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/35/image_13062025_07_35_45_9971.jpg', '/mnt/data/13062025/07/35/image_13062025_07_35_35_10069.jpg', '/mnt/data/13062025/07/35/image_13062025_07_35_25_9998.jpg', '/mnt/data/13062025/07/35/image_13062025_07_35_15_10035.jpg', '/mnt/data/13062025/07/34/image_13062025_07_35_05_10429.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_54_10177.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/35/image_13062025_07_35_45_9971.jpg
/mnt/data/13062025/07/35/image_13062025_07_35_35_10069.jpg
/mnt/data/13062025/07/35/image_13062025_07_35_25_9998.jpg
/mnt/data/13062025/07/35/image_13062025_07_35_15_10035.jpg
/mnt/data/13062025/07/34/image_13062025_07_35_05_10429.jpg
/mnt/data/13062025/07/34/image_13062025_07_34_54_10177.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375691986","1375691980","1375691994","1375691997","1375691991","1375692000"],"photo_ids_order":["1375691980","1375691986","1375691991","1375691994","1375691997","1375692000"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/9bce1e906d1be2d8fec61625a8b2c423.jpg","text":"TemporaryFile(/tmp/multipartBody4358846914328420678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577561977,"filename":"image_13062025_07_35_35_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/7/9b59feec52d65c9ca0f7f86f086c1c05.jpg","text":"TemporaryFile(/tmp/multipartBody2575498231364233804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577561977,"filename":"image_13062025_07_35_45_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/7/f5e84d86120bbb3c7994d63c43b79f50.jpg","text":"TemporaryFile(/tmp/multipartBody3802234723717417659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577561977,"filename":"image_13062025_07_35_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/7/d03d674d9e574046c049290e326ab0ab.jpg","text":"TemporaryFile(/tmp/multipartBody4453891714478219898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577561977,"filename":"image_13062025_07_35_05_10429.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/426b0efe8216f1266ed02a492ffacd38.jpg","text":"TemporaryFile(/tmp/multipartBody8892337249055661087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577561977,"filename":"image_13062025_07_35_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/7/db5a8169fe0f053801178f95245489d1.jpg","text":"TemporaryFile(/tmp/multipartBody7896911915016049829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577561977,"filename":"image_13062025_07_34_54_10177.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375691991","file1":"1375691986","file0":"1375691980","file4":"1375691997","file5":"1375692000","file3":"1375691994"},"map_files_photo_id_array":[{"photo_id":"1375692000","filename":"file5"},{"photo_id":"1375691991","filename":"file2"},{"photo_id":"1375691997","filename":"file4"},{"photo_id":"1375691986","filename":"file1"},{"photo_id":"1375691980","filename":"file0"},{"photo_id":"1375691994","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375691986":["hashtag1","hashtag2"]},{"1375691980":["hashtag1","hashtag2"]},{"1375691994":["hashtag1","hashtag2"]},{"1375691997":["hashtag1","hashtag2"]},{"1375691991":["hashtag1","hashtag2"]},{"1375692000":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375691986, 1375691980, 1375691994, 1375691997, 1375691991, 1375692000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.73240828514099 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:39:03.295835
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/34/image_13062025_07_34_44_10083.jpg', 2), ('/mnt/data/13062025/07/34/image_13062025_07_34_34_10034.jpg', 2), ('/mnt/data/13062025/07/34/image_13062025_07_34_24_10100.jpg', 2), ('/mnt/data/13062025/07/34/image_13062025_07_34_14_9054.jpg', 2), ('/mnt/data/13062025/07/33/image_13062025_07_34_05_10265.jpg', 2), ('/mnt/data/13062025/07/33/image_13062025_07_33_54_10076.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/34/image_13062025_07_34_44_10083.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_34_10034.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_24_10100.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_14_9054.jpg', '/mnt/data/13062025/07/33/image_13062025_07_34_05_10265.jpg', '/mnt/data/13062025/07/33/image_13062025_07_33_54_10076.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/34/image_13062025_07_34_44_10083.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_34_10034.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_24_10100.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_14_9054.jpg', '/mnt/data/13062025/07/33/image_13062025_07_34_05_10265.jpg', '/mnt/data/13062025/07/33/image_13062025_07_33_54_10076.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/34/image_13062025_07_34_44_10083.jpg
/mnt/data/13062025/07/34/image_13062025_07_34_34_10034.jpg
/mnt/data/13062025/07/34/image_13062025_07_34_24_10100.jpg
/mnt/data/13062025/07/34/image_13062025_07_34_14_9054.jpg
/mnt/data/13062025/07/33/image_13062025_07_34_05_10265.jpg
/mnt/data/13062025/07/33/image_13062025_07_33_54_10076.jpg
uploaded 0 photos
time to upload: 30.421838998794556 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:40:02.751926
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/34/image_13062025_07_34_44_10083.jpg', 2), ('/mnt/data/13062025/07/34/image_13062025_07_34_34_10034.jpg', 2), ('/mnt/data/13062025/07/34/image_13062025_07_34_24_10100.jpg', 2), ('/mnt/data/13062025/07/34/image_13062025_07_34_14_9054.jpg', 2), ('/mnt/data/13062025/07/33/image_13062025_07_34_05_10265.jpg', 2), ('/mnt/data/13062025/07/33/image_13062025_07_33_54_10076.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/34/image_13062025_07_34_44_10083.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_34_10034.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_24_10100.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_14_9054.jpg', '/mnt/data/13062025/07/33/image_13062025_07_34_05_10265.jpg', '/mnt/data/13062025/07/33/image_13062025_07_33_54_10076.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/34/image_13062025_07_34_44_10083.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_34_10034.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_24_10100.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_14_9054.jpg', '/mnt/data/13062025/07/33/image_13062025_07_34_05_10265.jpg', '/mnt/data/13062025/07/33/image_13062025_07_33_54_10076.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/34/image_13062025_07_34_44_10083.jpg
/mnt/data/13062025/07/34/image_13062025_07_34_34_10034.jpg
/mnt/data/13062025/07/34/image_13062025_07_34_24_10100.jpg
/mnt/data/13062025/07/34/image_13062025_07_34_14_9054.jpg
/mnt/data/13062025/07/33/image_13062025_07_34_05_10265.jpg
/mnt/data/13062025/07/33/image_13062025_07_33_54_10076.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 130.37019443511963 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-07 16:43:02.948044
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/34/image_13062025_07_34_44_10083.jpg', 2), ('/mnt/data/13062025/07/34/image_13062025_07_34_34_10034.jpg', 2), ('/mnt/data/13062025/07/34/image_13062025_07_34_24_10100.jpg', 2), ('/mnt/data/13062025/07/34/image_13062025_07_34_14_9054.jpg', 2), ('/mnt/data/13062025/07/33/image_13062025_07_34_05_10265.jpg', 2), ('/mnt/data/13062025/07/33/image_13062025_07_33_54_10076.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/34/image_13062025_07_34_44_10083.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_34_10034.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_24_10100.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_14_9054.jpg', '/mnt/data/13062025/07/33/image_13062025_07_34_05_10265.jpg', '/mnt/data/13062025/07/33/image_13062025_07_33_54_10076.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/34/image_13062025_07_34_44_10083.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_34_10034.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_24_10100.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_14_9054.jpg', '/mnt/data/13062025/07/33/image_13062025_07_34_05_10265.jpg', '/mnt/data/13062025/07/33/image_13062025_07_33_54_10076.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/34/image_13062025_07_34_44_10083.jpg
/mnt/data/13062025/07/34/image_13062025_07_34_34_10034.jpg
/mnt/data/13062025/07/34/image_13062025_07_34_24_10100.jpg
/mnt/data/13062025/07/34/image_13062025_07_34_14_9054.jpg
/mnt/data/13062025/07/33/image_13062025_07_34_05_10265.jpg
/mnt/data/13062025/07/33/image_13062025_07_33_54_10076.jpg
uploaded 0 photos
time to upload: 19.584798336029053 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-07 16:44:02.604843
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/34/image_13062025_07_34_44_10083.jpg', 2), ('/mnt/data/13062025/07/34/image_13062025_07_34_34_10034.jpg', 2), ('/mnt/data/13062025/07/34/image_13062025_07_34_24_10100.jpg', 2), ('/mnt/data/13062025/07/34/image_13062025_07_34_14_9054.jpg', 2), ('/mnt/data/13062025/07/33/image_13062025_07_34_05_10265.jpg', 2), ('/mnt/data/13062025/07/33/image_13062025_07_33_54_10076.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/34/image_13062025_07_34_44_10083.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_34_10034.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_24_10100.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_14_9054.jpg', '/mnt/data/13062025/07/33/image_13062025_07_34_05_10265.jpg', '/mnt/data/13062025/07/33/image_13062025_07_33_54_10076.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/34/image_13062025_07_34_44_10083.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_34_10034.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_24_10100.jpg', '/mnt/data/13062025/07/34/image_13062025_07_34_14_9054.jpg', '/mnt/data/13062025/07/33/image_13062025_07_34_05_10265.jpg', '/mnt/data/13062025/07/33/image_13062025_07_33_54_10076.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/34/image_13062025_07_34_44_10083.jpg
/mnt/data/13062025/07/34/image_13062025_07_34_34_10034.jpg
/mnt/data/13062025/07/34/image_13062025_07_34_24_10100.jpg
/mnt/data/13062025/07/34/image_13062025_07_34_14_9054.jpg
/mnt/data/13062025/07/33/image_13062025_07_34_05_10265.jpg
/mnt/data/13062025/07/33/image_13062025_07_33_54_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":["1375693432","1375693470","1375693467","1375693452","1375693475","1375693442"],"photo_ids_order":["1375693432","1375693442","1375693452","1375693467","1375693470","1375693475"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/00a5a9b432ca7aa403498a37914dd6b8.jpg","text":"TemporaryFile(/tmp/multipartBody74278166232095031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577928139,"filename":"image_13062025_07_34_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/7/40a94527e956334e5b08ab65887e7c55.jpg","text":"TemporaryFile(/tmp/multipartBody5418990755741296618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577928139,"filename":"image_13062025_07_34_05_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/7/89b25056050acaec1229b35b383cc10e.jpg","text":"TemporaryFile(/tmp/multipartBody1940937255417897359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577928139,"filename":"image_13062025_07_34_14_9054.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/81dd4830152bbf7ab04812ad4b72c5cc.jpg","text":"TemporaryFile(/tmp/multipartBody7482505760213348201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577928139,"filename":"image_13062025_07_34_24_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/7/e99fc8d60fc0e222c1b14ba7a913dac4.jpg","text":"TemporaryFile(/tmp/multipartBody4164300287970293006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577928139,"filename":"image_13062025_07_33_54_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/7/26ed41b430cc8b97ced6c6ad6fb92098.jpg","text":"TemporaryFile(/tmp/multipartBody2892128943189806971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754577928139,"filename":"image_13062025_07_34_34_10034.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375693452","file1":"1375693442","file0":"1375693432","file4":"1375693470","file5":"1375693475","file3":"1375693467"},"map_files_photo_id_array":[{"photo_id":"1375693475","filename":"file5"},{"photo_id":"1375693452","filename":"file2"},{"photo_id":"1375693470","filename":"file4"},{"photo_id":"1375693442","filename":"file1"},{"photo_id":"1375693432","filename":"file0"},{"photo_id":"1375693467","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375693432":["hashtag1","hashtag2"]},{"1375693470":["hashtag1","hashtag2"]},{"1375693467":["hashtag1","hashtag2"]},{"1375693452":["hashtag1","hashtag2"]},{"1375693475":["hashtag1","hashtag2"]},{"1375693442":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375693432, 1375693470, 1375693467, 1375693452, 1375693475, 1375693442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.53209853172302 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:46:03.199888
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/33/image_13062025_07_33_44_10090.jpg', 2), ('/mnt/data/13062025/07/33/image_13062025_07_33_34_10107.jpg', 2), ('/mnt/data/13062025/07/33/image_13062025_07_33_24_10249.jpg', 2), ('/mnt/data/13062025/07/33/image_13062025_07_33_14_10090.jpg', 2), ('/mnt/data/13062025/07/32/image_13062025_07_33_04_9113.jpg', 2), ('/mnt/data/13062025/07/32/image_13062025_07_32_55_10134.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/33/image_13062025_07_33_44_10090.jpg', '/mnt/data/13062025/07/33/image_13062025_07_33_34_10107.jpg', '/mnt/data/13062025/07/33/image_13062025_07_33_24_10249.jpg', '/mnt/data/13062025/07/33/image_13062025_07_33_14_10090.jpg', '/mnt/data/13062025/07/32/image_13062025_07_33_04_9113.jpg', '/mnt/data/13062025/07/32/image_13062025_07_32_55_10134.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/33/image_13062025_07_33_44_10090.jpg', '/mnt/data/13062025/07/33/image_13062025_07_33_34_10107.jpg', '/mnt/data/13062025/07/33/image_13062025_07_33_24_10249.jpg', '/mnt/data/13062025/07/33/image_13062025_07_33_14_10090.jpg', '/mnt/data/13062025/07/32/image_13062025_07_33_04_9113.jpg', '/mnt/data/13062025/07/32/image_13062025_07_32_55_10134.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/33/image_13062025_07_33_44_10090.jpg
/mnt/data/13062025/07/33/image_13062025_07_33_34_10107.jpg
/mnt/data/13062025/07/33/image_13062025_07_33_24_10249.jpg
/mnt/data/13062025/07/33/image_13062025_07_33_14_10090.jpg
/mnt/data/13062025/07/32/image_13062025_07_33_04_9113.jpg
/mnt/data/13062025/07/32/image_13062025_07_32_55_10134.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375693744","1375693738","1375693732","1375693729","1375693751","1375693748"],"photo_ids_order":["1375693729","1375693732","1375693738","1375693744","1375693748","1375693751"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/16310804619dab0693253a8fb36b64ad.jpg","text":"TemporaryFile(/tmp/multipartBody1036565070168842106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578036239,"filename":"image_13062025_07_33_14_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/7/d5873421dd37bb234af7341e2d53e608.jpg","text":"TemporaryFile(/tmp/multipartBody4671359491677501542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578036239,"filename":"image_13062025_07_33_24_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/7/e12f108383099eae5c687bfb05c01985.jpg","text":"TemporaryFile(/tmp/multipartBody7492034112041910270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578036239,"filename":"image_13062025_07_33_34_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/7/f1a3613228711fb4ae97f164e4a9e321.jpg","text":"TemporaryFile(/tmp/multipartBody1853195203092304834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578036239,"filename":"image_13062025_07_33_44_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/7/3902f7a52a5cd5ca0cb57c6bea34963c.jpg","text":"TemporaryFile(/tmp/multipartBody2971881979223307974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578036239,"filename":"image_13062025_07_32_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/7/42f460b3a8554c9b406ec0a2069fa9cd.jpg","text":"TemporaryFile(/tmp/multipartBody735421942103956398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578036239,"filename":"image_13062025_07_33_04_9113.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375693738","file1":"1375693732","file0":"1375693729","file4":"1375693748","file5":"1375693751","file3":"1375693744"},"map_files_photo_id_array":[{"photo_id":"1375693751","filename":"file5"},{"photo_id":"1375693738","filename":"file2"},{"photo_id":"1375693748","filename":"file4"},{"photo_id":"1375693732","filename":"file1"},{"photo_id":"1375693729","filename":"file0"},{"photo_id":"1375693744","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375693744":["hashtag1","hashtag2"]},{"1375693738":["hashtag1","hashtag2"]},{"1375693732":["hashtag1","hashtag2"]},{"1375693729":["hashtag1","hashtag2"]},{"1375693751":["hashtag1","hashtag2"]},{"1375693748":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375693744, 1375693738, 1375693732, 1375693729, 1375693751, 1375693748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.83832812309265 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:47:03.496134
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/32/image_13062025_07_32_45_10103.jpg', 2), ('/mnt/data/13062025/07/32/image_13062025_07_32_34_10097.jpg', 2), ('/mnt/data/13062025/07/32/image_13062025_07_32_24_10043.jpg', 2), ('/mnt/data/13062025/07/32/image_13062025_07_32_14_9975.jpg', 2), ('/mnt/data/13062025/07/31/image_13062025_07_32_04_10404.jpg', 2), ('/mnt/data/13062025/07/31/image_13062025_07_31_54_9993.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/32/image_13062025_07_32_45_10103.jpg', '/mnt/data/13062025/07/32/image_13062025_07_32_34_10097.jpg', '/mnt/data/13062025/07/32/image_13062025_07_32_24_10043.jpg', '/mnt/data/13062025/07/32/image_13062025_07_32_14_9975.jpg', '/mnt/data/13062025/07/31/image_13062025_07_32_04_10404.jpg', '/mnt/data/13062025/07/31/image_13062025_07_31_54_9993.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/32/image_13062025_07_32_45_10103.jpg', '/mnt/data/13062025/07/32/image_13062025_07_32_34_10097.jpg', '/mnt/data/13062025/07/32/image_13062025_07_32_24_10043.jpg', '/mnt/data/13062025/07/32/image_13062025_07_32_14_9975.jpg', '/mnt/data/13062025/07/31/image_13062025_07_32_04_10404.jpg', '/mnt/data/13062025/07/31/image_13062025_07_31_54_9993.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/32/image_13062025_07_32_45_10103.jpg
/mnt/data/13062025/07/32/image_13062025_07_32_34_10097.jpg
/mnt/data/13062025/07/32/image_13062025_07_32_24_10043.jpg
/mnt/data/13062025/07/32/image_13062025_07_32_14_9975.jpg
/mnt/data/13062025/07/31/image_13062025_07_32_04_10404.jpg
/mnt/data/13062025/07/31/image_13062025_07_31_54_9993.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":["1375693786","1375693797","1375693782","1375693776","1375693793","1375693789"],"photo_ids_order":["1375693776","1375693782","1375693786","1375693789","1375693793","1375693797"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d4a63b9e89365569c4695c09141c0a57.jpg","text":"TemporaryFile(/tmp/multipartBody5862583159743296664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578104650,"filename":"image_13062025_07_32_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/7/4b7ba7275459cc13a09c549eaac09a75.jpg","text":"TemporaryFile(/tmp/multipartBody101742244063571113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578104650,"filename":"image_13062025_07_31_54_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/7/bdbbffdb79fe966187593ef46c252ab3.jpg","text":"TemporaryFile(/tmp/multipartBody2102506293395594316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578104650,"filename":"image_13062025_07_32_34_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/7/452de1f274007b41a54bd538e2ab5bc7.jpg","text":"TemporaryFile(/tmp/multipartBody4896566488894725353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578104650,"filename":"image_13062025_07_32_45_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/7/aa23e5b41c3abbb9a88545a093b138a7.jpg","text":"TemporaryFile(/tmp/multipartBody204875281952511558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578104650,"filename":"image_13062025_07_32_04_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/7/d40b0dde759aee9a81d06fbd093237ce.jpg","text":"TemporaryFile(/tmp/multipartBody3041425684936689814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578104650,"filename":"image_13062025_07_32_14_9975.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375693786","file1":"1375693782","file0":"1375693776","file4":"1375693793","file5":"1375693797","file3":"1375693789"},"map_files_photo_id_array":[{"photo_id":"1375693797","filename":"file5"},{"photo_id":"1375693786","filename":"file2"},{"photo_id":"1375693793","filename":"file4"},{"photo_id":"1375693782","filename":"file1"},{"photo_id":"1375693776","filename":"file0"},{"photo_id":"1375693789","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375693786":["hashtag1","hashtag2"]},{"1375693797":["hashtag1","hashtag2"]},{"1375693782":["hashtag1","hashtag2"]},{"1375693776":["hashtag1","hashtag2"]},{"1375693793":["hashtag1","hashtag2"]},{"1375693789":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375693786, 1375693797, 1375693782, 1375693776, 1375693793, 1375693789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.948606729507446 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:49:02.901009
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/30/image_13062025_07_30_44_9996.jpg', 2), ('/mnt/data/13062025/07/30/image_13062025_07_30_34_9990.jpg', 2), ('/mnt/data/13062025/07/30/image_13062025_07_30_24_8978.jpg', 2), ('/mnt/data/13062025/07/30/image_13062025_07_30_15_10118.jpg', 2), ('/mnt/data/13062025/07/29/image_13062025_07_30_05_10360.jpg', 2), ('/mnt/data/13062025/07/29/image_13062025_07_29_54_10080.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/30/image_13062025_07_30_44_9996.jpg', '/mnt/data/13062025/07/30/image_13062025_07_30_34_9990.jpg', '/mnt/data/13062025/07/30/image_13062025_07_30_24_8978.jpg', '/mnt/data/13062025/07/30/image_13062025_07_30_15_10118.jpg', '/mnt/data/13062025/07/29/image_13062025_07_30_05_10360.jpg', '/mnt/data/13062025/07/29/image_13062025_07_29_54_10080.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/30/image_13062025_07_30_44_9996.jpg', '/mnt/data/13062025/07/30/image_13062025_07_30_34_9990.jpg', '/mnt/data/13062025/07/30/image_13062025_07_30_24_8978.jpg', '/mnt/data/13062025/07/30/image_13062025_07_30_15_10118.jpg', '/mnt/data/13062025/07/29/image_13062025_07_30_05_10360.jpg', '/mnt/data/13062025/07/29/image_13062025_07_29_54_10080.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/30/image_13062025_07_30_44_9996.jpg
/mnt/data/13062025/07/30/image_13062025_07_30_34_9990.jpg
/mnt/data/13062025/07/30/image_13062025_07_30_24_8978.jpg
/mnt/data/13062025/07/30/image_13062025_07_30_15_10118.jpg
/mnt/data/13062025/07/29/image_13062025_07_30_05_10360.jpg
/mnt/data/13062025/07/29/image_13062025_07_29_54_10080.jpg
uploaded 0 photos
time to upload: 30.459728479385376 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:50:02.710434
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/30/image_13062025_07_30_44_9996.jpg', 2), ('/mnt/data/13062025/07/30/image_13062025_07_30_34_9990.jpg', 2), ('/mnt/data/13062025/07/30/image_13062025_07_30_24_8978.jpg', 2), ('/mnt/data/13062025/07/30/image_13062025_07_30_15_10118.jpg', 2), ('/mnt/data/13062025/07/29/image_13062025_07_30_05_10360.jpg', 2), ('/mnt/data/13062025/07/29/image_13062025_07_29_54_10080.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/30/image_13062025_07_30_44_9996.jpg', '/mnt/data/13062025/07/30/image_13062025_07_30_34_9990.jpg', '/mnt/data/13062025/07/30/image_13062025_07_30_24_8978.jpg', '/mnt/data/13062025/07/30/image_13062025_07_30_15_10118.jpg', '/mnt/data/13062025/07/29/image_13062025_07_30_05_10360.jpg', '/mnt/data/13062025/07/29/image_13062025_07_29_54_10080.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/30/image_13062025_07_30_44_9996.jpg', '/mnt/data/13062025/07/30/image_13062025_07_30_34_9990.jpg', '/mnt/data/13062025/07/30/image_13062025_07_30_24_8978.jpg', '/mnt/data/13062025/07/30/image_13062025_07_30_15_10118.jpg', '/mnt/data/13062025/07/29/image_13062025_07_30_05_10360.jpg', '/mnt/data/13062025/07/29/image_13062025_07_29_54_10080.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/30/image_13062025_07_30_44_9996.jpg
/mnt/data/13062025/07/30/image_13062025_07_30_34_9990.jpg
/mnt/data/13062025/07/30/image_13062025_07_30_24_8978.jpg
/mnt/data/13062025/07/30/image_13062025_07_30_15_10118.jpg
/mnt/data/13062025/07/29/image_13062025_07_30_05_10360.jpg
/mnt/data/13062025/07/29/image_13062025_07_29_54_10080.jpg
uploaded 0 photos
time to upload: 30.41136932373047 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:51:02.735567
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/30/image_13062025_07_30_44_9996.jpg', 2), ('/mnt/data/13062025/07/30/image_13062025_07_30_34_9990.jpg', 2), ('/mnt/data/13062025/07/30/image_13062025_07_30_24_8978.jpg', 2), ('/mnt/data/13062025/07/30/image_13062025_07_30_15_10118.jpg', 2), ('/mnt/data/13062025/07/29/image_13062025_07_30_05_10360.jpg', 2), ('/mnt/data/13062025/07/29/image_13062025_07_29_54_10080.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/30/image_13062025_07_30_44_9996.jpg', '/mnt/data/13062025/07/30/image_13062025_07_30_34_9990.jpg', '/mnt/data/13062025/07/30/image_13062025_07_30_24_8978.jpg', '/mnt/data/13062025/07/30/image_13062025_07_30_15_10118.jpg', '/mnt/data/13062025/07/29/image_13062025_07_30_05_10360.jpg', '/mnt/data/13062025/07/29/image_13062025_07_29_54_10080.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/30/image_13062025_07_30_44_9996.jpg', '/mnt/data/13062025/07/30/image_13062025_07_30_34_9990.jpg', '/mnt/data/13062025/07/30/image_13062025_07_30_24_8978.jpg', '/mnt/data/13062025/07/30/image_13062025_07_30_15_10118.jpg', '/mnt/data/13062025/07/29/image_13062025_07_30_05_10360.jpg', '/mnt/data/13062025/07/29/image_13062025_07_29_54_10080.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/30/image_13062025_07_30_44_9996.jpg
/mnt/data/13062025/07/30/image_13062025_07_30_34_9990.jpg
/mnt/data/13062025/07/30/image_13062025_07_30_24_8978.jpg
/mnt/data/13062025/07/30/image_13062025_07_30_15_10118.jpg
/mnt/data/13062025/07/29/image_13062025_07_30_05_10360.jpg
/mnt/data/13062025/07/29/image_13062025_07_29_54_10080.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375694002","1375693998","1375693995","1375693989","1375693985","1375693993"],"photo_ids_order":["1375693985","1375693989","1375693993","1375693995","1375693998","1375694002"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/46b8cdf851b57bd44d4212af54c00b99.jpg","text":"TemporaryFile(/tmp/multipartBody1638446816702270939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578340529,"filename":"image_13062025_07_29_54_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/7/1d55ed511ad758a153ffa34a5d3a3929.jpg","text":"TemporaryFile(/tmp/multipartBody4673715100051737548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578340529,"filename":"image_13062025_07_30_05_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/7/4d21935fc97097e141117ff54a76ae28.jpg","text":"TemporaryFile(/tmp/multipartBody6730621463884434936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578340529,"filename":"image_13062025_07_30_15_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/7/37e2bd3d978ea13ad06adee9e0b8ff3b.jpg","text":"TemporaryFile(/tmp/multipartBody1411382995982381724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578340529,"filename":"image_13062025_07_30_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/7/741d64660607cae25404f6a02d7c8f24.jpg","text":"TemporaryFile(/tmp/multipartBody5509651690759097106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578340529,"filename":"image_13062025_07_30_44_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/7/66d4210adcac6083194253b749c5e698.jpg","text":"TemporaryFile(/tmp/multipartBody9046695093804036004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578340529,"filename":"image_13062025_07_30_24_8978.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375693993","file1":"1375693989","file0":"1375693985","file4":"1375693998","file5":"1375694002","file3":"1375693995"},"map_files_photo_id_array":[{"photo_id":"1375694002","filename":"file5"},{"photo_id":"1375693993","filename":"file2"},{"photo_id":"1375693998","filename":"file4"},{"photo_id":"1375693989","filename":"file1"},{"photo_id":"1375693985","filename":"file0"},{"photo_id":"1375693995","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375694002":["hashtag1","hashtag2"]},{"1375693998":["hashtag1","hashtag2"]},{"1375693995":["hashtag1","hashtag2"]},{"1375693989":["hashtag1","hashtag2"]},{"1375693985":["hashtag1","hashtag2"]},{"1375693993":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375694002, 1375693998, 1375693995, 1375693989, 1375693985, 1375693993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.706114053726196 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:52:03.249994
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/29/image_13062025_07_29_44_10062.jpg', 2), ('/mnt/data/13062025/07/29/image_13062025_07_29_34_10036.jpg', 2), ('/mnt/data/13062025/07/29/image_13062025_07_29_24_10016.jpg', 2), ('/mnt/data/13062025/07/29/image_13062025_07_29_14_10013.jpg', 2), ('/mnt/data/13062025/07/28/image_13062025_07_29_04_10132.jpg', 2), ('/mnt/data/13062025/07/28/image_13062025_07_28_54_9968.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/29/image_13062025_07_29_44_10062.jpg', '/mnt/data/13062025/07/29/image_13062025_07_29_34_10036.jpg', '/mnt/data/13062025/07/29/image_13062025_07_29_24_10016.jpg', '/mnt/data/13062025/07/29/image_13062025_07_29_14_10013.jpg', '/mnt/data/13062025/07/28/image_13062025_07_29_04_10132.jpg', '/mnt/data/13062025/07/28/image_13062025_07_28_54_9968.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/29/image_13062025_07_29_44_10062.jpg', '/mnt/data/13062025/07/29/image_13062025_07_29_34_10036.jpg', '/mnt/data/13062025/07/29/image_13062025_07_29_24_10016.jpg', '/mnt/data/13062025/07/29/image_13062025_07_29_14_10013.jpg', '/mnt/data/13062025/07/28/image_13062025_07_29_04_10132.jpg', '/mnt/data/13062025/07/28/image_13062025_07_28_54_9968.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/29/image_13062025_07_29_44_10062.jpg
/mnt/data/13062025/07/29/image_13062025_07_29_34_10036.jpg
/mnt/data/13062025/07/29/image_13062025_07_29_24_10016.jpg
/mnt/data/13062025/07/29/image_13062025_07_29_14_10013.jpg
/mnt/data/13062025/07/28/image_13062025_07_29_04_10132.jpg
/mnt/data/13062025/07/28/image_13062025_07_28_54_9968.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 125.93194723129272 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-07 16:55:02.604850
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/29/image_13062025_07_29_44_10062.jpg', 2), ('/mnt/data/13062025/07/29/image_13062025_07_29_34_10036.jpg', 2), ('/mnt/data/13062025/07/29/image_13062025_07_29_24_10016.jpg', 2), ('/mnt/data/13062025/07/29/image_13062025_07_29_14_10013.jpg', 2), ('/mnt/data/13062025/07/28/image_13062025_07_29_04_10132.jpg', 2), ('/mnt/data/13062025/07/28/image_13062025_07_28_54_9968.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/29/image_13062025_07_29_44_10062.jpg', '/mnt/data/13062025/07/29/image_13062025_07_29_34_10036.jpg', '/mnt/data/13062025/07/29/image_13062025_07_29_24_10016.jpg', '/mnt/data/13062025/07/29/image_13062025_07_29_14_10013.jpg', '/mnt/data/13062025/07/28/image_13062025_07_29_04_10132.jpg', '/mnt/data/13062025/07/28/image_13062025_07_28_54_9968.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/29/image_13062025_07_29_44_10062.jpg', '/mnt/data/13062025/07/29/image_13062025_07_29_34_10036.jpg', '/mnt/data/13062025/07/29/image_13062025_07_29_24_10016.jpg', '/mnt/data/13062025/07/29/image_13062025_07_29_14_10013.jpg', '/mnt/data/13062025/07/28/image_13062025_07_29_04_10132.jpg', '/mnt/data/13062025/07/28/image_13062025_07_28_54_9968.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/29/image_13062025_07_29_44_10062.jpg
/mnt/data/13062025/07/29/image_13062025_07_29_34_10036.jpg
/mnt/data/13062025/07/29/image_13062025_07_29_24_10016.jpg
/mnt/data/13062025/07/29/image_13062025_07_29_14_10013.jpg
/mnt/data/13062025/07/28/image_13062025_07_29_04_10132.jpg
/mnt/data/13062025/07/28/image_13062025_07_28_54_9968.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375694635","1375694637","1375694645","1375694642","1375694603","1375694572"],"photo_ids_order":["1375694572","1375694603","1375694635","1375694637","1375694642","1375694645"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/da3203a5e331b00ebee7ce3040e445e8.jpg","text":"TemporaryFile(/tmp/multipartBody1491283375086596250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578573212,"filename":"image_13062025_07_29_24_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/7/d43bf89c308d9fffe27f481fc7f28700.jpg","text":"TemporaryFile(/tmp/multipartBody5635890129309908680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578573212,"filename":"image_13062025_07_29_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/7/83382419a4c9529cc5e647a0057b00b8.jpg","text":"TemporaryFile(/tmp/multipartBody1854305833587758707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578573212,"filename":"image_13062025_07_28_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/7/3215780e90e15768a9c829dc4b52cf30.jpg","text":"TemporaryFile(/tmp/multipartBody2466218535103320175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578573212,"filename":"image_13062025_07_29_04_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/7/42009782cc814331aa6d81c8f14c2d5e.jpg","text":"TemporaryFile(/tmp/multipartBody1052726954403636130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578573212,"filename":"image_13062025_07_29_34_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/7/f16011678b8fc5e64ac76bc9b44eaab9.jpg","text":"TemporaryFile(/tmp/multipartBody2329960265608394548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578573212,"filename":"image_13062025_07_29_44_10062.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375694635","file1":"1375694603","file0":"1375694572","file4":"1375694642","file5":"1375694645","file3":"1375694637"},"map_files_photo_id_array":[{"photo_id":"1375694645","filename":"file5"},{"photo_id":"1375694635","filename":"file2"},{"photo_id":"1375694642","filename":"file4"},{"photo_id":"1375694603","filename":"file1"},{"photo_id":"1375694572","filename":"file0"},{"photo_id":"1375694637","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375694635":["hashtag1","hashtag2"]},{"1375694637":["hashtag1","hashtag2"]},{"1375694645":["hashtag1","hashtag2"]},{"1375694642":["hashtag1","hashtag2"]},{"1375694603":["hashtag1","hashtag2"]},{"1375694572":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375694635, 1375694637, 1375694645, 1375694642, 1375694603, 1375694572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.2548394203186 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:56:03.113830
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/28/image_13062025_07_28_44_9936.jpg', 2), ('/mnt/data/13062025/07/28/image_13062025_07_28_34_10005.jpg', 2), ('/mnt/data/13062025/07/28/image_13062025_07_28_24_10111.jpg', 2), ('/mnt/data/13062025/07/28/image_13062025_07_28_14_9661.jpg', 2), ('/mnt/data/13062025/07/27/image_13062025_07_28_06_10222.jpg', 2), ('/mnt/data/13062025/07/27/image_13062025_07_27_54_10008.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/28/image_13062025_07_28_44_9936.jpg', '/mnt/data/13062025/07/28/image_13062025_07_28_34_10005.jpg', '/mnt/data/13062025/07/28/image_13062025_07_28_24_10111.jpg', '/mnt/data/13062025/07/28/image_13062025_07_28_14_9661.jpg', '/mnt/data/13062025/07/27/image_13062025_07_28_06_10222.jpg', '/mnt/data/13062025/07/27/image_13062025_07_27_54_10008.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/28/image_13062025_07_28_44_9936.jpg', '/mnt/data/13062025/07/28/image_13062025_07_28_34_10005.jpg', '/mnt/data/13062025/07/28/image_13062025_07_28_24_10111.jpg', '/mnt/data/13062025/07/28/image_13062025_07_28_14_9661.jpg', '/mnt/data/13062025/07/27/image_13062025_07_28_06_10222.jpg', '/mnt/data/13062025/07/27/image_13062025_07_27_54_10008.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/28/image_13062025_07_28_44_9936.jpg
/mnt/data/13062025/07/28/image_13062025_07_28_34_10005.jpg
/mnt/data/13062025/07/28/image_13062025_07_28_24_10111.jpg
/mnt/data/13062025/07/28/image_13062025_07_28_14_9661.jpg
/mnt/data/13062025/07/27/image_13062025_07_28_06_10222.jpg
/mnt/data/13062025/07/27/image_13062025_07_27_54_10008.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375694667","1375694676","1375694681","1375694662","1375694671","1375694659"],"photo_ids_order":["1375694659","1375694662","1375694667","1375694671","1375694676","1375694681"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/369743f09b503a68859f60607e1e948b.jpg","text":"TemporaryFile(/tmp/multipartBody653559274919396870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578637105,"filename":"image_13062025_07_28_24_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/7/063f0147bbfd54dd712d61706769bc44.jpg","text":"TemporaryFile(/tmp/multipartBody6942494612215515078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578637105,"filename":"image_13062025_07_28_06_10222.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/89d12d396ea10d038c2bf89a5807b35e.jpg","text":"TemporaryFile(/tmp/multipartBody1573351225235836688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578637105,"filename":"image_13062025_07_27_54_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/7/e7f78957aea8ea16f204cadd2b515d07.jpg","text":"TemporaryFile(/tmp/multipartBody7198921050654889043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578637105,"filename":"image_13062025_07_28_34_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/7/474c83cc9021073c56156de90dec4114.jpg","text":"TemporaryFile(/tmp/multipartBody2243823322205000331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578637105,"filename":"image_13062025_07_28_14_9661.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/da2bc6704422935c58b5cf0ddf134146.jpg","text":"TemporaryFile(/tmp/multipartBody3858493164072462033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578637105,"filename":"image_13062025_07_28_44_9936.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375694667","file1":"1375694662","file0":"1375694659","file4":"1375694676","file5":"1375694681","file3":"1375694671"},"map_files_photo_id_array":[{"photo_id":"1375694681","filename":"file5"},{"photo_id":"1375694667","filename":"file2"},{"photo_id":"1375694676","filename":"file4"},{"photo_id":"1375694662","filename":"file1"},{"photo_id":"1375694659","filename":"file0"},{"photo_id":"1375694671","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375694667":["hashtag1","hashtag2"]},{"1375694676":["hashtag1","hashtag2"]},{"1375694681":["hashtag1","hashtag2"]},{"1375694662":["hashtag1","hashtag2"]},{"1375694671":["hashtag1","hashtag2"]},{"1375694659":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375694667, 1375694676, 1375694681, 1375694662, 1375694671, 1375694659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.99137282371521 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 16:57:02.983537
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/26/image_13062025_07_26_44_9914.jpg', 2), ('/mnt/data/13062025/07/26/image_13062025_07_26_34_10120.jpg', 2), ('/mnt/data/13062025/07/26/image_13062025_07_26_24_10092.jpg', 2), ('/mnt/data/13062025/07/26/image_13062025_07_26_14_10186.jpg', 2), ('/mnt/data/13062025/07/25/image_13062025_07_26_04_9276.jpg', 2), ('/mnt/data/13062025/07/25/image_13062025_07_25_55_10289.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/26/image_13062025_07_26_44_9914.jpg', '/mnt/data/13062025/07/26/image_13062025_07_26_34_10120.jpg', '/mnt/data/13062025/07/26/image_13062025_07_26_24_10092.jpg', '/mnt/data/13062025/07/26/image_13062025_07_26_14_10186.jpg', '/mnt/data/13062025/07/25/image_13062025_07_26_04_9276.jpg', '/mnt/data/13062025/07/25/image_13062025_07_25_55_10289.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/26/image_13062025_07_26_44_9914.jpg', '/mnt/data/13062025/07/26/image_13062025_07_26_34_10120.jpg', '/mnt/data/13062025/07/26/image_13062025_07_26_24_10092.jpg', '/mnt/data/13062025/07/26/image_13062025_07_26_14_10186.jpg', '/mnt/data/13062025/07/25/image_13062025_07_26_04_9276.jpg', '/mnt/data/13062025/07/25/image_13062025_07_25_55_10289.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/26/image_13062025_07_26_44_9914.jpg
/mnt/data/13062025/07/26/image_13062025_07_26_34_10120.jpg
/mnt/data/13062025/07/26/image_13062025_07_26_24_10092.jpg
/mnt/data/13062025/07/26/image_13062025_07_26_14_10186.jpg
/mnt/data/13062025/07/25/image_13062025_07_26_04_9276.jpg
/mnt/data/13062025/07/25/image_13062025_07_25_55_10289.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-07 16:59:02.744634
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/26/image_13062025_07_26_44_9914.jpg', 2), ('/mnt/data/13062025/07/26/image_13062025_07_26_34_10120.jpg', 2), ('/mnt/data/13062025/07/26/image_13062025_07_26_24_10092.jpg', 2), ('/mnt/data/13062025/07/26/image_13062025_07_26_14_10186.jpg', 2), ('/mnt/data/13062025/07/25/image_13062025_07_26_04_9276.jpg', 2), ('/mnt/data/13062025/07/25/image_13062025_07_25_55_10289.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/26/image_13062025_07_26_44_9914.jpg', '/mnt/data/13062025/07/26/image_13062025_07_26_34_10120.jpg', '/mnt/data/13062025/07/26/image_13062025_07_26_24_10092.jpg', '/mnt/data/13062025/07/26/image_13062025_07_26_14_10186.jpg', '/mnt/data/13062025/07/25/image_13062025_07_26_04_9276.jpg', '/mnt/data/13062025/07/25/image_13062025_07_25_55_10289.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/26/image_13062025_07_26_44_9914.jpg', '/mnt/data/13062025/07/26/image_13062025_07_26_34_10120.jpg', '/mnt/data/13062025/07/26/image_13062025_07_26_24_10092.jpg', '/mnt/data/13062025/07/26/image_13062025_07_26_14_10186.jpg', '/mnt/data/13062025/07/25/image_13062025_07_26_04_9276.jpg', '/mnt/data/13062025/07/25/image_13062025_07_25_55_10289.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/26/image_13062025_07_26_44_9914.jpg
/mnt/data/13062025/07/26/image_13062025_07_26_34_10120.jpg
/mnt/data/13062025/07/26/image_13062025_07_26_24_10092.jpg
/mnt/data/13062025/07/26/image_13062025_07_26_14_10186.jpg
/mnt/data/13062025/07/25/image_13062025_07_26_04_9276.jpg
/mnt/data/13062025/07/25/image_13062025_07_25_55_10289.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375695111","1375695129","1375695140","1375695137","1375695116","1375695121"],"photo_ids_order":["1375695111","1375695116","1375695121","1375695129","1375695137","1375695140"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/c3eca3f0a5b5a47d1d239517b91ceec8.jpg","text":"TemporaryFile(/tmp/multipartBody1674065221257582954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578811208,"filename":"image_13062025_07_26_44_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/7/051b6dc384cda632a03d3b9e1f9a4ff2.jpg","text":"TemporaryFile(/tmp/multipartBody7425441300049274151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578811208,"filename":"image_13062025_07_26_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/7/6807f90ab580c35c00ea0cae96690395.jpg","text":"TemporaryFile(/tmp/multipartBody962281425759369908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578811208,"filename":"image_13062025_07_25_55_10289.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/4c257831fc184c234a361ec844404ee8.jpg","text":"TemporaryFile(/tmp/multipartBody153822618389314778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578811208,"filename":"image_13062025_07_26_04_9276.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/b5a5d76cdc71a985bcc27709293aed17.jpg","text":"TemporaryFile(/tmp/multipartBody481669244393956370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578811208,"filename":"image_13062025_07_26_34_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/7/f695b8e4fd22c457b0f2c9bb73a43abb.jpg","text":"TemporaryFile(/tmp/multipartBody8440582502588572855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754578811208,"filename":"image_13062025_07_26_24_10092.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375695121","file1":"1375695116","file0":"1375695111","file4":"1375695137","file5":"1375695140","file3":"1375695129"},"map_files_photo_id_array":[{"photo_id":"1375695140","filename":"file5"},{"photo_id":"1375695121","filename":"file2"},{"photo_id":"1375695137","filename":"file4"},{"photo_id":"1375695116","filename":"file1"},{"photo_id":"1375695111","filename":"file0"},{"photo_id":"1375695129","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375695111":["hashtag1","hashtag2"]},{"1375695129":["hashtag1","hashtag2"]},{"1375695140":["hashtag1","hashtag2"]},{"1375695137":["hashtag1","hashtag2"]},{"1375695116":["hashtag1","hashtag2"]},{"1375695121":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375695111, 1375695129, 1375695140, 1375695137, 1375695116, 1375695121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.718767166137695 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:00:02.305074
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/25/image_13062025_07_25_44_10257.jpg', 2), ('/mnt/data/13062025/07/25/image_13062025_07_25_34_10174.jpg', 2), ('/mnt/data/13062025/07/25/image_13062025_07_25_24_9000.jpg', 2), ('/mnt/data/13062025/07/25/image_13062025_07_25_15_10265.jpg', 2), ('/mnt/data/13062025/07/24/image_13062025_07_25_05_10343.jpg', 2), ('/mnt/data/13062025/07/24/image_13062025_07_24_54_10195.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/25/image_13062025_07_25_44_10257.jpg', '/mnt/data/13062025/07/25/image_13062025_07_25_34_10174.jpg', '/mnt/data/13062025/07/25/image_13062025_07_25_24_9000.jpg', '/mnt/data/13062025/07/25/image_13062025_07_25_15_10265.jpg', '/mnt/data/13062025/07/24/image_13062025_07_25_05_10343.jpg', '/mnt/data/13062025/07/24/image_13062025_07_24_54_10195.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/25/image_13062025_07_25_44_10257.jpg', '/mnt/data/13062025/07/25/image_13062025_07_25_34_10174.jpg', '/mnt/data/13062025/07/25/image_13062025_07_25_24_9000.jpg', '/mnt/data/13062025/07/25/image_13062025_07_25_15_10265.jpg', '/mnt/data/13062025/07/24/image_13062025_07_25_05_10343.jpg', '/mnt/data/13062025/07/24/image_13062025_07_24_54_10195.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/25/image_13062025_07_25_44_10257.jpg
/mnt/data/13062025/07/25/image_13062025_07_25_34_10174.jpg
/mnt/data/13062025/07/25/image_13062025_07_25_24_9000.jpg
/mnt/data/13062025/07/25/image_13062025_07_25_15_10265.jpg
/mnt/data/13062025/07/24/image_13062025_07_25_05_10343.jpg
/mnt/data/13062025/07/24/image_13062025_07_24_54_10195.jpg
uploaded 0 photos
time to upload: 30.44383716583252 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:01:03.382594
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/25/image_13062025_07_25_44_10257.jpg', 2), ('/mnt/data/13062025/07/25/image_13062025_07_25_34_10174.jpg', 2), ('/mnt/data/13062025/07/25/image_13062025_07_25_24_9000.jpg', 2), ('/mnt/data/13062025/07/25/image_13062025_07_25_15_10265.jpg', 2), ('/mnt/data/13062025/07/24/image_13062025_07_25_05_10343.jpg', 2), ('/mnt/data/13062025/07/24/image_13062025_07_24_54_10195.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/25/image_13062025_07_25_44_10257.jpg', '/mnt/data/13062025/07/25/image_13062025_07_25_34_10174.jpg', '/mnt/data/13062025/07/25/image_13062025_07_25_24_9000.jpg', '/mnt/data/13062025/07/25/image_13062025_07_25_15_10265.jpg', '/mnt/data/13062025/07/24/image_13062025_07_25_05_10343.jpg', '/mnt/data/13062025/07/24/image_13062025_07_24_54_10195.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/25/image_13062025_07_25_44_10257.jpg', '/mnt/data/13062025/07/25/image_13062025_07_25_34_10174.jpg', '/mnt/data/13062025/07/25/image_13062025_07_25_24_9000.jpg', '/mnt/data/13062025/07/25/image_13062025_07_25_15_10265.jpg', '/mnt/data/13062025/07/24/image_13062025_07_25_05_10343.jpg', '/mnt/data/13062025/07/24/image_13062025_07_24_54_10195.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/25/image_13062025_07_25_44_10257.jpg
/mnt/data/13062025/07/25/image_13062025_07_25_34_10174.jpg
/mnt/data/13062025/07/25/image_13062025_07_25_24_9000.jpg
/mnt/data/13062025/07/25/image_13062025_07_25_15_10265.jpg
/mnt/data/13062025/07/24/image_13062025_07_25_05_10343.jpg
/mnt/data/13062025/07/24/image_13062025_07_24_54_10195.jpg
uploaded 0 photos
time to upload: 30.39397430419922 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:02:02.650080
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/25/image_13062025_07_25_44_10257.jpg', 2), ('/mnt/data/13062025/07/25/image_13062025_07_25_34_10174.jpg', 2), ('/mnt/data/13062025/07/25/image_13062025_07_25_24_9000.jpg', 2), ('/mnt/data/13062025/07/25/image_13062025_07_25_15_10265.jpg', 2), ('/mnt/data/13062025/07/24/image_13062025_07_25_05_10343.jpg', 2), ('/mnt/data/13062025/07/24/image_13062025_07_24_54_10195.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/25/image_13062025_07_25_44_10257.jpg', '/mnt/data/13062025/07/25/image_13062025_07_25_34_10174.jpg', '/mnt/data/13062025/07/25/image_13062025_07_25_24_9000.jpg', '/mnt/data/13062025/07/25/image_13062025_07_25_15_10265.jpg', '/mnt/data/13062025/07/24/image_13062025_07_25_05_10343.jpg', '/mnt/data/13062025/07/24/image_13062025_07_24_54_10195.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/25/image_13062025_07_25_44_10257.jpg', '/mnt/data/13062025/07/25/image_13062025_07_25_34_10174.jpg', '/mnt/data/13062025/07/25/image_13062025_07_25_24_9000.jpg', '/mnt/data/13062025/07/25/image_13062025_07_25_15_10265.jpg', '/mnt/data/13062025/07/24/image_13062025_07_25_05_10343.jpg', '/mnt/data/13062025/07/24/image_13062025_07_24_54_10195.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/25/image_13062025_07_25_44_10257.jpg
/mnt/data/13062025/07/25/image_13062025_07_25_34_10174.jpg
/mnt/data/13062025/07/25/image_13062025_07_25_24_9000.jpg
/mnt/data/13062025/07/25/image_13062025_07_25_15_10265.jpg
/mnt/data/13062025/07/24/image_13062025_07_25_05_10343.jpg
/mnt/data/13062025/07/24/image_13062025_07_24_54_10195.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":["1375696239","1375696274","1375696370","1375696205","1375696342","1375696309"],"photo_ids_order":["1375696205","1375696239","1375696274","1375696309","1375696342","1375696370"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/73ab95cd1811129ee4bbc9f71e834bf6.jpg","text":"TemporaryFile(/tmp/multipartBody1762613579357347051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579013083,"filename":"image_13062025_07_25_34_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/7/c77a17b0a9259cc510a45f7079370346.jpg","text":"TemporaryFile(/tmp/multipartBody1287470106763334287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579013083,"filename":"image_13062025_07_25_24_9000.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/989a500da2a5868f575e216964698663.jpg","text":"TemporaryFile(/tmp/multipartBody4848577585133116692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579013083,"filename":"image_13062025_07_24_54_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/7/06f6552136010e9ec56cdb9c257c57cc.jpg","text":"TemporaryFile(/tmp/multipartBody5770157604970317838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579013083,"filename":"image_13062025_07_25_44_10257.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/3c71ff7ea3951766ac0afe68d4221c06.jpg","text":"TemporaryFile(/tmp/multipartBody1228149553850029393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579013083,"filename":"image_13062025_07_25_05_10343.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/84ed7516e5670239b9a26df051a7bca2.jpg","text":"TemporaryFile(/tmp/multipartBody1994373381047352075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579013083,"filename":"image_13062025_07_25_15_10265.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375696274","file1":"1375696239","file0":"1375696205","file4":"1375696342","file5":"1375696370","file3":"1375696309"},"map_files_photo_id_array":[{"photo_id":"1375696370","filename":"file5"},{"photo_id":"1375696274","filename":"file2"},{"photo_id":"1375696342","filename":"file4"},{"photo_id":"1375696239","filename":"file1"},{"photo_id":"1375696205","filename":"file0"},{"photo_id":"1375696309","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375696239":["hashtag1","hashtag2"]},{"1375696274":["hashtag1","hashtag2"]},{"1375696370":["hashtag1","hashtag2"]},{"1375696205":["hashtag1","hashtag2"]},{"1375696342":["hashtag1","hashtag2"]},{"1375696309":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375696239, 1375696274, 1375696370, 1375696205, 1375696342, 1375696309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.56969690322876 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:04:02.576620
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/24/image_13062025_07_24_44_10120.jpg', 2), ('/mnt/data/13062025/07/24/image_13062025_07_24_34_10217.jpg', 2), ('/mnt/data/13062025/07/24/image_13062025_07_24_24_8916.jpg', 2), ('/mnt/data/13062025/07/24/image_13062025_07_24_15_10135.jpg', 2), ('/mnt/data/13062025/07/23/image_13062025_07_23_54_9956.jpg', 2), ('/mnt/data/13062025/07/23/image_13062025_07_23_45_10191.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/24/image_13062025_07_24_44_10120.jpg', '/mnt/data/13062025/07/24/image_13062025_07_24_34_10217.jpg', '/mnt/data/13062025/07/24/image_13062025_07_24_24_8916.jpg', '/mnt/data/13062025/07/24/image_13062025_07_24_15_10135.jpg', '/mnt/data/13062025/07/23/image_13062025_07_23_54_9956.jpg', '/mnt/data/13062025/07/23/image_13062025_07_23_45_10191.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/24/image_13062025_07_24_44_10120.jpg', '/mnt/data/13062025/07/24/image_13062025_07_24_34_10217.jpg', '/mnt/data/13062025/07/24/image_13062025_07_24_24_8916.jpg', '/mnt/data/13062025/07/24/image_13062025_07_24_15_10135.jpg', '/mnt/data/13062025/07/23/image_13062025_07_23_54_9956.jpg', '/mnt/data/13062025/07/23/image_13062025_07_23_45_10191.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/24/image_13062025_07_24_44_10120.jpg
/mnt/data/13062025/07/24/image_13062025_07_24_34_10217.jpg
/mnt/data/13062025/07/24/image_13062025_07_24_24_8916.jpg
/mnt/data/13062025/07/24/image_13062025_07_24_15_10135.jpg
/mnt/data/13062025/07/23/image_13062025_07_23_54_9956.jpg
/mnt/data/13062025/07/23/image_13062025_07_23_45_10191.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375696812","1375696734","1375696817","1375696699","1375696672","1375696767"],"photo_ids_order":["1375696672","1375696699","1375696734","1375696767","1375696812","1375696817"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/f8defc2a506a31e26d52985b651d04f5.jpg","text":"TemporaryFile(/tmp/multipartBody371930686910743622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579116363,"filename":"image_13062025_07_23_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/7/f183fe0ab6d935ed496630c3819c8602.jpg","text":"TemporaryFile(/tmp/multipartBody3388225885420213724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579116363,"filename":"image_13062025_07_24_24_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/7/8cce3fe815acfd0597c91909cff33ac1.jpg","text":"TemporaryFile(/tmp/multipartBody7775829611655073021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579116363,"filename":"image_13062025_07_23_45_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/7/51bc207ac2bab821eacdeed94f661371.jpg","text":"TemporaryFile(/tmp/multipartBody7048345785312075456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579116363,"filename":"image_13062025_07_24_34_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/7/dbda6c46669edaf7983a75c2fc77e0ee.jpg","text":"TemporaryFile(/tmp/multipartBody4650880472420084958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579116363,"filename":"image_13062025_07_24_44_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/7/1d2b88743465bf897ce71082212d17b7.jpg","text":"TemporaryFile(/tmp/multipartBody2841046025668580931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579116363,"filename":"image_13062025_07_24_15_10135.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375696734","file1":"1375696699","file0":"1375696672","file4":"1375696812","file5":"1375696817","file3":"1375696767"},"map_files_photo_id_array":[{"photo_id":"1375696817","filename":"file5"},{"photo_id":"1375696734","filename":"file2"},{"photo_id":"1375696812","filename":"file4"},{"photo_id":"1375696699","filename":"file1"},{"photo_id":"1375696672","filename":"file0"},{"photo_id":"1375696767","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375696812":["hashtag1","hashtag2"]},{"1375696734":["hashtag1","hashtag2"]},{"1375696817":["hashtag1","hashtag2"]},{"1375696699":["hashtag1","hashtag2"]},{"1375696672":["hashtag1","hashtag2"]},{"1375696767":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375696812, 1375696734, 1375696817, 1375696699, 1375696672, 1375696767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.45318603515625 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:05:02.709615
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/23/image_13062025_07_23_34_9121.jpg', 2), ('/mnt/data/13062025/07/23/image_13062025_07_23_25_11191.jpg', 2), ('/mnt/data/13062025/07/23/image_13062025_07_23_14_9068.jpg', 2), ('/mnt/data/13062025/07/22/image_13062025_07_23_05_10251.jpg', 2), ('/mnt/data/13062025/07/22/image_13062025_07_22_54_10124.jpg', 2), ('/mnt/data/13062025/07/22/image_13062025_07_22_44_10148.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/23/image_13062025_07_23_34_9121.jpg', '/mnt/data/13062025/07/23/image_13062025_07_23_25_11191.jpg', '/mnt/data/13062025/07/23/image_13062025_07_23_14_9068.jpg', '/mnt/data/13062025/07/22/image_13062025_07_23_05_10251.jpg', '/mnt/data/13062025/07/22/image_13062025_07_22_54_10124.jpg', '/mnt/data/13062025/07/22/image_13062025_07_22_44_10148.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/23/image_13062025_07_23_34_9121.jpg', '/mnt/data/13062025/07/23/image_13062025_07_23_25_11191.jpg', '/mnt/data/13062025/07/23/image_13062025_07_23_14_9068.jpg', '/mnt/data/13062025/07/22/image_13062025_07_23_05_10251.jpg', '/mnt/data/13062025/07/22/image_13062025_07_22_54_10124.jpg', '/mnt/data/13062025/07/22/image_13062025_07_22_44_10148.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/23/image_13062025_07_23_34_9121.jpg
/mnt/data/13062025/07/23/image_13062025_07_23_25_11191.jpg
/mnt/data/13062025/07/23/image_13062025_07_23_14_9068.jpg
/mnt/data/13062025/07/22/image_13062025_07_23_05_10251.jpg
/mnt/data/13062025/07/22/image_13062025_07_22_54_10124.jpg
/mnt/data/13062025/07/22/image_13062025_07_22_44_10148.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":["1375696907","1375696904","1375696897","1375696900","1375696893","1375696887"],"photo_ids_order":["1375696887","1375696893","1375696897","1375696900","1375696904","1375696907"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/b914beca87f287b2dd2248a4f31e96e5.jpg","text":"TemporaryFile(/tmp/multipartBody5592612802184854308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579192087,"filename":"image_13062025_07_22_44_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/7/0104d26f8b02e9c44ef20a2242b69987.jpg","text":"TemporaryFile(/tmp/multipartBody126224104326379213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579192087,"filename":"image_13062025_07_22_54_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/7/16ff5a549309e27079d3009f8e7fccc8.jpg","text":"TemporaryFile(/tmp/multipartBody2299713043036806060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579192087,"filename":"image_13062025_07_23_14_9068.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/264f81b238658b44f6739a8b4227a177.jpg","text":"TemporaryFile(/tmp/multipartBody5979277550315819893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579192087,"filename":"image_13062025_07_23_05_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/7/21efa9e2dca0dfb423c1a444a5f9b987.jpg","text":"TemporaryFile(/tmp/multipartBody7027384973796076903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579192087,"filename":"image_13062025_07_23_25_11191.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/f0e65ba6b282dca9c89a449f71405929.jpg","text":"TemporaryFile(/tmp/multipartBody2746322476131879485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579192087,"filename":"image_13062025_07_23_34_9121.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375696897","file1":"1375696893","file0":"1375696887","file4":"1375696904","file5":"1375696907","file3":"1375696900"},"map_files_photo_id_array":[{"photo_id":"1375696907","filename":"file5"},{"photo_id":"1375696897","filename":"file2"},{"photo_id":"1375696904","filename":"file4"},{"photo_id":"1375696893","filename":"file1"},{"photo_id":"1375696887","filename":"file0"},{"photo_id":"1375696900","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375696907":["hashtag1","hashtag2"]},{"1375696904":["hashtag1","hashtag2"]},{"1375696897":["hashtag1","hashtag2"]},{"1375696900":["hashtag1","hashtag2"]},{"1375696893":["hashtag1","hashtag2"]},{"1375696887":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375696907, 1375696904, 1375696897, 1375696900, 1375696893, 1375696887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.12190198898315 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:07:02.979475
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/22/image_13062025_07_22_34_10161.jpg', 2), ('/mnt/data/13062025/07/22/image_13062025_07_22_24_10106.jpg', 2), ('/mnt/data/13062025/07/22/image_13062025_07_22_14_10121.jpg', 2), ('/mnt/data/13062025/07/21/image_13062025_07_22_04_9416.jpg', 2), ('/mnt/data/13062025/07/21/image_13062025_07_21_54_10193.jpg', 2), ('/mnt/data/13062025/07/21/image_13062025_07_21_44_10149.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/22/image_13062025_07_22_34_10161.jpg', '/mnt/data/13062025/07/22/image_13062025_07_22_24_10106.jpg', '/mnt/data/13062025/07/22/image_13062025_07_22_14_10121.jpg', '/mnt/data/13062025/07/21/image_13062025_07_22_04_9416.jpg', '/mnt/data/13062025/07/21/image_13062025_07_21_54_10193.jpg', '/mnt/data/13062025/07/21/image_13062025_07_21_44_10149.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/22/image_13062025_07_22_34_10161.jpg', '/mnt/data/13062025/07/22/image_13062025_07_22_24_10106.jpg', '/mnt/data/13062025/07/22/image_13062025_07_22_14_10121.jpg', '/mnt/data/13062025/07/21/image_13062025_07_22_04_9416.jpg', '/mnt/data/13062025/07/21/image_13062025_07_21_54_10193.jpg', '/mnt/data/13062025/07/21/image_13062025_07_21_44_10149.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/22/image_13062025_07_22_34_10161.jpg
/mnt/data/13062025/07/22/image_13062025_07_22_24_10106.jpg
/mnt/data/13062025/07/22/image_13062025_07_22_14_10121.jpg
/mnt/data/13062025/07/21/image_13062025_07_22_04_9416.jpg
/mnt/data/13062025/07/21/image_13062025_07_21_54_10193.jpg
/mnt/data/13062025/07/21/image_13062025_07_21_44_10149.jpg
uploaded 0 photos
time to upload: 30.421693086624146 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:08:02.655010
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/22/image_13062025_07_22_34_10161.jpg', 2), ('/mnt/data/13062025/07/22/image_13062025_07_22_24_10106.jpg', 2), ('/mnt/data/13062025/07/22/image_13062025_07_22_14_10121.jpg', 2), ('/mnt/data/13062025/07/21/image_13062025_07_22_04_9416.jpg', 2), ('/mnt/data/13062025/07/21/image_13062025_07_21_54_10193.jpg', 2), ('/mnt/data/13062025/07/21/image_13062025_07_21_44_10149.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/22/image_13062025_07_22_34_10161.jpg', '/mnt/data/13062025/07/22/image_13062025_07_22_24_10106.jpg', '/mnt/data/13062025/07/22/image_13062025_07_22_14_10121.jpg', '/mnt/data/13062025/07/21/image_13062025_07_22_04_9416.jpg', '/mnt/data/13062025/07/21/image_13062025_07_21_54_10193.jpg', '/mnt/data/13062025/07/21/image_13062025_07_21_44_10149.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/22/image_13062025_07_22_34_10161.jpg', '/mnt/data/13062025/07/22/image_13062025_07_22_24_10106.jpg', '/mnt/data/13062025/07/22/image_13062025_07_22_14_10121.jpg', '/mnt/data/13062025/07/21/image_13062025_07_22_04_9416.jpg', '/mnt/data/13062025/07/21/image_13062025_07_21_54_10193.jpg', '/mnt/data/13062025/07/21/image_13062025_07_21_44_10149.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/22/image_13062025_07_22_34_10161.jpg
/mnt/data/13062025/07/22/image_13062025_07_22_24_10106.jpg
/mnt/data/13062025/07/22/image_13062025_07_22_14_10121.jpg
/mnt/data/13062025/07/21/image_13062025_07_22_04_9416.jpg
/mnt/data/13062025/07/21/image_13062025_07_21_54_10193.jpg
/mnt/data/13062025/07/21/image_13062025_07_21_44_10149.jpg
uploaded 0 photos
time to upload: 30.365905046463013 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:09:02.839524
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/22/image_13062025_07_22_34_10161.jpg', 2), ('/mnt/data/13062025/07/22/image_13062025_07_22_24_10106.jpg', 2), ('/mnt/data/13062025/07/22/image_13062025_07_22_14_10121.jpg', 2), ('/mnt/data/13062025/07/21/image_13062025_07_22_04_9416.jpg', 2), ('/mnt/data/13062025/07/21/image_13062025_07_21_54_10193.jpg', 2), ('/mnt/data/13062025/07/21/image_13062025_07_21_44_10149.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/22/image_13062025_07_22_34_10161.jpg', '/mnt/data/13062025/07/22/image_13062025_07_22_24_10106.jpg', '/mnt/data/13062025/07/22/image_13062025_07_22_14_10121.jpg', '/mnt/data/13062025/07/21/image_13062025_07_22_04_9416.jpg', '/mnt/data/13062025/07/21/image_13062025_07_21_54_10193.jpg', '/mnt/data/13062025/07/21/image_13062025_07_21_44_10149.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/22/image_13062025_07_22_34_10161.jpg', '/mnt/data/13062025/07/22/image_13062025_07_22_24_10106.jpg', '/mnt/data/13062025/07/22/image_13062025_07_22_14_10121.jpg', '/mnt/data/13062025/07/21/image_13062025_07_22_04_9416.jpg', '/mnt/data/13062025/07/21/image_13062025_07_21_54_10193.jpg', '/mnt/data/13062025/07/21/image_13062025_07_21_44_10149.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/22/image_13062025_07_22_34_10161.jpg
/mnt/data/13062025/07/22/image_13062025_07_22_24_10106.jpg
/mnt/data/13062025/07/22/image_13062025_07_22_14_10121.jpg
/mnt/data/13062025/07/21/image_13062025_07_22_04_9416.jpg
/mnt/data/13062025/07/21/image_13062025_07_21_54_10193.jpg
/mnt/data/13062025/07/21/image_13062025_07_21_44_10149.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375697468","1375697461","1375697473","1375697427","1375697471","1375697465"],"photo_ids_order":["1375697427","1375697461","1375697465","1375697468","1375697471","1375697473"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/96df59dfa6ae9a88e306b417c9a91319.jpg","text":"TemporaryFile(/tmp/multipartBody7990119707479802103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579413768,"filename":"image_13062025_07_22_04_9416.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/ef37c81cd94bd8f43e678e5b2f067964.jpg","text":"TemporaryFile(/tmp/multipartBody5107754838816742727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579413768,"filename":"image_13062025_07_22_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/7/73c9345b5a1e799897ecbe7d0b5d8d16.jpg","text":"TemporaryFile(/tmp/multipartBody8299708295467279537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579413768,"filename":"image_13062025_07_21_44_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/7/56dd73ee8df0e09d73f305a12c941ee2.jpg","text":"TemporaryFile(/tmp/multipartBody6589797486176434959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579413768,"filename":"image_13062025_07_22_34_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/7/42875540f3c9aaed807a945370a08ef9.jpg","text":"TemporaryFile(/tmp/multipartBody96414301036160742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579413768,"filename":"image_13062025_07_21_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/7/b0d6bf389786c590ef5dc6339491c1f2.jpg","text":"TemporaryFile(/tmp/multipartBody5759724930890647814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579413768,"filename":"image_13062025_07_22_14_10121.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375697465","file1":"1375697461","file0":"1375697427","file4":"1375697471","file5":"1375697473","file3":"1375697468"},"map_files_photo_id_array":[{"photo_id":"1375697473","filename":"file5"},{"photo_id":"1375697465","filename":"file2"},{"photo_id":"1375697471","filename":"file4"},{"photo_id":"1375697461","filename":"file1"},{"photo_id":"1375697427","filename":"file0"},{"photo_id":"1375697468","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375697468":["hashtag1","hashtag2"]},{"1375697461":["hashtag1","hashtag2"]},{"1375697473":["hashtag1","hashtag2"]},{"1375697427":["hashtag1","hashtag2"]},{"1375697471":["hashtag1","hashtag2"]},{"1375697465":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375697468, 1375697461, 1375697473, 1375697427, 1375697471, 1375697465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.66336917877197 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:10:03.380421
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/21/image_13062025_07_21_34_10213.jpg', 2), ('/mnt/data/13062025/07/21/image_13062025_07_21_24_9090.jpg', 2), ('/mnt/data/13062025/07/21/image_13062025_07_21_15_10108.jpg', 2), ('/mnt/data/13062025/07/20/image_13062025_07_21_05_10410.jpg', 2), ('/mnt/data/13062025/07/20/image_13062025_07_20_54_10095.jpg', 2), ('/mnt/data/13062025/07/19/image_13062025_07_19_25_10055.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/21/image_13062025_07_21_34_10213.jpg', '/mnt/data/13062025/07/21/image_13062025_07_21_24_9090.jpg', '/mnt/data/13062025/07/21/image_13062025_07_21_15_10108.jpg', '/mnt/data/13062025/07/20/image_13062025_07_21_05_10410.jpg', '/mnt/data/13062025/07/20/image_13062025_07_20_54_10095.jpg', '/mnt/data/13062025/07/19/image_13062025_07_19_25_10055.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/21/image_13062025_07_21_34_10213.jpg', '/mnt/data/13062025/07/21/image_13062025_07_21_24_9090.jpg', '/mnt/data/13062025/07/21/image_13062025_07_21_15_10108.jpg', '/mnt/data/13062025/07/20/image_13062025_07_21_05_10410.jpg', '/mnt/data/13062025/07/20/image_13062025_07_20_54_10095.jpg', '/mnt/data/13062025/07/19/image_13062025_07_19_25_10055.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/21/image_13062025_07_21_34_10213.jpg
/mnt/data/13062025/07/21/image_13062025_07_21_24_9090.jpg
/mnt/data/13062025/07/21/image_13062025_07_21_15_10108.jpg
/mnt/data/13062025/07/20/image_13062025_07_21_05_10410.jpg
/mnt/data/13062025/07/20/image_13062025_07_20_54_10095.jpg
/mnt/data/13062025/07/19/image_13062025_07_19_25_10055.jpg
uploaded 0 photos
time to upload: 30.4519624710083 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:11:03.249225
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/21/image_13062025_07_21_34_10213.jpg', 2), ('/mnt/data/13062025/07/21/image_13062025_07_21_24_9090.jpg', 2), ('/mnt/data/13062025/07/21/image_13062025_07_21_15_10108.jpg', 2), ('/mnt/data/13062025/07/20/image_13062025_07_21_05_10410.jpg', 2), ('/mnt/data/13062025/07/20/image_13062025_07_20_54_10095.jpg', 2), ('/mnt/data/13062025/07/19/image_13062025_07_19_25_10055.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/21/image_13062025_07_21_34_10213.jpg', '/mnt/data/13062025/07/21/image_13062025_07_21_24_9090.jpg', '/mnt/data/13062025/07/21/image_13062025_07_21_15_10108.jpg', '/mnt/data/13062025/07/20/image_13062025_07_21_05_10410.jpg', '/mnt/data/13062025/07/20/image_13062025_07_20_54_10095.jpg', '/mnt/data/13062025/07/19/image_13062025_07_19_25_10055.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/21/image_13062025_07_21_34_10213.jpg', '/mnt/data/13062025/07/21/image_13062025_07_21_24_9090.jpg', '/mnt/data/13062025/07/21/image_13062025_07_21_15_10108.jpg', '/mnt/data/13062025/07/20/image_13062025_07_21_05_10410.jpg', '/mnt/data/13062025/07/20/image_13062025_07_20_54_10095.jpg', '/mnt/data/13062025/07/19/image_13062025_07_19_25_10055.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/21/image_13062025_07_21_34_10213.jpg
/mnt/data/13062025/07/21/image_13062025_07_21_24_9090.jpg
/mnt/data/13062025/07/21/image_13062025_07_21_15_10108.jpg
/mnt/data/13062025/07/20/image_13062025_07_21_05_10410.jpg
/mnt/data/13062025/07/20/image_13062025_07_20_54_10095.jpg
/mnt/data/13062025/07/19/image_13062025_07_19_25_10055.jpg
uploaded 0 photos
time to upload: 30.36321997642517 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:12:03.069972
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/21/image_13062025_07_21_34_10213.jpg', 2), ('/mnt/data/13062025/07/21/image_13062025_07_21_24_9090.jpg', 2), ('/mnt/data/13062025/07/21/image_13062025_07_21_15_10108.jpg', 2), ('/mnt/data/13062025/07/20/image_13062025_07_21_05_10410.jpg', 2), ('/mnt/data/13062025/07/20/image_13062025_07_20_54_10095.jpg', 2), ('/mnt/data/13062025/07/19/image_13062025_07_19_25_10055.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/21/image_13062025_07_21_34_10213.jpg', '/mnt/data/13062025/07/21/image_13062025_07_21_24_9090.jpg', '/mnt/data/13062025/07/21/image_13062025_07_21_15_10108.jpg', '/mnt/data/13062025/07/20/image_13062025_07_21_05_10410.jpg', '/mnt/data/13062025/07/20/image_13062025_07_20_54_10095.jpg', '/mnt/data/13062025/07/19/image_13062025_07_19_25_10055.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/21/image_13062025_07_21_34_10213.jpg', '/mnt/data/13062025/07/21/image_13062025_07_21_24_9090.jpg', '/mnt/data/13062025/07/21/image_13062025_07_21_15_10108.jpg', '/mnt/data/13062025/07/20/image_13062025_07_21_05_10410.jpg', '/mnt/data/13062025/07/20/image_13062025_07_20_54_10095.jpg', '/mnt/data/13062025/07/19/image_13062025_07_19_25_10055.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/21/image_13062025_07_21_34_10213.jpg
/mnt/data/13062025/07/21/image_13062025_07_21_24_9090.jpg
/mnt/data/13062025/07/21/image_13062025_07_21_15_10108.jpg
/mnt/data/13062025/07/20/image_13062025_07_21_05_10410.jpg
/mnt/data/13062025/07/20/image_13062025_07_20_54_10095.jpg
/mnt/data/13062025/07/19/image_13062025_07_19_25_10055.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375697753","1375697764","1375697769","1375697748","1375697757","1375697762"],"photo_ids_order":["1375697748","1375697753","1375697757","1375697762","1375697764","1375697769"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/9133b29aaa50d3d81d99cd70f51831fe.jpg","text":"TemporaryFile(/tmp/multipartBody562819109487593617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579599109,"filename":"image_13062025_07_21_24_9090.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/f0747f97eb4ce3d3a775e004a14ad001.jpg","text":"TemporaryFile(/tmp/multipartBody5781922287851603857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579599109,"filename":"image_13062025_07_20_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/7/6129f336883ce39c1be50c2ecbeaca81.jpg","text":"TemporaryFile(/tmp/multipartBody8719241362966410338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579599109,"filename":"image_13062025_07_19_25_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/7/51884fd2db197c894e477ac81d30ca39.jpg","text":"TemporaryFile(/tmp/multipartBody7738054960513861592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579599109,"filename":"image_13062025_07_21_34_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/7/060ad269089cb39d5642e84b69413c57.jpg","text":"TemporaryFile(/tmp/multipartBody881508978123701163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579599109,"filename":"image_13062025_07_21_15_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/7/a190222238f9c821366d0bff5ae1e903.jpg","text":"TemporaryFile(/tmp/multipartBody6409084956883837043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579599109,"filename":"image_13062025_07_21_05_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375697757","file1":"1375697753","file0":"1375697748","file4":"1375697764","file5":"1375697769","file3":"1375697762"},"map_files_photo_id_array":[{"photo_id":"1375697769","filename":"file5"},{"photo_id":"1375697757","filename":"file2"},{"photo_id":"1375697764","filename":"file4"},{"photo_id":"1375697753","filename":"file1"},{"photo_id":"1375697748","filename":"file0"},{"photo_id":"1375697762","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375697753":["hashtag1","hashtag2"]},{"1375697764":["hashtag1","hashtag2"]},{"1375697769":["hashtag1","hashtag2"]},{"1375697748":["hashtag1","hashtag2"]},{"1375697757":["hashtag1","hashtag2"]},{"1375697762":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375697753, 1375697764, 1375697769, 1375697748, 1375697757, 1375697762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.28758931159973 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:13:03.064647
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/19/image_13062025_07_19_15_9932.jpg', 2), ('/mnt/data/13062025/07/18/image_13062025_07_19_05_10140.jpg', 2), ('/mnt/data/13062025/07/18/image_13062025_07_18_44_9938.jpg', 2), ('/mnt/data/13062025/07/17/image_13062025_07_17_44_10098.jpg', 2), ('/mnt/data/13062025/07/17/image_13062025_07_17_34_10134.jpg', 2), ('/mnt/data/13062025/07/17/image_13062025_07_17_24_8927.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/19/image_13062025_07_19_15_9932.jpg', '/mnt/data/13062025/07/18/image_13062025_07_19_05_10140.jpg', '/mnt/data/13062025/07/18/image_13062025_07_18_44_9938.jpg', '/mnt/data/13062025/07/17/image_13062025_07_17_44_10098.jpg', '/mnt/data/13062025/07/17/image_13062025_07_17_34_10134.jpg', '/mnt/data/13062025/07/17/image_13062025_07_17_24_8927.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/19/image_13062025_07_19_15_9932.jpg', '/mnt/data/13062025/07/18/image_13062025_07_19_05_10140.jpg', '/mnt/data/13062025/07/18/image_13062025_07_18_44_9938.jpg', '/mnt/data/13062025/07/17/image_13062025_07_17_44_10098.jpg', '/mnt/data/13062025/07/17/image_13062025_07_17_34_10134.jpg', '/mnt/data/13062025/07/17/image_13062025_07_17_24_8927.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/19/image_13062025_07_19_15_9932.jpg
/mnt/data/13062025/07/18/image_13062025_07_19_05_10140.jpg
/mnt/data/13062025/07/18/image_13062025_07_18_44_9938.jpg
/mnt/data/13062025/07/17/image_13062025_07_17_44_10098.jpg
/mnt/data/13062025/07/17/image_13062025_07_17_34_10134.jpg
/mnt/data/13062025/07/17/image_13062025_07_17_24_8927.jpg
uploaded 0 photos
time to upload: 19.69989013671875 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-07 17:14:02.653900
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/19/image_13062025_07_19_15_9932.jpg', 2), ('/mnt/data/13062025/07/18/image_13062025_07_19_05_10140.jpg', 2), ('/mnt/data/13062025/07/18/image_13062025_07_18_44_9938.jpg', 2), ('/mnt/data/13062025/07/17/image_13062025_07_17_44_10098.jpg', 2), ('/mnt/data/13062025/07/17/image_13062025_07_17_34_10134.jpg', 2), ('/mnt/data/13062025/07/17/image_13062025_07_17_24_8927.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/19/image_13062025_07_19_15_9932.jpg', '/mnt/data/13062025/07/18/image_13062025_07_19_05_10140.jpg', '/mnt/data/13062025/07/18/image_13062025_07_18_44_9938.jpg', '/mnt/data/13062025/07/17/image_13062025_07_17_44_10098.jpg', '/mnt/data/13062025/07/17/image_13062025_07_17_34_10134.jpg', '/mnt/data/13062025/07/17/image_13062025_07_17_24_8927.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/19/image_13062025_07_19_15_9932.jpg', '/mnt/data/13062025/07/18/image_13062025_07_19_05_10140.jpg', '/mnt/data/13062025/07/18/image_13062025_07_18_44_9938.jpg', '/mnt/data/13062025/07/17/image_13062025_07_17_44_10098.jpg', '/mnt/data/13062025/07/17/image_13062025_07_17_34_10134.jpg', '/mnt/data/13062025/07/17/image_13062025_07_17_24_8927.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/19/image_13062025_07_19_15_9932.jpg
/mnt/data/13062025/07/18/image_13062025_07_19_05_10140.jpg
/mnt/data/13062025/07/18/image_13062025_07_18_44_9938.jpg
/mnt/data/13062025/07/17/image_13062025_07_17_44_10098.jpg
/mnt/data/13062025/07/17/image_13062025_07_17_34_10134.jpg
/mnt/data/13062025/07/17/image_13062025_07_17_24_8927.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 12.980129480361938 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-07 17:15:02.908519
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/19/image_13062025_07_19_15_9932.jpg', 2), ('/mnt/data/13062025/07/18/image_13062025_07_19_05_10140.jpg', 2), ('/mnt/data/13062025/07/18/image_13062025_07_18_44_9938.jpg', 2), ('/mnt/data/13062025/07/17/image_13062025_07_17_44_10098.jpg', 2), ('/mnt/data/13062025/07/17/image_13062025_07_17_34_10134.jpg', 2), ('/mnt/data/13062025/07/17/image_13062025_07_17_24_8927.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/19/image_13062025_07_19_15_9932.jpg', '/mnt/data/13062025/07/18/image_13062025_07_19_05_10140.jpg', '/mnt/data/13062025/07/18/image_13062025_07_18_44_9938.jpg', '/mnt/data/13062025/07/17/image_13062025_07_17_44_10098.jpg', '/mnt/data/13062025/07/17/image_13062025_07_17_34_10134.jpg', '/mnt/data/13062025/07/17/image_13062025_07_17_24_8927.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/19/image_13062025_07_19_15_9932.jpg', '/mnt/data/13062025/07/18/image_13062025_07_19_05_10140.jpg', '/mnt/data/13062025/07/18/image_13062025_07_18_44_9938.jpg', '/mnt/data/13062025/07/17/image_13062025_07_17_44_10098.jpg', '/mnt/data/13062025/07/17/image_13062025_07_17_34_10134.jpg', '/mnt/data/13062025/07/17/image_13062025_07_17_24_8927.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/19/image_13062025_07_19_15_9932.jpg
/mnt/data/13062025/07/18/image_13062025_07_19_05_10140.jpg
/mnt/data/13062025/07/18/image_13062025_07_18_44_9938.jpg
/mnt/data/13062025/07/17/image_13062025_07_17_44_10098.jpg
/mnt/data/13062025/07/17/image_13062025_07_17_34_10134.jpg
/mnt/data/13062025/07/17/image_13062025_07_17_24_8927.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":["1375697878","1375697869","1375697885","1375697873","1375697882","1375697876"],"photo_ids_order":["1375697869","1375697873","1375697876","1375697878","1375697882","1375697885"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/77511397b10c2678cc93d9db54e03ce9.jpg","text":"TemporaryFile(/tmp/multipartBody2622427157148269893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579784136,"filename":"image_13062025_07_17_44_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/7/2a98e244b3e42fb9c292ce12ab4e8041.jpg","text":"TemporaryFile(/tmp/multipartBody3967500824730398122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579784136,"filename":"image_13062025_07_19_15_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/7/904004dbe270e38a64728f7c825e9ebc.jpg","text":"TemporaryFile(/tmp/multipartBody7546783448885455696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579784136,"filename":"image_13062025_07_17_24_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/7/9ec70e03b6ceb14a509426f0be3af17e.jpg","text":"TemporaryFile(/tmp/multipartBody3235679878020270251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579784136,"filename":"image_13062025_07_19_05_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/7/dbb00c0568a82ea2181ba5edcc405345.jpg","text":"TemporaryFile(/tmp/multipartBody2327126845333297389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579784136,"filename":"image_13062025_07_17_34_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/7/ad28988207394f5265c22785db4b5cea.jpg","text":"TemporaryFile(/tmp/multipartBody6201562065607693626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579784136,"filename":"image_13062025_07_18_44_9938.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375697876","file1":"1375697873","file0":"1375697869","file4":"1375697882","file5":"1375697885","file3":"1375697878"},"map_files_photo_id_array":[{"photo_id":"1375697885","filename":"file5"},{"photo_id":"1375697876","filename":"file2"},{"photo_id":"1375697882","filename":"file4"},{"photo_id":"1375697873","filename":"file1"},{"photo_id":"1375697869","filename":"file0"},{"photo_id":"1375697878","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375697878":["hashtag1","hashtag2"]},{"1375697869":["hashtag1","hashtag2"]},{"1375697885":["hashtag1","hashtag2"]},{"1375697873":["hashtag1","hashtag2"]},{"1375697882":["hashtag1","hashtag2"]},{"1375697876":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375697878, 1375697869, 1375697885, 1375697873, 1375697882, 1375697876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.98960089683533 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:17:03.521116
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/17/image_13062025_07_17_15_9952.jpg', 2), ('/mnt/data/13062025/07/16/image_13062025_07_17_05_10175.jpg', 2), ('/mnt/data/13062025/07/16/image_13062025_07_16_55_10159.jpg', 2), ('/mnt/data/13062025/07/16/image_13062025_07_16_45_10168.jpg', 2), ('/mnt/data/13062025/07/16/image_13062025_07_16_34_10158.jpg', 2), ('/mnt/data/13062025/07/16/image_13062025_07_16_24_10143.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/17/image_13062025_07_17_15_9952.jpg', '/mnt/data/13062025/07/16/image_13062025_07_17_05_10175.jpg', '/mnt/data/13062025/07/16/image_13062025_07_16_55_10159.jpg', '/mnt/data/13062025/07/16/image_13062025_07_16_45_10168.jpg', '/mnt/data/13062025/07/16/image_13062025_07_16_34_10158.jpg', '/mnt/data/13062025/07/16/image_13062025_07_16_24_10143.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/17/image_13062025_07_17_15_9952.jpg', '/mnt/data/13062025/07/16/image_13062025_07_17_05_10175.jpg', '/mnt/data/13062025/07/16/image_13062025_07_16_55_10159.jpg', '/mnt/data/13062025/07/16/image_13062025_07_16_45_10168.jpg', '/mnt/data/13062025/07/16/image_13062025_07_16_34_10158.jpg', '/mnt/data/13062025/07/16/image_13062025_07_16_24_10143.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/17/image_13062025_07_17_15_9952.jpg
/mnt/data/13062025/07/16/image_13062025_07_17_05_10175.jpg
/mnt/data/13062025/07/16/image_13062025_07_16_55_10159.jpg
/mnt/data/13062025/07/16/image_13062025_07_16_45_10168.jpg
/mnt/data/13062025/07/16/image_13062025_07_16_34_10158.jpg
/mnt/data/13062025/07/16/image_13062025_07_16_24_10143.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375698913","1375698813","1375698971","1375698851","1375698953","1375698962"],"photo_ids_order":["1375698813","1375698851","1375698913","1375698953","1375698962","1375698971"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/dfea9252a5a8f8149ff4f0d7ebb81ebf.jpg","text":"TemporaryFile(/tmp/multipartBody6218789512565479833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579900143,"filename":"image_13062025_07_16_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/7/813af50df53aeaabb2df4be07c9680b1.jpg","text":"TemporaryFile(/tmp/multipartBody8469313741196259758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579900143,"filename":"image_13062025_07_17_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/7/a4ee28246bf747360feaf51230aecb84.jpg","text":"TemporaryFile(/tmp/multipartBody7948680369417598814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579900143,"filename":"image_13062025_07_16_24_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/7/71949e5b8258bd2c9954cb1060198708.jpg","text":"TemporaryFile(/tmp/multipartBody297565964565019577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579900143,"filename":"image_13062025_07_17_05_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/7/9a473548b8e1276eca322c0931bc0551.jpg","text":"TemporaryFile(/tmp/multipartBody1490630398253213869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579900143,"filename":"image_13062025_07_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/7/7e5b1f84cad16fb5e308e4aaca070f54.jpg","text":"TemporaryFile(/tmp/multipartBody7051252927692231938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579900143,"filename":"image_13062025_07_16_34_10158.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375698913","file1":"1375698851","file0":"1375698813","file4":"1375698962","file5":"1375698971","file3":"1375698953"},"map_files_photo_id_array":[{"photo_id":"1375698971","filename":"file5"},{"photo_id":"1375698913","filename":"file2"},{"photo_id":"1375698962","filename":"file4"},{"photo_id":"1375698851","filename":"file1"},{"photo_id":"1375698813","filename":"file0"},{"photo_id":"1375698953","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375698913":["hashtag1","hashtag2"]},{"1375698813":["hashtag1","hashtag2"]},{"1375698971":["hashtag1","hashtag2"]},{"1375698851":["hashtag1","hashtag2"]},{"1375698953":["hashtag1","hashtag2"]},{"1375698962":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375698913, 1375698813, 1375698971, 1375698851, 1375698953, 1375698962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.89204931259155 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:18:03.211836
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/16/image_13062025_07_16_14_10074.jpg', 2), ('/mnt/data/13062025/07/15/image_13062025_07_16_04_10161.jpg', 2), ('/mnt/data/13062025/07/15/image_13062025_07_15_54_9964.jpg', 2), ('/mnt/data/13062025/07/14/image_13062025_07_14_44_9934.jpg', 2), ('/mnt/data/13062025/07/14/image_13062025_07_14_34_9970.jpg', 2), ('/mnt/data/13062025/07/14/image_13062025_07_14_24_9950.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/16/image_13062025_07_16_14_10074.jpg', '/mnt/data/13062025/07/15/image_13062025_07_16_04_10161.jpg', '/mnt/data/13062025/07/15/image_13062025_07_15_54_9964.jpg', '/mnt/data/13062025/07/14/image_13062025_07_14_44_9934.jpg', '/mnt/data/13062025/07/14/image_13062025_07_14_34_9970.jpg', '/mnt/data/13062025/07/14/image_13062025_07_14_24_9950.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/16/image_13062025_07_16_14_10074.jpg', '/mnt/data/13062025/07/15/image_13062025_07_16_04_10161.jpg', '/mnt/data/13062025/07/15/image_13062025_07_15_54_9964.jpg', '/mnt/data/13062025/07/14/image_13062025_07_14_44_9934.jpg', '/mnt/data/13062025/07/14/image_13062025_07_14_34_9970.jpg', '/mnt/data/13062025/07/14/image_13062025_07_14_24_9950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/16/image_13062025_07_16_14_10074.jpg
/mnt/data/13062025/07/15/image_13062025_07_16_04_10161.jpg
/mnt/data/13062025/07/15/image_13062025_07_15_54_9964.jpg
/mnt/data/13062025/07/14/image_13062025_07_14_44_9934.jpg
/mnt/data/13062025/07/14/image_13062025_07_14_34_9970.jpg
/mnt/data/13062025/07/14/image_13062025_07_14_24_9950.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375699094","1375699034","1375699099","1375699001","1375699096","1375699069"],"photo_ids_order":["1375699001","1375699034","1375699069","1375699094","1375699096","1375699099"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d49262d5f7284118e700919efe3d6ae9.jpg","text":"TemporaryFile(/tmp/multipartBody8656251754318552340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579953987,"filename":"image_13062025_07_14_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/7/c6f81edab8e2769bf8297acd2f3049db.jpg","text":"TemporaryFile(/tmp/multipartBody8835137534427382807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579953987,"filename":"image_13062025_07_16_04_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/7/3209e48b067691bbe6e9e2b98b3600f4.jpg","text":"TemporaryFile(/tmp/multipartBody3611812164208874179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579953987,"filename":"image_13062025_07_14_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/7/9f82daf51e8fd7930a0cb2105d0d3180.jpg","text":"TemporaryFile(/tmp/multipartBody4621112043508316035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579953987,"filename":"image_13062025_07_16_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/7/2d3bc89fd215aaab9d43e907cb161586.jpg","text":"TemporaryFile(/tmp/multipartBody7677803965483313735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579953987,"filename":"image_13062025_07_14_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/7/0c3e1bad7db62f77a981bffa85ad2f34.jpg","text":"TemporaryFile(/tmp/multipartBody3472730751317668934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754579953987,"filename":"image_13062025_07_15_54_9964.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375699069","file1":"1375699034","file0":"1375699001","file4":"1375699096","file5":"1375699099","file3":"1375699094"},"map_files_photo_id_array":[{"photo_id":"1375699099","filename":"file5"},{"photo_id":"1375699069","filename":"file2"},{"photo_id":"1375699096","filename":"file4"},{"photo_id":"1375699034","filename":"file1"},{"photo_id":"1375699001","filename":"file0"},{"photo_id":"1375699094","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375699094":["hashtag1","hashtag2"]},{"1375699034":["hashtag1","hashtag2"]},{"1375699099":["hashtag1","hashtag2"]},{"1375699001":["hashtag1","hashtag2"]},{"1375699096":["hashtag1","hashtag2"]},{"1375699069":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375699094, 1375699034, 1375699099, 1375699001, 1375699096, 1375699069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.76336431503296 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:19:03.370415
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/14/image_13062025_07_14_14_9954.jpg', 2), ('/mnt/data/13062025/07/13/image_13062025_07_14_04_10174.jpg', 2), ('/mnt/data/13062025/07/13/image_13062025_07_13_54_9965.jpg', 2), ('/mnt/data/13062025/07/13/image_13062025_07_13_44_9993.jpg', 2), ('/mnt/data/13062025/07/13/image_13062025_07_13_34_10059.jpg', 2), ('/mnt/data/13062025/07/13/image_13062025_07_13_24_9954.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/14/image_13062025_07_14_14_9954.jpg', '/mnt/data/13062025/07/13/image_13062025_07_14_04_10174.jpg', '/mnt/data/13062025/07/13/image_13062025_07_13_54_9965.jpg', '/mnt/data/13062025/07/13/image_13062025_07_13_44_9993.jpg', '/mnt/data/13062025/07/13/image_13062025_07_13_34_10059.jpg', '/mnt/data/13062025/07/13/image_13062025_07_13_24_9954.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/14/image_13062025_07_14_14_9954.jpg', '/mnt/data/13062025/07/13/image_13062025_07_14_04_10174.jpg', '/mnt/data/13062025/07/13/image_13062025_07_13_54_9965.jpg', '/mnt/data/13062025/07/13/image_13062025_07_13_44_9993.jpg', '/mnt/data/13062025/07/13/image_13062025_07_13_34_10059.jpg', '/mnt/data/13062025/07/13/image_13062025_07_13_24_9954.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/14/image_13062025_07_14_14_9954.jpg
/mnt/data/13062025/07/13/image_13062025_07_14_04_10174.jpg
/mnt/data/13062025/07/13/image_13062025_07_13_54_9965.jpg
/mnt/data/13062025/07/13/image_13062025_07_13_44_9993.jpg
/mnt/data/13062025/07/13/image_13062025_07_13_34_10059.jpg
/mnt/data/13062025/07/13/image_13062025_07_13_24_9954.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":["1375699641","1375699464","1375699521","1375699602","1375699559","1375699433"],"photo_ids_order":["1375699433","1375699464","1375699521","1375699559","1375699602","1375699641"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/344eec6de2f1028b3f70ffe2ed8842b8.jpg","text":"TemporaryFile(/tmp/multipartBody3580656092192535946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580023743,"filename":"image_13062025_07_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/7/b05b6ac5fb1e7ed469306f3275962166.jpg","text":"TemporaryFile(/tmp/multipartBody1834427042641900198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580023743,"filename":"image_13062025_07_14_04_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/7/a4eac995ced4173ae7482b2160c29c70.jpg","text":"TemporaryFile(/tmp/multipartBody7494058638910792571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580023743,"filename":"image_13062025_07_13_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/7/ef85573c80e0ba4e26dc45acb4439bce.jpg","text":"TemporaryFile(/tmp/multipartBody6491658462622593929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580023743,"filename":"image_13062025_07_13_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/7/b632d45ce48dcf69b6765fe4ddc13e1a.jpg","text":"TemporaryFile(/tmp/multipartBody1362570355103625543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580023743,"filename":"image_13062025_07_13_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/7/27c9a23cf9c96482f473128132ef9ede.jpg","text":"TemporaryFile(/tmp/multipartBody6191709326811256274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580023743,"filename":"image_13062025_07_14_14_9954.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375699521","file1":"1375699464","file0":"1375699433","file4":"1375699602","file5":"1375699641","file3":"1375699559"},"map_files_photo_id_array":[{"photo_id":"1375699641","filename":"file5"},{"photo_id":"1375699521","filename":"file2"},{"photo_id":"1375699602","filename":"file4"},{"photo_id":"1375699464","filename":"file1"},{"photo_id":"1375699433","filename":"file0"},{"photo_id":"1375699559","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375699641":["hashtag1","hashtag2"]},{"1375699464":["hashtag1","hashtag2"]},{"1375699521":["hashtag1","hashtag2"]},{"1375699602":["hashtag1","hashtag2"]},{"1375699559":["hashtag1","hashtag2"]},{"1375699433":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375699641, 1375699464, 1375699521, 1375699602, 1375699559, 1375699433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.57643818855286 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:21:03.300329
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/13/image_13062025_07_13_14_10096.jpg', 2), ('/mnt/data/13062025/07/12/image_13062025_07_13_04_8927.jpg', 2), ('/mnt/data/13062025/07/12/image_13062025_07_12_55_10196.jpg', 2), ('/mnt/data/13062025/07/12/image_13062025_07_12_45_10326.jpg', 2), ('/mnt/data/13062025/07/12/image_13062025_07_12_34_10161.jpg', 2), ('/mnt/data/13062025/07/12/image_13062025_07_12_24_9912.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/13/image_13062025_07_13_14_10096.jpg', '/mnt/data/13062025/07/12/image_13062025_07_13_04_8927.jpg', '/mnt/data/13062025/07/12/image_13062025_07_12_55_10196.jpg', '/mnt/data/13062025/07/12/image_13062025_07_12_45_10326.jpg', '/mnt/data/13062025/07/12/image_13062025_07_12_34_10161.jpg', '/mnt/data/13062025/07/12/image_13062025_07_12_24_9912.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/13/image_13062025_07_13_14_10096.jpg', '/mnt/data/13062025/07/12/image_13062025_07_13_04_8927.jpg', '/mnt/data/13062025/07/12/image_13062025_07_12_55_10196.jpg', '/mnt/data/13062025/07/12/image_13062025_07_12_45_10326.jpg', '/mnt/data/13062025/07/12/image_13062025_07_12_34_10161.jpg', '/mnt/data/13062025/07/12/image_13062025_07_12_24_9912.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/13/image_13062025_07_13_14_10096.jpg
/mnt/data/13062025/07/12/image_13062025_07_13_04_8927.jpg
/mnt/data/13062025/07/12/image_13062025_07_12_55_10196.jpg
/mnt/data/13062025/07/12/image_13062025_07_12_45_10326.jpg
/mnt/data/13062025/07/12/image_13062025_07_12_34_10161.jpg
/mnt/data/13062025/07/12/image_13062025_07_12_24_9912.jpg
uploaded 0 photos
time to upload: 30.45599341392517 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:22:02.979628
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/13/image_13062025_07_13_14_10096.jpg', 2), ('/mnt/data/13062025/07/12/image_13062025_07_13_04_8927.jpg', 2), ('/mnt/data/13062025/07/12/image_13062025_07_12_55_10196.jpg', 2), ('/mnt/data/13062025/07/12/image_13062025_07_12_45_10326.jpg', 2), ('/mnt/data/13062025/07/12/image_13062025_07_12_34_10161.jpg', 2), ('/mnt/data/13062025/07/12/image_13062025_07_12_24_9912.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/13/image_13062025_07_13_14_10096.jpg', '/mnt/data/13062025/07/12/image_13062025_07_13_04_8927.jpg', '/mnt/data/13062025/07/12/image_13062025_07_12_55_10196.jpg', '/mnt/data/13062025/07/12/image_13062025_07_12_45_10326.jpg', '/mnt/data/13062025/07/12/image_13062025_07_12_34_10161.jpg', '/mnt/data/13062025/07/12/image_13062025_07_12_24_9912.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/13/image_13062025_07_13_14_10096.jpg', '/mnt/data/13062025/07/12/image_13062025_07_13_04_8927.jpg', '/mnt/data/13062025/07/12/image_13062025_07_12_55_10196.jpg', '/mnt/data/13062025/07/12/image_13062025_07_12_45_10326.jpg', '/mnt/data/13062025/07/12/image_13062025_07_12_34_10161.jpg', '/mnt/data/13062025/07/12/image_13062025_07_12_24_9912.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/13/image_13062025_07_13_14_10096.jpg
/mnt/data/13062025/07/12/image_13062025_07_13_04_8927.jpg
/mnt/data/13062025/07/12/image_13062025_07_12_55_10196.jpg
/mnt/data/13062025/07/12/image_13062025_07_12_45_10326.jpg
/mnt/data/13062025/07/12/image_13062025_07_12_34_10161.jpg
/mnt/data/13062025/07/12/image_13062025_07_12_24_9912.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":["1375700055","1375700046","1375700051","1375700048","1375700057","1375700041"],"photo_ids_order":["1375700041","1375700046","1375700048","1375700051","1375700055","1375700057"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/bceeab929cf1de5f3b2bd875abc08670.jpg","text":"TemporaryFile(/tmp/multipartBody5318775092129290921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580211903,"filename":"image_13062025_07_12_34_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/7/db096b7886e434e6a434a23f4cd852e1.jpg","text":"TemporaryFile(/tmp/multipartBody2461849778511450504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580211903,"filename":"image_13062025_07_13_04_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/7/e8b33d9f9f093345e2a57facdce392a8.jpg","text":"TemporaryFile(/tmp/multipartBody2572133084159346043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580211903,"filename":"image_13062025_07_12_45_10326.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/08b072fdd3b4f6280aba1539d042fff4.jpg","text":"TemporaryFile(/tmp/multipartBody8748880631845617903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580211903,"filename":"image_13062025_07_12_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/7/80ba57e2890af2e862164ad431102cfe.jpg","text":"TemporaryFile(/tmp/multipartBody617892962568102669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580211903,"filename":"image_13062025_07_12_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/7/ae085cdb37b40552e993dfc8b022a0e3.jpg","text":"TemporaryFile(/tmp/multipartBody165514242470609237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580211903,"filename":"image_13062025_07_13_14_10096.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375700048","file1":"1375700046","file0":"1375700041","file4":"1375700055","file5":"1375700057","file3":"1375700051"},"map_files_photo_id_array":[{"photo_id":"1375700057","filename":"file5"},{"photo_id":"1375700048","filename":"file2"},{"photo_id":"1375700055","filename":"file4"},{"photo_id":"1375700046","filename":"file1"},{"photo_id":"1375700041","filename":"file0"},{"photo_id":"1375700051","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375700055":["hashtag1","hashtag2"]},{"1375700046":["hashtag1","hashtag2"]},{"1375700051":["hashtag1","hashtag2"]},{"1375700048":["hashtag1","hashtag2"]},{"1375700057":["hashtag1","hashtag2"]},{"1375700041":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375700055, 1375700046, 1375700051, 1375700048, 1375700057, 1375700041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.12149786949158 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:24:03.433335
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/12/image_13062025_07_12_14_10165.jpg', 2), ('/mnt/data/13062025/07/11/image_13062025_07_12_04_9259.jpg', 2), ('/mnt/data/13062025/07/11/image_13062025_07_11_55_10160.jpg', 2), ('/mnt/data/13062025/07/11/image_13062025_07_11_45_10125.jpg', 2), ('/mnt/data/13062025/07/11/image_13062025_07_11_35_10200.jpg', 2), ('/mnt/data/13062025/07/11/image_13062025_07_11_24_10172.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/12/image_13062025_07_12_14_10165.jpg', '/mnt/data/13062025/07/11/image_13062025_07_12_04_9259.jpg', '/mnt/data/13062025/07/11/image_13062025_07_11_55_10160.jpg', '/mnt/data/13062025/07/11/image_13062025_07_11_45_10125.jpg', '/mnt/data/13062025/07/11/image_13062025_07_11_35_10200.jpg', '/mnt/data/13062025/07/11/image_13062025_07_11_24_10172.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/12/image_13062025_07_12_14_10165.jpg', '/mnt/data/13062025/07/11/image_13062025_07_12_04_9259.jpg', '/mnt/data/13062025/07/11/image_13062025_07_11_55_10160.jpg', '/mnt/data/13062025/07/11/image_13062025_07_11_45_10125.jpg', '/mnt/data/13062025/07/11/image_13062025_07_11_35_10200.jpg', '/mnt/data/13062025/07/11/image_13062025_07_11_24_10172.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/12/image_13062025_07_12_14_10165.jpg
/mnt/data/13062025/07/11/image_13062025_07_12_04_9259.jpg
/mnt/data/13062025/07/11/image_13062025_07_11_55_10160.jpg
/mnt/data/13062025/07/11/image_13062025_07_11_45_10125.jpg
/mnt/data/13062025/07/11/image_13062025_07_11_35_10200.jpg
/mnt/data/13062025/07/11/image_13062025_07_11_24_10172.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":["1375700145","1375700139","1375700130","1375700135","1375700125","1375700137"],"photo_ids_order":["1375700125","1375700130","1375700135","1375700137","1375700139","1375700145"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/56b0b585a9484abfcee1af944b01a453.jpg","text":"TemporaryFile(/tmp/multipartBody9095673658284343460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580334680,"filename":"image_13062025_07_11_24_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/7/fedd4bf7beadd3e45e54a10556295181.jpg","text":"TemporaryFile(/tmp/multipartBody8613830570893810506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580334680,"filename":"image_13062025_07_11_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/7/8e6513c8735c98db5b7da56596a1c3b4.jpg","text":"TemporaryFile(/tmp/multipartBody2048170603500010562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580334680,"filename":"image_13062025_07_12_04_9259.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/5f9aaa919d708c4130d9d73949f69f16.jpg","text":"TemporaryFile(/tmp/multipartBody3954641134602067017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580334680,"filename":"image_13062025_07_11_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/7/8a257ec6bf908d39e74b55c79fee9959.jpg","text":"TemporaryFile(/tmp/multipartBody4763970320797670070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580334680,"filename":"image_13062025_07_12_14_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/7/a9988bee802cf3ac54c1ffa780fc5375.jpg","text":"TemporaryFile(/tmp/multipartBody4625478387293096373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580334680,"filename":"image_13062025_07_11_45_10125.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375700135","file1":"1375700130","file0":"1375700125","file4":"1375700139","file5":"1375700145","file3":"1375700137"},"map_files_photo_id_array":[{"photo_id":"1375700145","filename":"file5"},{"photo_id":"1375700135","filename":"file2"},{"photo_id":"1375700139","filename":"file4"},{"photo_id":"1375700130","filename":"file1"},{"photo_id":"1375700125","filename":"file0"},{"photo_id":"1375700137","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375700145":["hashtag1","hashtag2"]},{"1375700139":["hashtag1","hashtag2"]},{"1375700130":["hashtag1","hashtag2"]},{"1375700135":["hashtag1","hashtag2"]},{"1375700125":["hashtag1","hashtag2"]},{"1375700137":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375700145, 1375700139, 1375700130, 1375700135, 1375700125, 1375700137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.01074981689453 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:26:02.764793
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/11/image_13062025_07_11_14_10211.jpg', 2), ('/mnt/data/13062025/07/10/image_13062025_07_11_04_10221.jpg', 2), ('/mnt/data/13062025/07/10/image_13062025_07_10_54_8909.jpg', 2), ('/mnt/data/13062025/07/09/image_13062025_07_09_44_10092.jpg', 2), ('/mnt/data/13062025/07/09/image_13062025_07_09_34_9987.jpg', 2), ('/mnt/data/13062025/07/09/image_13062025_07_09_24_10083.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/11/image_13062025_07_11_14_10211.jpg', '/mnt/data/13062025/07/10/image_13062025_07_11_04_10221.jpg', '/mnt/data/13062025/07/10/image_13062025_07_10_54_8909.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_44_10092.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_34_9987.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_24_10083.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/11/image_13062025_07_11_14_10211.jpg', '/mnt/data/13062025/07/10/image_13062025_07_11_04_10221.jpg', '/mnt/data/13062025/07/10/image_13062025_07_10_54_8909.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_44_10092.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_34_9987.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_24_10083.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/11/image_13062025_07_11_14_10211.jpg
/mnt/data/13062025/07/10/image_13062025_07_11_04_10221.jpg
/mnt/data/13062025/07/10/image_13062025_07_10_54_8909.jpg
/mnt/data/13062025/07/09/image_13062025_07_09_44_10092.jpg
/mnt/data/13062025/07/09/image_13062025_07_09_34_9987.jpg
/mnt/data/13062025/07/09/image_13062025_07_09_24_10083.jpg
uploaded 0 photos
time to upload: 30.440721035003662 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:27:02.818960
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/11/image_13062025_07_11_14_10211.jpg', 2), ('/mnt/data/13062025/07/10/image_13062025_07_11_04_10221.jpg', 2), ('/mnt/data/13062025/07/10/image_13062025_07_10_54_8909.jpg', 2), ('/mnt/data/13062025/07/09/image_13062025_07_09_44_10092.jpg', 2), ('/mnt/data/13062025/07/09/image_13062025_07_09_34_9987.jpg', 2), ('/mnt/data/13062025/07/09/image_13062025_07_09_24_10083.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/11/image_13062025_07_11_14_10211.jpg', '/mnt/data/13062025/07/10/image_13062025_07_11_04_10221.jpg', '/mnt/data/13062025/07/10/image_13062025_07_10_54_8909.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_44_10092.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_34_9987.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_24_10083.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/11/image_13062025_07_11_14_10211.jpg', '/mnt/data/13062025/07/10/image_13062025_07_11_04_10221.jpg', '/mnt/data/13062025/07/10/image_13062025_07_10_54_8909.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_44_10092.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_34_9987.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_24_10083.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/11/image_13062025_07_11_14_10211.jpg
/mnt/data/13062025/07/10/image_13062025_07_11_04_10221.jpg
/mnt/data/13062025/07/10/image_13062025_07_10_54_8909.jpg
/mnt/data/13062025/07/09/image_13062025_07_09_44_10092.jpg
/mnt/data/13062025/07/09/image_13062025_07_09_34_9987.jpg
/mnt/data/13062025/07/09/image_13062025_07_09_24_10083.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-07 17:28:03.153410
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/11/image_13062025_07_11_14_10211.jpg', 2), ('/mnt/data/13062025/07/10/image_13062025_07_11_04_10221.jpg', 2), ('/mnt/data/13062025/07/10/image_13062025_07_10_54_8909.jpg', 2), ('/mnt/data/13062025/07/09/image_13062025_07_09_44_10092.jpg', 2), ('/mnt/data/13062025/07/09/image_13062025_07_09_34_9987.jpg', 2), ('/mnt/data/13062025/07/09/image_13062025_07_09_24_10083.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/11/image_13062025_07_11_14_10211.jpg', '/mnt/data/13062025/07/10/image_13062025_07_11_04_10221.jpg', '/mnt/data/13062025/07/10/image_13062025_07_10_54_8909.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_44_10092.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_34_9987.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_24_10083.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/11/image_13062025_07_11_14_10211.jpg', '/mnt/data/13062025/07/10/image_13062025_07_11_04_10221.jpg', '/mnt/data/13062025/07/10/image_13062025_07_10_54_8909.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_44_10092.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_34_9987.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_24_10083.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/11/image_13062025_07_11_14_10211.jpg
/mnt/data/13062025/07/10/image_13062025_07_11_04_10221.jpg
/mnt/data/13062025/07/10/image_13062025_07_10_54_8909.jpg
/mnt/data/13062025/07/09/image_13062025_07_09_44_10092.jpg
/mnt/data/13062025/07/09/image_13062025_07_09_34_9987.jpg
/mnt/data/13062025/07/09/image_13062025_07_09_24_10083.jpg
uploaded 0 photos
time to upload: 30.378479480743408 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:29:03.515308
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/11/image_13062025_07_11_14_10211.jpg', 2), ('/mnt/data/13062025/07/10/image_13062025_07_11_04_10221.jpg', 2), ('/mnt/data/13062025/07/10/image_13062025_07_10_54_8909.jpg', 2), ('/mnt/data/13062025/07/09/image_13062025_07_09_44_10092.jpg', 2), ('/mnt/data/13062025/07/09/image_13062025_07_09_34_9987.jpg', 2), ('/mnt/data/13062025/07/09/image_13062025_07_09_24_10083.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/11/image_13062025_07_11_14_10211.jpg', '/mnt/data/13062025/07/10/image_13062025_07_11_04_10221.jpg', '/mnt/data/13062025/07/10/image_13062025_07_10_54_8909.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_44_10092.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_34_9987.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_24_10083.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/11/image_13062025_07_11_14_10211.jpg', '/mnt/data/13062025/07/10/image_13062025_07_11_04_10221.jpg', '/mnt/data/13062025/07/10/image_13062025_07_10_54_8909.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_44_10092.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_34_9987.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_24_10083.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/11/image_13062025_07_11_14_10211.jpg
/mnt/data/13062025/07/10/image_13062025_07_11_04_10221.jpg
/mnt/data/13062025/07/10/image_13062025_07_10_54_8909.jpg
/mnt/data/13062025/07/09/image_13062025_07_09_44_10092.jpg
/mnt/data/13062025/07/09/image_13062025_07_09_34_9987.jpg
/mnt/data/13062025/07/09/image_13062025_07_09_24_10083.jpg
uploaded 0 photos
time to upload: 30.372395753860474 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:30:02.642199
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/11/image_13062025_07_11_14_10211.jpg', 2), ('/mnt/data/13062025/07/10/image_13062025_07_11_04_10221.jpg', 2), ('/mnt/data/13062025/07/10/image_13062025_07_10_54_8909.jpg', 2), ('/mnt/data/13062025/07/09/image_13062025_07_09_44_10092.jpg', 2), ('/mnt/data/13062025/07/09/image_13062025_07_09_34_9987.jpg', 2), ('/mnt/data/13062025/07/09/image_13062025_07_09_24_10083.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/11/image_13062025_07_11_14_10211.jpg', '/mnt/data/13062025/07/10/image_13062025_07_11_04_10221.jpg', '/mnt/data/13062025/07/10/image_13062025_07_10_54_8909.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_44_10092.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_34_9987.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_24_10083.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/11/image_13062025_07_11_14_10211.jpg', '/mnt/data/13062025/07/10/image_13062025_07_11_04_10221.jpg', '/mnt/data/13062025/07/10/image_13062025_07_10_54_8909.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_44_10092.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_34_9987.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_24_10083.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/11/image_13062025_07_11_14_10211.jpg
/mnt/data/13062025/07/10/image_13062025_07_11_04_10221.jpg
/mnt/data/13062025/07/10/image_13062025_07_10_54_8909.jpg
/mnt/data/13062025/07/09/image_13062025_07_09_44_10092.jpg
/mnt/data/13062025/07/09/image_13062025_07_09_34_9987.jpg
/mnt/data/13062025/07/09/image_13062025_07_09_24_10083.jpg
uploaded 0 photos
time to upload: 30.36931872367859 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:31:02.899591
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/11/image_13062025_07_11_14_10211.jpg', 2), ('/mnt/data/13062025/07/10/image_13062025_07_11_04_10221.jpg', 2), ('/mnt/data/13062025/07/10/image_13062025_07_10_54_8909.jpg', 2), ('/mnt/data/13062025/07/09/image_13062025_07_09_44_10092.jpg', 2), ('/mnt/data/13062025/07/09/image_13062025_07_09_34_9987.jpg', 2), ('/mnt/data/13062025/07/09/image_13062025_07_09_24_10083.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/11/image_13062025_07_11_14_10211.jpg', '/mnt/data/13062025/07/10/image_13062025_07_11_04_10221.jpg', '/mnt/data/13062025/07/10/image_13062025_07_10_54_8909.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_44_10092.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_34_9987.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_24_10083.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/11/image_13062025_07_11_14_10211.jpg', '/mnt/data/13062025/07/10/image_13062025_07_11_04_10221.jpg', '/mnt/data/13062025/07/10/image_13062025_07_10_54_8909.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_44_10092.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_34_9987.jpg', '/mnt/data/13062025/07/09/image_13062025_07_09_24_10083.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/11/image_13062025_07_11_14_10211.jpg
/mnt/data/13062025/07/10/image_13062025_07_11_04_10221.jpg
/mnt/data/13062025/07/10/image_13062025_07_10_54_8909.jpg
/mnt/data/13062025/07/09/image_13062025_07_09_44_10092.jpg
/mnt/data/13062025/07/09/image_13062025_07_09_34_9987.jpg
/mnt/data/13062025/07/09/image_13062025_07_09_24_10083.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375700664","1375700544","1375700639","1375700606","1375700584","1375700488"],"photo_ids_order":["1375700488","1375700544","1375700584","1375700606","1375700639","1375700664"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/9e02a4fee9a187f3400d4a6f9732702f.jpg","text":"TemporaryFile(/tmp/multipartBody1389519930312949226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580733313,"filename":"image_13062025_07_09_24_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/7/b92452d57068cf850a980e4699f59bbf.jpg","text":"TemporaryFile(/tmp/multipartBody2506115743256678254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580733313,"filename":"image_13062025_07_11_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/7/d26b872fe36580d436a7c9c251ee8e5a.jpg","text":"TemporaryFile(/tmp/multipartBody1658776049699104949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580733313,"filename":"image_13062025_07_09_34_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/7/cdfe2f779a7abb26bec2f5284a6cdc8a.jpg","text":"TemporaryFile(/tmp/multipartBody4255535739346911716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580733313,"filename":"image_13062025_07_09_44_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/7/0c0216b9a06608261ee62c1a69e00f09.jpg","text":"TemporaryFile(/tmp/multipartBody5882454720879241282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580733313,"filename":"image_13062025_07_10_54_8909.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/7d4c9abe0c6cf5cf6c03d72296618f5a.jpg","text":"TemporaryFile(/tmp/multipartBody8319413392182078832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580733313,"filename":"image_13062025_07_11_14_10211.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375700584","file1":"1375700544","file0":"1375700488","file4":"1375700639","file5":"1375700664","file3":"1375700606"},"map_files_photo_id_array":[{"photo_id":"1375700664","filename":"file5"},{"photo_id":"1375700584","filename":"file2"},{"photo_id":"1375700639","filename":"file4"},{"photo_id":"1375700544","filename":"file1"},{"photo_id":"1375700488","filename":"file0"},{"photo_id":"1375700606","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375700664":["hashtag1","hashtag2"]},{"1375700544":["hashtag1","hashtag2"]},{"1375700639":["hashtag1","hashtag2"]},{"1375700606":["hashtag1","hashtag2"]},{"1375700584":["hashtag1","hashtag2"]},{"1375700488":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375700664, 1375700544, 1375700639, 1375700606, 1375700584, 1375700488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.88235926628113 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:32:02.502171
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/09/image_13062025_07_09_14_9927.jpg', 2), ('/mnt/data/13062025/07/08/image_13062025_07_09_04_9133.jpg', 2), ('/mnt/data/13062025/07/08/image_13062025_07_08_55_9928.jpg', 2), ('/mnt/data/13062025/07/07/image_13062025_07_07_44_9958.jpg', 2), ('/mnt/data/13062025/07/07/image_13062025_07_07_34_10079.jpg', 2), ('/mnt/data/13062025/07/07/image_13062025_07_07_24_10245.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/09/image_13062025_07_09_14_9927.jpg', '/mnt/data/13062025/07/08/image_13062025_07_09_04_9133.jpg', '/mnt/data/13062025/07/08/image_13062025_07_08_55_9928.jpg', '/mnt/data/13062025/07/07/image_13062025_07_07_44_9958.jpg', '/mnt/data/13062025/07/07/image_13062025_07_07_34_10079.jpg', '/mnt/data/13062025/07/07/image_13062025_07_07_24_10245.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/09/image_13062025_07_09_14_9927.jpg', '/mnt/data/13062025/07/08/image_13062025_07_09_04_9133.jpg', '/mnt/data/13062025/07/08/image_13062025_07_08_55_9928.jpg', '/mnt/data/13062025/07/07/image_13062025_07_07_44_9958.jpg', '/mnt/data/13062025/07/07/image_13062025_07_07_34_10079.jpg', '/mnt/data/13062025/07/07/image_13062025_07_07_24_10245.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/09/image_13062025_07_09_14_9927.jpg
/mnt/data/13062025/07/08/image_13062025_07_09_04_9133.jpg
/mnt/data/13062025/07/08/image_13062025_07_08_55_9928.jpg
/mnt/data/13062025/07/07/image_13062025_07_07_44_9958.jpg
/mnt/data/13062025/07/07/image_13062025_07_07_34_10079.jpg
/mnt/data/13062025/07/07/image_13062025_07_07_24_10245.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375700748","1375700727","1375700735","1375700744","1375700731","1375700740"],"photo_ids_order":["1375700727","1375700731","1375700735","1375700740","1375700744","1375700748"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/8a49d044516934142fbadd5cd904ba19.jpg","text":"TemporaryFile(/tmp/multipartBody4060612048855942604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580799855,"filename":"image_13062025_07_07_24_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/7/005536f1cc60b1fefb1300dbf42988ac.jpg","text":"TemporaryFile(/tmp/multipartBody5652665861491932561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580799855,"filename":"image_13062025_07_09_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/7/6bbc151009a5207651c4ff3cf3674f6d.jpg","text":"TemporaryFile(/tmp/multipartBody3013113031672677082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580799855,"filename":"image_13062025_07_08_55_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/7/2742bf86f72785feb1970d78952e7bc7.jpg","text":"TemporaryFile(/tmp/multipartBody7970447826437389125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580799855,"filename":"image_13062025_07_07_34_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/7/7d2c10b499012bf06e39a3994ff6a61d.jpg","text":"TemporaryFile(/tmp/multipartBody7013767593258615747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580799855,"filename":"image_13062025_07_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/7/45a799d41237fd0189ae2b3ef1c37d60.jpg","text":"TemporaryFile(/tmp/multipartBody545551561137254999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754580799855,"filename":"image_13062025_07_07_44_9958.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375700735","file1":"1375700731","file0":"1375700727","file4":"1375700744","file5":"1375700748","file3":"1375700740"},"map_files_photo_id_array":[{"photo_id":"1375700748","filename":"file5"},{"photo_id":"1375700735","filename":"file2"},{"photo_id":"1375700744","filename":"file4"},{"photo_id":"1375700731","filename":"file1"},{"photo_id":"1375700727","filename":"file0"},{"photo_id":"1375700740","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375700748":["hashtag1","hashtag2"]},{"1375700727":["hashtag1","hashtag2"]},{"1375700735":["hashtag1","hashtag2"]},{"1375700744":["hashtag1","hashtag2"]},{"1375700731":["hashtag1","hashtag2"]},{"1375700740":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375700748, 1375700727, 1375700735, 1375700744, 1375700731, 1375700740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.542657136917114 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:33:02.610384
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/07/image_13062025_07_07_14_9675.jpg', 2), ('/mnt/data/13062025/07/06/image_13062025_07_07_04_10229.jpg', 2), ('/mnt/data/13062025/07/06/image_13062025_07_06_54_8945.jpg', 2), ('/mnt/data/13062025/07/06/image_13062025_07_06_45_10205.jpg', 2), ('/mnt/data/13062025/07/06/image_13062025_07_06_35_10156.jpg', 2), ('/mnt/data/13062025/07/06/image_13062025_07_06_24_10097.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/07/image_13062025_07_07_14_9675.jpg', '/mnt/data/13062025/07/06/image_13062025_07_07_04_10229.jpg', '/mnt/data/13062025/07/06/image_13062025_07_06_54_8945.jpg', '/mnt/data/13062025/07/06/image_13062025_07_06_45_10205.jpg', '/mnt/data/13062025/07/06/image_13062025_07_06_35_10156.jpg', '/mnt/data/13062025/07/06/image_13062025_07_06_24_10097.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/07/image_13062025_07_07_14_9675.jpg', '/mnt/data/13062025/07/06/image_13062025_07_07_04_10229.jpg', '/mnt/data/13062025/07/06/image_13062025_07_06_54_8945.jpg', '/mnt/data/13062025/07/06/image_13062025_07_06_45_10205.jpg', '/mnt/data/13062025/07/06/image_13062025_07_06_35_10156.jpg', '/mnt/data/13062025/07/06/image_13062025_07_06_24_10097.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/07/image_13062025_07_07_14_9675.jpg
/mnt/data/13062025/07/06/image_13062025_07_07_04_10229.jpg
/mnt/data/13062025/07/06/image_13062025_07_06_54_8945.jpg
/mnt/data/13062025/07/06/image_13062025_07_06_45_10205.jpg
/mnt/data/13062025/07/06/image_13062025_07_06_35_10156.jpg
/mnt/data/13062025/07/06/image_13062025_07_06_24_10097.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 147.14720273017883 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-07 17:36:02.474987
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/07/image_13062025_07_07_14_9675.jpg', 2), ('/mnt/data/13062025/07/06/image_13062025_07_07_04_10229.jpg', 2), ('/mnt/data/13062025/07/06/image_13062025_07_06_54_8945.jpg', 2), ('/mnt/data/13062025/07/06/image_13062025_07_06_45_10205.jpg', 2), ('/mnt/data/13062025/07/06/image_13062025_07_06_35_10156.jpg', 2), ('/mnt/data/13062025/07/06/image_13062025_07_06_24_10097.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/07/image_13062025_07_07_14_9675.jpg', '/mnt/data/13062025/07/06/image_13062025_07_07_04_10229.jpg', '/mnt/data/13062025/07/06/image_13062025_07_06_54_8945.jpg', '/mnt/data/13062025/07/06/image_13062025_07_06_45_10205.jpg', '/mnt/data/13062025/07/06/image_13062025_07_06_35_10156.jpg', '/mnt/data/13062025/07/06/image_13062025_07_06_24_10097.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/07/image_13062025_07_07_14_9675.jpg', '/mnt/data/13062025/07/06/image_13062025_07_07_04_10229.jpg', '/mnt/data/13062025/07/06/image_13062025_07_06_54_8945.jpg', '/mnt/data/13062025/07/06/image_13062025_07_06_45_10205.jpg', '/mnt/data/13062025/07/06/image_13062025_07_06_35_10156.jpg', '/mnt/data/13062025/07/06/image_13062025_07_06_24_10097.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/07/image_13062025_07_07_14_9675.jpg
/mnt/data/13062025/07/06/image_13062025_07_07_04_10229.jpg
/mnt/data/13062025/07/06/image_13062025_07_06_54_8945.jpg
/mnt/data/13062025/07/06/image_13062025_07_06_45_10205.jpg
/mnt/data/13062025/07/06/image_13062025_07_06_35_10156.jpg
/mnt/data/13062025/07/06/image_13062025_07_06_24_10097.jpg
uploaded 0 photos
time to upload: 30.381345987319946 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:37:03.417691
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/07/image_13062025_07_07_14_9675.jpg', 2), ('/mnt/data/13062025/07/06/image_13062025_07_07_04_10229.jpg', 2), ('/mnt/data/13062025/07/06/image_13062025_07_06_54_8945.jpg', 2), ('/mnt/data/13062025/07/06/image_13062025_07_06_45_10205.jpg', 2), ('/mnt/data/13062025/07/06/image_13062025_07_06_35_10156.jpg', 2), ('/mnt/data/13062025/07/06/image_13062025_07_06_24_10097.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/07/image_13062025_07_07_14_9675.jpg', '/mnt/data/13062025/07/06/image_13062025_07_07_04_10229.jpg', '/mnt/data/13062025/07/06/image_13062025_07_06_54_8945.jpg', '/mnt/data/13062025/07/06/image_13062025_07_06_45_10205.jpg', '/mnt/data/13062025/07/06/image_13062025_07_06_35_10156.jpg', '/mnt/data/13062025/07/06/image_13062025_07_06_24_10097.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/07/image_13062025_07_07_14_9675.jpg', '/mnt/data/13062025/07/06/image_13062025_07_07_04_10229.jpg', '/mnt/data/13062025/07/06/image_13062025_07_06_54_8945.jpg', '/mnt/data/13062025/07/06/image_13062025_07_06_45_10205.jpg', '/mnt/data/13062025/07/06/image_13062025_07_06_35_10156.jpg', '/mnt/data/13062025/07/06/image_13062025_07_06_24_10097.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/07/image_13062025_07_07_14_9675.jpg
/mnt/data/13062025/07/06/image_13062025_07_07_04_10229.jpg
/mnt/data/13062025/07/06/image_13062025_07_06_54_8945.jpg
/mnt/data/13062025/07/06/image_13062025_07_06_45_10205.jpg
/mnt/data/13062025/07/06/image_13062025_07_06_35_10156.jpg
/mnt/data/13062025/07/06/image_13062025_07_06_24_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":["1375701056","1375701041","1375701043","1375701051","1375701054","1375701048"],"photo_ids_order":["1375701041","1375701043","1375701048","1375701051","1375701054","1375701056"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/f4dfac97eff9032a7f4de710d1eeba47.jpg","text":"TemporaryFile(/tmp/multipartBody4572249385248476473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581113145,"filename":"image_13062025_07_06_24_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/7/4eb0c47f78ea0d39bfbb9060393ef675.jpg","text":"TemporaryFile(/tmp/multipartBody8730993747701027424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581113145,"filename":"image_13062025_07_07_14_9675.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/0fb0725d2343b04c36d815a6e7030626.jpg","text":"TemporaryFile(/tmp/multipartBody6109614085445426471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581113145,"filename":"image_13062025_07_07_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/7/ba71ca843ed4ae5aca7ac51f949d61d9.jpg","text":"TemporaryFile(/tmp/multipartBody2965024899286593783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581113145,"filename":"image_13062025_07_06_45_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/7/fa39ad88db0469f321224acc89762ed1.jpg","text":"TemporaryFile(/tmp/multipartBody428553288879610753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581113145,"filename":"image_13062025_07_06_35_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/7/b880628dd3d0847ee9cc5c7871b550f8.jpg","text":"TemporaryFile(/tmp/multipartBody6134838177113149479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581113145,"filename":"image_13062025_07_06_54_8945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375701048","file1":"1375701043","file0":"1375701041","file4":"1375701054","file5":"1375701056","file3":"1375701051"},"map_files_photo_id_array":[{"photo_id":"1375701056","filename":"file5"},{"photo_id":"1375701048","filename":"file2"},{"photo_id":"1375701054","filename":"file4"},{"photo_id":"1375701043","filename":"file1"},{"photo_id":"1375701041","filename":"file0"},{"photo_id":"1375701051","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375701056":["hashtag1","hashtag2"]},{"1375701041":["hashtag1","hashtag2"]},{"1375701043":["hashtag1","hashtag2"]},{"1375701051":["hashtag1","hashtag2"]},{"1375701054":["hashtag1","hashtag2"]},{"1375701048":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375701056, 1375701041, 1375701043, 1375701051, 1375701054, 1375701048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.24361896514893 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:39:03.144518
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/06/image_13062025_07_06_14_10182.jpg', 2), ('/mnt/data/13062025/07/05/image_13062025_07_06_04_10449.jpg', 2), ('/mnt/data/13062025/07/05/image_13062025_07_05_54_8987.jpg', 2), ('/mnt/data/13062025/07/04/image_13062025_07_04_44_9966.jpg', 2), ('/mnt/data/13062025/07/04/image_13062025_07_04_34_9968.jpg', 2), ('/mnt/data/13062025/07/04/image_13062025_07_04_24_9920.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/06/image_13062025_07_06_14_10182.jpg', '/mnt/data/13062025/07/05/image_13062025_07_06_04_10449.jpg', '/mnt/data/13062025/07/05/image_13062025_07_05_54_8987.jpg', '/mnt/data/13062025/07/04/image_13062025_07_04_44_9966.jpg', '/mnt/data/13062025/07/04/image_13062025_07_04_34_9968.jpg', '/mnt/data/13062025/07/04/image_13062025_07_04_24_9920.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/06/image_13062025_07_06_14_10182.jpg', '/mnt/data/13062025/07/05/image_13062025_07_06_04_10449.jpg', '/mnt/data/13062025/07/05/image_13062025_07_05_54_8987.jpg', '/mnt/data/13062025/07/04/image_13062025_07_04_44_9966.jpg', '/mnt/data/13062025/07/04/image_13062025_07_04_34_9968.jpg', '/mnt/data/13062025/07/04/image_13062025_07_04_24_9920.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/06/image_13062025_07_06_14_10182.jpg
/mnt/data/13062025/07/05/image_13062025_07_06_04_10449.jpg
/mnt/data/13062025/07/05/image_13062025_07_05_54_8987.jpg
/mnt/data/13062025/07/04/image_13062025_07_04_44_9966.jpg
/mnt/data/13062025/07/04/image_13062025_07_04_34_9968.jpg
/mnt/data/13062025/07/04/image_13062025_07_04_24_9920.jpg
uploaded 0 photos
time to upload: 30.480315923690796 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:40:02.746159
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/06/image_13062025_07_06_14_10182.jpg', 2), ('/mnt/data/13062025/07/05/image_13062025_07_06_04_10449.jpg', 2), ('/mnt/data/13062025/07/05/image_13062025_07_05_54_8987.jpg', 2), ('/mnt/data/13062025/07/04/image_13062025_07_04_44_9966.jpg', 2), ('/mnt/data/13062025/07/04/image_13062025_07_04_34_9968.jpg', 2), ('/mnt/data/13062025/07/04/image_13062025_07_04_24_9920.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/06/image_13062025_07_06_14_10182.jpg', '/mnt/data/13062025/07/05/image_13062025_07_06_04_10449.jpg', '/mnt/data/13062025/07/05/image_13062025_07_05_54_8987.jpg', '/mnt/data/13062025/07/04/image_13062025_07_04_44_9966.jpg', '/mnt/data/13062025/07/04/image_13062025_07_04_34_9968.jpg', '/mnt/data/13062025/07/04/image_13062025_07_04_24_9920.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/06/image_13062025_07_06_14_10182.jpg', '/mnt/data/13062025/07/05/image_13062025_07_06_04_10449.jpg', '/mnt/data/13062025/07/05/image_13062025_07_05_54_8987.jpg', '/mnt/data/13062025/07/04/image_13062025_07_04_44_9966.jpg', '/mnt/data/13062025/07/04/image_13062025_07_04_34_9968.jpg', '/mnt/data/13062025/07/04/image_13062025_07_04_24_9920.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/06/image_13062025_07_06_14_10182.jpg
/mnt/data/13062025/07/05/image_13062025_07_06_04_10449.jpg
/mnt/data/13062025/07/05/image_13062025_07_05_54_8987.jpg
/mnt/data/13062025/07/04/image_13062025_07_04_44_9966.jpg
/mnt/data/13062025/07/04/image_13062025_07_04_34_9968.jpg
/mnt/data/13062025/07/04/image_13062025_07_04_24_9920.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":["1375701263","1375701257","1375701170","1375701266","1375701268","1375701261"],"photo_ids_order":["1375701170","1375701257","1375701261","1375701263","1375701266","1375701268"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/0624a7e7f2b715fbc1bf05bf5397cd81.jpg","text":"TemporaryFile(/tmp/multipartBody616547498379593976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581284261,"filename":"image_13062025_07_04_44_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/7/eea29d1164977f3a1e8435309d6fdca6.jpg","text":"TemporaryFile(/tmp/multipartBody5024837018135303375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581284261,"filename":"image_13062025_07_06_04_10449.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/2f91dc44ef87513310c0fee30a6d715a.jpg","text":"TemporaryFile(/tmp/multipartBody520684878786955702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581284261,"filename":"image_13062025_07_06_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/7/58c7cfa3c3e6f2577afc20ea78fd3045.jpg","text":"TemporaryFile(/tmp/multipartBody1088537277212735093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581284261,"filename":"image_13062025_07_04_34_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/7/7faa830fe4da555c5cc70c61cdf9a106.jpg","text":"TemporaryFile(/tmp/multipartBody7876711616969890875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581284261,"filename":"image_13062025_07_04_24_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/7/8115133ecd872d60155e5cf72fe3c403.jpg","text":"TemporaryFile(/tmp/multipartBody1564498576342580188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581284261,"filename":"image_13062025_07_05_54_8987.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375701261","file1":"1375701257","file0":"1375701170","file4":"1375701266","file5":"1375701268","file3":"1375701263"},"map_files_photo_id_array":[{"photo_id":"1375701268","filename":"file5"},{"photo_id":"1375701261","filename":"file2"},{"photo_id":"1375701266","filename":"file4"},{"photo_id":"1375701257","filename":"file1"},{"photo_id":"1375701170","filename":"file0"},{"photo_id":"1375701263","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375701263":["hashtag1","hashtag2"]},{"1375701257":["hashtag1","hashtag2"]},{"1375701170":["hashtag1","hashtag2"]},{"1375701266":["hashtag1","hashtag2"]},{"1375701268":["hashtag1","hashtag2"]},{"1375701261":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375701263, 1375701257, 1375701170, 1375701266, 1375701268, 1375701261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.96078443527222 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:42:02.946476
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/04/image_13062025_07_04_14_9984.jpg', 2), ('/mnt/data/13062025/07/03/image_13062025_07_04_04_10231.jpg', 2), ('/mnt/data/13062025/07/03/image_13062025_07_03_54_10003.jpg', 2), ('/mnt/data/13062025/07/01/image_13062025_07_01_44_10069.jpg', 2), ('/mnt/data/13062025/07/01/image_13062025_07_01_34_9993.jpg', 2), ('/mnt/data/13062025/07/01/image_13062025_07_01_24_9993.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/04/image_13062025_07_04_14_9984.jpg', '/mnt/data/13062025/07/03/image_13062025_07_04_04_10231.jpg', '/mnt/data/13062025/07/03/image_13062025_07_03_54_10003.jpg', '/mnt/data/13062025/07/01/image_13062025_07_01_44_10069.jpg', '/mnt/data/13062025/07/01/image_13062025_07_01_34_9993.jpg', '/mnt/data/13062025/07/01/image_13062025_07_01_24_9993.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/04/image_13062025_07_04_14_9984.jpg', '/mnt/data/13062025/07/03/image_13062025_07_04_04_10231.jpg', '/mnt/data/13062025/07/03/image_13062025_07_03_54_10003.jpg', '/mnt/data/13062025/07/01/image_13062025_07_01_44_10069.jpg', '/mnt/data/13062025/07/01/image_13062025_07_01_34_9993.jpg', '/mnt/data/13062025/07/01/image_13062025_07_01_24_9993.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/04/image_13062025_07_04_14_9984.jpg
/mnt/data/13062025/07/03/image_13062025_07_04_04_10231.jpg
/mnt/data/13062025/07/03/image_13062025_07_03_54_10003.jpg
/mnt/data/13062025/07/01/image_13062025_07_01_44_10069.jpg
/mnt/data/13062025/07/01/image_13062025_07_01_34_9993.jpg
/mnt/data/13062025/07/01/image_13062025_07_01_24_9993.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375701318","1375701303","1375701332","1375701314","1375701334","1375701339"],"photo_ids_order":["1375701303","1375701314","1375701318","1375701332","1375701334","1375701339"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/45741af1d64b58dcef6a59aa318dfdab.jpg","text":"TemporaryFile(/tmp/multipartBody5476881590797873310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581397458,"filename":"image_13062025_07_03_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/7/59ac77e7d587f7e260c17d05bd41899d.jpg","text":"TemporaryFile(/tmp/multipartBody3153479493500027464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581397458,"filename":"image_13062025_07_04_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/7/4f874556c12275a9d40f90003e5ced8a.jpg","text":"TemporaryFile(/tmp/multipartBody595911396589659124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581397458,"filename":"image_13062025_07_01_44_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/7/d08585228b6fdece71d0c7b4bfb8b8a0.jpg","text":"TemporaryFile(/tmp/multipartBody2399314881110855502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581397458,"filename":"image_13062025_07_04_04_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/7/14844c50a573b39b896b228fbc7d02ac.jpg","text":"TemporaryFile(/tmp/multipartBody4509677856103062769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581397458,"filename":"image_13062025_07_01_34_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/7/55d3abdaed0e959745953a8ff82bb29f.jpg","text":"TemporaryFile(/tmp/multipartBody812968194993494483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581397458,"filename":"image_13062025_07_01_24_9993.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375701318","file1":"1375701314","file0":"1375701303","file4":"1375701334","file5":"1375701339","file3":"1375701332"},"map_files_photo_id_array":[{"photo_id":"1375701339","filename":"file5"},{"photo_id":"1375701318","filename":"file2"},{"photo_id":"1375701334","filename":"file4"},{"photo_id":"1375701314","filename":"file1"},{"photo_id":"1375701303","filename":"file0"},{"photo_id":"1375701332","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375701318":["hashtag1","hashtag2"]},{"1375701303":["hashtag1","hashtag2"]},{"1375701332":["hashtag1","hashtag2"]},{"1375701314":["hashtag1","hashtag2"]},{"1375701334":["hashtag1","hashtag2"]},{"1375701339":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375701318, 1375701303, 1375701332, 1375701314, 1375701334, 1375701339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.56340932846069 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:43:03.096083
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/01/image_13062025_07_01_14_10020.jpg', 2), ('/mnt/data/13062025/07/00/image_13062025_07_01_04_10015.jpg', 2), ('/mnt/data/13062025/07/00/image_13062025_07_00_54_10065.jpg', 2), ('/mnt/data/13062025/06/59/image_13062025_06_59_35_11120.jpg', 2), ('/mnt/data/13062025/06/59/image_13062025_06_59_24_9913.jpg', 2), ('/mnt/data/13062025/06/59/image_13062025_06_59_14_9926.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/01/image_13062025_07_01_14_10020.jpg', '/mnt/data/13062025/07/00/image_13062025_07_01_04_10015.jpg', '/mnt/data/13062025/07/00/image_13062025_07_00_54_10065.jpg', '/mnt/data/13062025/06/59/image_13062025_06_59_35_11120.jpg', '/mnt/data/13062025/06/59/image_13062025_06_59_24_9913.jpg', '/mnt/data/13062025/06/59/image_13062025_06_59_14_9926.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/01/image_13062025_07_01_14_10020.jpg', '/mnt/data/13062025/07/00/image_13062025_07_01_04_10015.jpg', '/mnt/data/13062025/07/00/image_13062025_07_00_54_10065.jpg', '/mnt/data/13062025/06/59/image_13062025_06_59_35_11120.jpg', '/mnt/data/13062025/06/59/image_13062025_06_59_24_9913.jpg', '/mnt/data/13062025/06/59/image_13062025_06_59_14_9926.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/01/image_13062025_07_01_14_10020.jpg
/mnt/data/13062025/07/00/image_13062025_07_01_04_10015.jpg
/mnt/data/13062025/07/00/image_13062025_07_00_54_10065.jpg
/mnt/data/13062025/06/59/image_13062025_06_59_35_11120.jpg
/mnt/data/13062025/06/59/image_13062025_06_59_24_9913.jpg
/mnt/data/13062025/06/59/image_13062025_06_59_14_9926.jpg
uploaded 0 photos
time to upload: 30.42221736907959 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:44:02.814431
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/01/image_13062025_07_01_14_10020.jpg', 2), ('/mnt/data/13062025/07/00/image_13062025_07_01_04_10015.jpg', 2), ('/mnt/data/13062025/07/00/image_13062025_07_00_54_10065.jpg', 2), ('/mnt/data/13062025/06/59/image_13062025_06_59_35_11120.jpg', 2), ('/mnt/data/13062025/06/59/image_13062025_06_59_24_9913.jpg', 2), ('/mnt/data/13062025/06/59/image_13062025_06_59_14_9926.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/01/image_13062025_07_01_14_10020.jpg', '/mnt/data/13062025/07/00/image_13062025_07_01_04_10015.jpg', '/mnt/data/13062025/07/00/image_13062025_07_00_54_10065.jpg', '/mnt/data/13062025/06/59/image_13062025_06_59_35_11120.jpg', '/mnt/data/13062025/06/59/image_13062025_06_59_24_9913.jpg', '/mnt/data/13062025/06/59/image_13062025_06_59_14_9926.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/01/image_13062025_07_01_14_10020.jpg', '/mnt/data/13062025/07/00/image_13062025_07_01_04_10015.jpg', '/mnt/data/13062025/07/00/image_13062025_07_00_54_10065.jpg', '/mnt/data/13062025/06/59/image_13062025_06_59_35_11120.jpg', '/mnt/data/13062025/06/59/image_13062025_06_59_24_9913.jpg', '/mnt/data/13062025/06/59/image_13062025_06_59_14_9926.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/01/image_13062025_07_01_14_10020.jpg
/mnt/data/13062025/07/00/image_13062025_07_01_04_10015.jpg
/mnt/data/13062025/07/00/image_13062025_07_00_54_10065.jpg
/mnt/data/13062025/06/59/image_13062025_06_59_35_11120.jpg
/mnt/data/13062025/06/59/image_13062025_06_59_24_9913.jpg
/mnt/data/13062025/06/59/image_13062025_06_59_14_9926.jpg
uploaded 0 photos
time to upload: 30.368555545806885 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:45:02.833424
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/01/image_13062025_07_01_14_10020.jpg', 2), ('/mnt/data/13062025/07/00/image_13062025_07_01_04_10015.jpg', 2), ('/mnt/data/13062025/07/00/image_13062025_07_00_54_10065.jpg', 2), ('/mnt/data/13062025/06/59/image_13062025_06_59_35_11120.jpg', 2), ('/mnt/data/13062025/06/59/image_13062025_06_59_24_9913.jpg', 2), ('/mnt/data/13062025/06/59/image_13062025_06_59_14_9926.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/01/image_13062025_07_01_14_10020.jpg', '/mnt/data/13062025/07/00/image_13062025_07_01_04_10015.jpg', '/mnt/data/13062025/07/00/image_13062025_07_00_54_10065.jpg', '/mnt/data/13062025/06/59/image_13062025_06_59_35_11120.jpg', '/mnt/data/13062025/06/59/image_13062025_06_59_24_9913.jpg', '/mnt/data/13062025/06/59/image_13062025_06_59_14_9926.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/01/image_13062025_07_01_14_10020.jpg', '/mnt/data/13062025/07/00/image_13062025_07_01_04_10015.jpg', '/mnt/data/13062025/07/00/image_13062025_07_00_54_10065.jpg', '/mnt/data/13062025/06/59/image_13062025_06_59_35_11120.jpg', '/mnt/data/13062025/06/59/image_13062025_06_59_24_9913.jpg', '/mnt/data/13062025/06/59/image_13062025_06_59_14_9926.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/01/image_13062025_07_01_14_10020.jpg
/mnt/data/13062025/07/00/image_13062025_07_01_04_10015.jpg
/mnt/data/13062025/07/00/image_13062025_07_00_54_10065.jpg
/mnt/data/13062025/06/59/image_13062025_06_59_35_11120.jpg
/mnt/data/13062025/06/59/image_13062025_06_59_24_9913.jpg
/mnt/data/13062025/06/59/image_13062025_06_59_14_9926.jpg
uploaded 0 photos
time to upload: 30.391035556793213 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:46:02.555755
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/07/01/image_13062025_07_01_14_10020.jpg', 2), ('/mnt/data/13062025/07/00/image_13062025_07_01_04_10015.jpg', 2), ('/mnt/data/13062025/07/00/image_13062025_07_00_54_10065.jpg', 2), ('/mnt/data/13062025/06/59/image_13062025_06_59_35_11120.jpg', 2), ('/mnt/data/13062025/06/59/image_13062025_06_59_24_9913.jpg', 2), ('/mnt/data/13062025/06/59/image_13062025_06_59_14_9926.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/07/01/image_13062025_07_01_14_10020.jpg', '/mnt/data/13062025/07/00/image_13062025_07_01_04_10015.jpg', '/mnt/data/13062025/07/00/image_13062025_07_00_54_10065.jpg', '/mnt/data/13062025/06/59/image_13062025_06_59_35_11120.jpg', '/mnt/data/13062025/06/59/image_13062025_06_59_24_9913.jpg', '/mnt/data/13062025/06/59/image_13062025_06_59_14_9926.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/07/01/image_13062025_07_01_14_10020.jpg', '/mnt/data/13062025/07/00/image_13062025_07_01_04_10015.jpg', '/mnt/data/13062025/07/00/image_13062025_07_00_54_10065.jpg', '/mnt/data/13062025/06/59/image_13062025_06_59_35_11120.jpg', '/mnt/data/13062025/06/59/image_13062025_06_59_24_9913.jpg', '/mnt/data/13062025/06/59/image_13062025_06_59_14_9926.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/07/01/image_13062025_07_01_14_10020.jpg
/mnt/data/13062025/07/00/image_13062025_07_01_04_10015.jpg
/mnt/data/13062025/07/00/image_13062025_07_00_54_10065.jpg
/mnt/data/13062025/06/59/image_13062025_06_59_35_11120.jpg
/mnt/data/13062025/06/59/image_13062025_06_59_24_9913.jpg
/mnt/data/13062025/06/59/image_13062025_06_59_14_9926.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375701452","1375701455","1375701445","1375701448","1375701457","1375701459"],"photo_ids_order":["1375701445","1375701448","1375701452","1375701455","1375701457","1375701459"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/93b4036166458d54714d4274ecc43294.jpg","text":"TemporaryFile(/tmp/multipartBody6884068073861501109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581635331,"filename":"image_13062025_07_00_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/7/efba1d665ec972df18a31c326a925916.jpg","text":"TemporaryFile(/tmp/multipartBody4376224753755437098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581635331,"filename":"image_13062025_06_59_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/7/8d86bdec7e5c4042677522a05ec92d25.jpg","text":"TemporaryFile(/tmp/multipartBody6915449740711089896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581635331,"filename":"image_13062025_07_01_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/7/6a78e04ffdaa4bd05277035e0aceb1ba.jpg","text":"TemporaryFile(/tmp/multipartBody1593343441630936504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581635331,"filename":"image_13062025_07_01_04_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/7/7e9d5b30f12ad9d6aad0637298d1589d.jpg","text":"TemporaryFile(/tmp/multipartBody4476689833800628833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581635331,"filename":"image_13062025_06_59_24_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/7/026d04c3687c4be26179dde8859ce1fb.jpg","text":"TemporaryFile(/tmp/multipartBody3423005941043868553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581635331,"filename":"image_13062025_06_59_14_9926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375701452","file1":"1375701448","file0":"1375701445","file4":"1375701457","file5":"1375701459","file3":"1375701455"},"map_files_photo_id_array":[{"photo_id":"1375701459","filename":"file5"},{"photo_id":"1375701452","filename":"file2"},{"photo_id":"1375701457","filename":"file4"},{"photo_id":"1375701448","filename":"file1"},{"photo_id":"1375701445","filename":"file0"},{"photo_id":"1375701455","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375701452":["hashtag1","hashtag2"]},{"1375701455":["hashtag1","hashtag2"]},{"1375701445":["hashtag1","hashtag2"]},{"1375701448":["hashtag1","hashtag2"]},{"1375701457":["hashtag1","hashtag2"]},{"1375701459":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375701452, 1375701455, 1375701445, 1375701448, 1375701457, 1375701459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.85190391540527 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:47:02.435122
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/58/image_13062025_06_59_04_8996.jpg', 2), ('/mnt/data/13062025/06/58/image_13062025_06_58_55_11125.jpg', 2), ('/mnt/data/13062025/06/57/image_13062025_06_57_44_9931.jpg', 2), ('/mnt/data/13062025/06/57/image_13062025_06_57_34_9951.jpg', 2), ('/mnt/data/13062025/06/57/image_13062025_06_57_24_9989.jpg', 2), ('/mnt/data/13062025/06/57/image_13062025_06_57_14_9984.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/58/image_13062025_06_59_04_8996.jpg', '/mnt/data/13062025/06/58/image_13062025_06_58_55_11125.jpg', '/mnt/data/13062025/06/57/image_13062025_06_57_44_9931.jpg', '/mnt/data/13062025/06/57/image_13062025_06_57_34_9951.jpg', '/mnt/data/13062025/06/57/image_13062025_06_57_24_9989.jpg', '/mnt/data/13062025/06/57/image_13062025_06_57_14_9984.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/58/image_13062025_06_59_04_8996.jpg', '/mnt/data/13062025/06/58/image_13062025_06_58_55_11125.jpg', '/mnt/data/13062025/06/57/image_13062025_06_57_44_9931.jpg', '/mnt/data/13062025/06/57/image_13062025_06_57_34_9951.jpg', '/mnt/data/13062025/06/57/image_13062025_06_57_24_9989.jpg', '/mnt/data/13062025/06/57/image_13062025_06_57_14_9984.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/58/image_13062025_06_59_04_8996.jpg
/mnt/data/13062025/06/58/image_13062025_06_58_55_11125.jpg
/mnt/data/13062025/06/57/image_13062025_06_57_44_9931.jpg
/mnt/data/13062025/06/57/image_13062025_06_57_34_9951.jpg
/mnt/data/13062025/06/57/image_13062025_06_57_24_9989.jpg
/mnt/data/13062025/06/57/image_13062025_06_57_14_9984.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":["1375701491","1375701485","1375701496","1375701493","1375701495","1375701480"],"photo_ids_order":["1375701480","1375701485","1375701491","1375701493","1375701495","1375701496"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/14060909b604402d8479580e3d0c6520.jpg","text":"TemporaryFile(/tmp/multipartBody4284632225148441877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581703661,"filename":"image_13062025_06_57_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/7/3895b62d23ae9593983e493c6096536b.jpg","text":"TemporaryFile(/tmp/multipartBody7163570374622976834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581703661,"filename":"image_13062025_06_58_55_11125.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/5831065cb100b02db859ba2a7d151ed2.jpg","text":"TemporaryFile(/tmp/multipartBody6592788093397360925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581703661,"filename":"image_13062025_06_57_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/7/19524c91b6043babe14a3e2941cb57d4.jpg","text":"TemporaryFile(/tmp/multipartBody7368212526944197783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581703661,"filename":"image_13062025_06_57_34_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/7/9c7eb7f1a61c438f6e05df961ecdc5b3.jpg","text":"TemporaryFile(/tmp/multipartBody2163186564080202582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581703661,"filename":"image_13062025_06_57_24_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/7/2b722beb9dba66a81088004831723d36.jpg","text":"TemporaryFile(/tmp/multipartBody722478670841898731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581703661,"filename":"image_13062025_06_59_04_8996.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375701491","file1":"1375701485","file0":"1375701480","file4":"1375701495","file5":"1375701496","file3":"1375701493"},"map_files_photo_id_array":[{"photo_id":"1375701496","filename":"file5"},{"photo_id":"1375701491","filename":"file2"},{"photo_id":"1375701495","filename":"file4"},{"photo_id":"1375701485","filename":"file1"},{"photo_id":"1375701480","filename":"file0"},{"photo_id":"1375701493","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375701491":["hashtag1","hashtag2"]},{"1375701485":["hashtag1","hashtag2"]},{"1375701496":["hashtag1","hashtag2"]},{"1375701493":["hashtag1","hashtag2"]},{"1375701495":["hashtag1","hashtag2"]},{"1375701480":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375701491, 1375701485, 1375701496, 1375701493, 1375701495, 1375701480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.788572788238525 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:49:03.105392
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/56/image_13062025_06_57_04_10140.jpg', 2), ('/mnt/data/13062025/06/56/image_13062025_06_56_54_9982.jpg', 2), ('/mnt/data/13062025/06/56/image_13062025_06_56_44_9968.jpg', 2), ('/mnt/data/13062025/06/56/image_13062025_06_56_34_9968.jpg', 2), ('/mnt/data/13062025/06/56/image_13062025_06_56_24_10078.jpg', 2), ('/mnt/data/13062025/06/56/image_13062025_06_56_14_10106.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/56/image_13062025_06_57_04_10140.jpg', '/mnt/data/13062025/06/56/image_13062025_06_56_54_9982.jpg', '/mnt/data/13062025/06/56/image_13062025_06_56_44_9968.jpg', '/mnt/data/13062025/06/56/image_13062025_06_56_34_9968.jpg', '/mnt/data/13062025/06/56/image_13062025_06_56_24_10078.jpg', '/mnt/data/13062025/06/56/image_13062025_06_56_14_10106.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/56/image_13062025_06_57_04_10140.jpg', '/mnt/data/13062025/06/56/image_13062025_06_56_54_9982.jpg', '/mnt/data/13062025/06/56/image_13062025_06_56_44_9968.jpg', '/mnt/data/13062025/06/56/image_13062025_06_56_34_9968.jpg', '/mnt/data/13062025/06/56/image_13062025_06_56_24_10078.jpg', '/mnt/data/13062025/06/56/image_13062025_06_56_14_10106.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/56/image_13062025_06_57_04_10140.jpg
/mnt/data/13062025/06/56/image_13062025_06_56_54_9982.jpg
/mnt/data/13062025/06/56/image_13062025_06_56_44_9968.jpg
/mnt/data/13062025/06/56/image_13062025_06_56_34_9968.jpg
/mnt/data/13062025/06/56/image_13062025_06_56_24_10078.jpg
/mnt/data/13062025/06/56/image_13062025_06_56_14_10106.jpg
uploaded 0 photos
time to upload: 30.458855867385864 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:50:02.787878
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/56/image_13062025_06_57_04_10140.jpg', 2), ('/mnt/data/13062025/06/56/image_13062025_06_56_54_9982.jpg', 2), ('/mnt/data/13062025/06/56/image_13062025_06_56_44_9968.jpg', 2), ('/mnt/data/13062025/06/56/image_13062025_06_56_34_9968.jpg', 2), ('/mnt/data/13062025/06/56/image_13062025_06_56_24_10078.jpg', 2), ('/mnt/data/13062025/06/56/image_13062025_06_56_14_10106.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/56/image_13062025_06_57_04_10140.jpg', '/mnt/data/13062025/06/56/image_13062025_06_56_54_9982.jpg', '/mnt/data/13062025/06/56/image_13062025_06_56_44_9968.jpg', '/mnt/data/13062025/06/56/image_13062025_06_56_34_9968.jpg', '/mnt/data/13062025/06/56/image_13062025_06_56_24_10078.jpg', '/mnt/data/13062025/06/56/image_13062025_06_56_14_10106.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/56/image_13062025_06_57_04_10140.jpg', '/mnt/data/13062025/06/56/image_13062025_06_56_54_9982.jpg', '/mnt/data/13062025/06/56/image_13062025_06_56_44_9968.jpg', '/mnt/data/13062025/06/56/image_13062025_06_56_34_9968.jpg', '/mnt/data/13062025/06/56/image_13062025_06_56_24_10078.jpg', '/mnt/data/13062025/06/56/image_13062025_06_56_14_10106.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/56/image_13062025_06_57_04_10140.jpg
/mnt/data/13062025/06/56/image_13062025_06_56_54_9982.jpg
/mnt/data/13062025/06/56/image_13062025_06_56_44_9968.jpg
/mnt/data/13062025/06/56/image_13062025_06_56_34_9968.jpg
/mnt/data/13062025/06/56/image_13062025_06_56_24_10078.jpg
/mnt/data/13062025/06/56/image_13062025_06_56_14_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":["1375701600","1375701590","1375701593","1375701581","1375701586","1375701597"],"photo_ids_order":["1375701581","1375701586","1375701590","1375701593","1375701597","1375701600"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/e34b0f79368354b967b82ec2ff0bbd9e.jpg","text":"TemporaryFile(/tmp/multipartBody543659804153583335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581887708,"filename":"image_13062025_06_56_14_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/7/f7b0ecb6d2364a428fbbdb7467b88919.jpg","text":"TemporaryFile(/tmp/multipartBody9144538129318729775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581887708,"filename":"image_13062025_06_56_44_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/7/e4fd03c044b919db86c18acb107de425.jpg","text":"TemporaryFile(/tmp/multipartBody1606279531786730271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581887708,"filename":"image_13062025_06_56_34_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/7/4aa408db38598fd1e24e64174b216f88.jpg","text":"TemporaryFile(/tmp/multipartBody13582541557610820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581887708,"filename":"image_13062025_06_57_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/7/3c55cc2614138cea1f7b9f50286d4cb4.jpg","text":"TemporaryFile(/tmp/multipartBody6215424137397369421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581887708,"filename":"image_13062025_06_56_54_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/7/975ec6da6125e0c1602711b47befa57f.jpg","text":"TemporaryFile(/tmp/multipartBody879824430349731383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754581887708,"filename":"image_13062025_06_56_24_10078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375701590","file1":"1375701586","file0":"1375701581","file4":"1375701597","file5":"1375701600","file3":"1375701593"},"map_files_photo_id_array":[{"photo_id":"1375701600","filename":"file5"},{"photo_id":"1375701590","filename":"file2"},{"photo_id":"1375701597","filename":"file4"},{"photo_id":"1375701586","filename":"file1"},{"photo_id":"1375701581","filename":"file0"},{"photo_id":"1375701593","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375701600":["hashtag1","hashtag2"]},{"1375701590":["hashtag1","hashtag2"]},{"1375701593":["hashtag1","hashtag2"]},{"1375701581":["hashtag1","hashtag2"]},{"1375701586":["hashtag1","hashtag2"]},{"1375701597":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375701600, 1375701590, 1375701593, 1375701581, 1375701586, 1375701597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.94953799247742 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:52:03.037383
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/55/image_13062025_06_56_04_9161.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_55_10114.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_44_10101.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_34_10104.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_24_10127.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_14_10078.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/55/image_13062025_06_56_04_9161.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_55_10114.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_44_10101.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_34_10104.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_24_10127.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_14_10078.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/55/image_13062025_06_56_04_9161.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_55_10114.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_44_10101.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_34_10104.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_24_10127.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_14_10078.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/55/image_13062025_06_56_04_9161.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_55_10114.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_44_10101.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_34_10104.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_24_10127.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_14_10078.jpg
uploaded 0 photos
time to upload: 30.42231059074402 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:53:03.005177
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/55/image_13062025_06_56_04_9161.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_55_10114.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_44_10101.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_34_10104.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_24_10127.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_14_10078.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/55/image_13062025_06_56_04_9161.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_55_10114.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_44_10101.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_34_10104.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_24_10127.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_14_10078.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/55/image_13062025_06_56_04_9161.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_55_10114.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_44_10101.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_34_10104.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_24_10127.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_14_10078.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/55/image_13062025_06_56_04_9161.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_55_10114.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_44_10101.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_34_10104.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_24_10127.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_14_10078.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 137.2246925830841 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-07 17:56:02.877815
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/55/image_13062025_06_56_04_9161.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_55_10114.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_44_10101.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_34_10104.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_24_10127.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_14_10078.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/55/image_13062025_06_56_04_9161.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_55_10114.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_44_10101.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_34_10104.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_24_10127.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_14_10078.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/55/image_13062025_06_56_04_9161.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_55_10114.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_44_10101.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_34_10104.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_24_10127.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_14_10078.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/55/image_13062025_06_56_04_9161.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_55_10114.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_44_10101.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_34_10104.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_24_10127.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_14_10078.jpg
uploaded 0 photos
time to upload: 30.386401176452637 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 17:57:02.671742
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/55/image_13062025_06_56_04_9161.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_55_10114.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_44_10101.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_34_10104.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_24_10127.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_14_10078.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/55/image_13062025_06_56_04_9161.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_55_10114.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_44_10101.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_34_10104.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_24_10127.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_14_10078.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/55/image_13062025_06_56_04_9161.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_55_10114.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_44_10101.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_34_10104.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_24_10127.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_14_10078.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/55/image_13062025_06_56_04_9161.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_55_10114.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_44_10101.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_34_10104.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_24_10127.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_14_10078.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 15.8208909034729 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-07 17:59:03.568532
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/55/image_13062025_06_56_04_9161.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_55_10114.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_44_10101.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_34_10104.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_24_10127.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_14_10078.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/55/image_13062025_06_56_04_9161.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_55_10114.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_44_10101.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_34_10104.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_24_10127.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_14_10078.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/55/image_13062025_06_56_04_9161.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_55_10114.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_44_10101.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_34_10104.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_24_10127.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_14_10078.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/55/image_13062025_06_56_04_9161.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_55_10114.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_44_10101.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_34_10104.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_24_10127.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_14_10078.jpg
uploaded 0 photos
time to upload: 30.372488737106323 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:00:03.155685
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/55/image_13062025_06_56_04_9161.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_55_10114.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_44_10101.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_34_10104.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_24_10127.jpg', 2), ('/mnt/data/13062025/06/55/image_13062025_06_55_14_10078.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/55/image_13062025_06_56_04_9161.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_55_10114.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_44_10101.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_34_10104.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_24_10127.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_14_10078.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/55/image_13062025_06_56_04_9161.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_55_10114.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_44_10101.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_34_10104.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_24_10127.jpg', '/mnt/data/13062025/06/55/image_13062025_06_55_14_10078.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/55/image_13062025_06_56_04_9161.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_55_10114.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_44_10101.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_34_10104.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_24_10127.jpg
/mnt/data/13062025/06/55/image_13062025_06_55_14_10078.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":["1375702835","1375702658","1375702724","1375702689","1375702770","1375702803"],"photo_ids_order":["1375702658","1375702689","1375702724","1375702770","1375702803","1375702835"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/96434e9507645e4546fa40f3d385b203.jpg","text":"TemporaryFile(/tmp/multipartBody4526495563243055336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754582486305,"filename":"image_13062025_06_55_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/7/d5860e49d302f7e97c81e63ba9597f36.jpg","text":"TemporaryFile(/tmp/multipartBody6991731681455150344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754582486305,"filename":"image_13062025_06_56_04_9161.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/32361ce58804782ae316309bf5829c6e.jpg","text":"TemporaryFile(/tmp/multipartBody9002794902877992188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754582486305,"filename":"image_13062025_06_55_44_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/7/3e634f6deaafa7bbcb7e3a4d2ac77382.jpg","text":"TemporaryFile(/tmp/multipartBody7944526236128932375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754582486305,"filename":"image_13062025_06_55_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/7/f84e0cd49a545b1d508f55155567876e.jpg","text":"TemporaryFile(/tmp/multipartBody4850075627253176132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754582486305,"filename":"image_13062025_06_55_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/7/5d5e376499c82fbf817b6d51373d8d80.jpg","text":"TemporaryFile(/tmp/multipartBody7720760337099261225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754582486305,"filename":"image_13062025_06_55_24_10127.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375702724","file1":"1375702689","file0":"1375702658","file4":"1375702803","file5":"1375702835","file3":"1375702770"},"map_files_photo_id_array":[{"photo_id":"1375702835","filename":"file5"},{"photo_id":"1375702724","filename":"file2"},{"photo_id":"1375702803","filename":"file4"},{"photo_id":"1375702689","filename":"file1"},{"photo_id":"1375702658","filename":"file0"},{"photo_id":"1375702770","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375702835":["hashtag1","hashtag2"]},{"1375702658":["hashtag1","hashtag2"]},{"1375702724":["hashtag1","hashtag2"]},{"1375702689":["hashtag1","hashtag2"]},{"1375702770":["hashtag1","hashtag2"]},{"1375702803":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375702835, 1375702658, 1375702724, 1375702689, 1375702770, 1375702803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.61119151115417 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:02:02.784376
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/54/image_13062025_06_55_04_10240.jpg', 2), ('/mnt/data/13062025/06/54/image_13062025_06_54_54_8907.jpg', 2), ('/mnt/data/13062025/06/54/image_13062025_06_54_45_10026.jpg', 2), ('/mnt/data/13062025/06/54/image_13062025_06_54_35_10056.jpg', 2), ('/mnt/data/13062025/06/54/image_13062025_06_54_25_9935.jpg', 2), ('/mnt/data/13062025/06/54/image_13062025_06_54_15_11127.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/54/image_13062025_06_55_04_10240.jpg', '/mnt/data/13062025/06/54/image_13062025_06_54_54_8907.jpg', '/mnt/data/13062025/06/54/image_13062025_06_54_45_10026.jpg', '/mnt/data/13062025/06/54/image_13062025_06_54_35_10056.jpg', '/mnt/data/13062025/06/54/image_13062025_06_54_25_9935.jpg', '/mnt/data/13062025/06/54/image_13062025_06_54_15_11127.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/54/image_13062025_06_55_04_10240.jpg', '/mnt/data/13062025/06/54/image_13062025_06_54_54_8907.jpg', '/mnt/data/13062025/06/54/image_13062025_06_54_45_10026.jpg', '/mnt/data/13062025/06/54/image_13062025_06_54_35_10056.jpg', '/mnt/data/13062025/06/54/image_13062025_06_54_25_9935.jpg', '/mnt/data/13062025/06/54/image_13062025_06_54_15_11127.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/54/image_13062025_06_55_04_10240.jpg
/mnt/data/13062025/06/54/image_13062025_06_54_54_8907.jpg
/mnt/data/13062025/06/54/image_13062025_06_54_45_10026.jpg
/mnt/data/13062025/06/54/image_13062025_06_54_35_10056.jpg
/mnt/data/13062025/06/54/image_13062025_06_54_25_9935.jpg
/mnt/data/13062025/06/54/image_13062025_06_54_15_11127.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375703491","1375703488","1375703482","1375703472","1375703486","1375703495"],"photo_ids_order":["1375703472","1375703482","1375703486","1375703488","1375703491","1375703495"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/dd8705334445d5675b9e8e8361f67e6e.jpg","text":"TemporaryFile(/tmp/multipartBody4453425929435055930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754582588665,"filename":"image_13062025_06_54_25_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/7/8f7a07f395de9fc98510ff4703d63079.jpg","text":"TemporaryFile(/tmp/multipartBody7881533130527007450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754582588665,"filename":"image_13062025_06_54_35_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/7/fc11605793aacb4b9067708cb54a6a98.jpg","text":"TemporaryFile(/tmp/multipartBody714079779209496743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754582588665,"filename":"image_13062025_06_54_54_8907.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/cb9b09a6452879a179c96257dd6b568a.jpg","text":"TemporaryFile(/tmp/multipartBody3643916980441734834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754582588665,"filename":"image_13062025_06_55_04_10240.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/ec3c5ab3cb155ee2e0d6311a10c528e7.jpg","text":"TemporaryFile(/tmp/multipartBody4933318687246703722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754582588665,"filename":"image_13062025_06_54_45_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/7/aa3f88eef3c17a5bbd1dd317c2352ce1.jpg","text":"TemporaryFile(/tmp/multipartBody6527501416702542043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754582588665,"filename":"image_13062025_06_54_15_11127.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375703486","file1":"1375703482","file0":"1375703472","file4":"1375703491","file5":"1375703495","file3":"1375703488"},"map_files_photo_id_array":[{"photo_id":"1375703495","filename":"file5"},{"photo_id":"1375703486","filename":"file2"},{"photo_id":"1375703491","filename":"file4"},{"photo_id":"1375703482","filename":"file1"},{"photo_id":"1375703472","filename":"file0"},{"photo_id":"1375703488","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375703491":["hashtag1","hashtag2"]},{"1375703488":["hashtag1","hashtag2"]},{"1375703482":["hashtag1","hashtag2"]},{"1375703472":["hashtag1","hashtag2"]},{"1375703486":["hashtag1","hashtag2"]},{"1375703495":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375703491, 1375703488, 1375703482, 1375703472, 1375703486, 1375703495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.6198832988739 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:03:02.952937
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/53/image_13062025_06_54_04_9015.jpg', 2), ('/mnt/data/13062025/06/53/image_13062025_06_53_55_9994.jpg', 2), ('/mnt/data/13062025/06/53/image_13062025_06_53_45_9990.jpg', 2), ('/mnt/data/13062025/06/53/image_13062025_06_53_35_10714.jpg', 2), ('/mnt/data/13062025/06/53/image_13062025_06_53_25_9882.jpg', 2), ('/mnt/data/13062025/06/53/image_13062025_06_53_14_9968.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/53/image_13062025_06_54_04_9015.jpg', '/mnt/data/13062025/06/53/image_13062025_06_53_55_9994.jpg', '/mnt/data/13062025/06/53/image_13062025_06_53_45_9990.jpg', '/mnt/data/13062025/06/53/image_13062025_06_53_35_10714.jpg', '/mnt/data/13062025/06/53/image_13062025_06_53_25_9882.jpg', '/mnt/data/13062025/06/53/image_13062025_06_53_14_9968.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/53/image_13062025_06_54_04_9015.jpg', '/mnt/data/13062025/06/53/image_13062025_06_53_55_9994.jpg', '/mnt/data/13062025/06/53/image_13062025_06_53_45_9990.jpg', '/mnt/data/13062025/06/53/image_13062025_06_53_35_10714.jpg', '/mnt/data/13062025/06/53/image_13062025_06_53_25_9882.jpg', '/mnt/data/13062025/06/53/image_13062025_06_53_14_9968.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/53/image_13062025_06_54_04_9015.jpg
/mnt/data/13062025/06/53/image_13062025_06_53_55_9994.jpg
/mnt/data/13062025/06/53/image_13062025_06_53_45_9990.jpg
/mnt/data/13062025/06/53/image_13062025_06_53_35_10714.jpg
/mnt/data/13062025/06/53/image_13062025_06_53_25_9882.jpg
/mnt/data/13062025/06/53/image_13062025_06_53_14_9968.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 130.92103481292725 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-07 18:06:02.844502
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/53/image_13062025_06_54_04_9015.jpg', 2), ('/mnt/data/13062025/06/53/image_13062025_06_53_55_9994.jpg', 2), ('/mnt/data/13062025/06/53/image_13062025_06_53_45_9990.jpg', 2), ('/mnt/data/13062025/06/53/image_13062025_06_53_35_10714.jpg', 2), ('/mnt/data/13062025/06/53/image_13062025_06_53_25_9882.jpg', 2), ('/mnt/data/13062025/06/53/image_13062025_06_53_14_9968.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/53/image_13062025_06_54_04_9015.jpg', '/mnt/data/13062025/06/53/image_13062025_06_53_55_9994.jpg', '/mnt/data/13062025/06/53/image_13062025_06_53_45_9990.jpg', '/mnt/data/13062025/06/53/image_13062025_06_53_35_10714.jpg', '/mnt/data/13062025/06/53/image_13062025_06_53_25_9882.jpg', '/mnt/data/13062025/06/53/image_13062025_06_53_14_9968.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/53/image_13062025_06_54_04_9015.jpg', '/mnt/data/13062025/06/53/image_13062025_06_53_55_9994.jpg', '/mnt/data/13062025/06/53/image_13062025_06_53_45_9990.jpg', '/mnt/data/13062025/06/53/image_13062025_06_53_35_10714.jpg', '/mnt/data/13062025/06/53/image_13062025_06_53_25_9882.jpg', '/mnt/data/13062025/06/53/image_13062025_06_53_14_9968.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/53/image_13062025_06_54_04_9015.jpg
/mnt/data/13062025/06/53/image_13062025_06_53_55_9994.jpg
/mnt/data/13062025/06/53/image_13062025_06_53_45_9990.jpg
/mnt/data/13062025/06/53/image_13062025_06_53_35_10714.jpg
/mnt/data/13062025/06/53/image_13062025_06_53_25_9882.jpg
/mnt/data/13062025/06/53/image_13062025_06_53_14_9968.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375704076","1375704063","1375704072","1375704066","1375704060","1375704080"],"photo_ids_order":["1375704060","1375704063","1375704066","1375704072","1375704076","1375704080"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d0504df8ee3cb5e56bb63cdcf68a3622.jpg","text":"TemporaryFile(/tmp/multipartBody6399182104475813104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754582835611,"filename":"image_13062025_06_53_25_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/7/687ea6fce7b4b2a993ede1082ac8feec.jpg","text":"TemporaryFile(/tmp/multipartBody3569985310899058249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754582835611,"filename":"image_13062025_06_53_55_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/7/eae2ca5a796fb1e8e64bed818ec39849.jpg","text":"TemporaryFile(/tmp/multipartBody6325262994262989239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754582835611,"filename":"image_13062025_06_53_35_10714.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/f03056d4430a488d25f1e0e2a2ff40f3.jpg","text":"TemporaryFile(/tmp/multipartBody1849994907319453335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754582835611,"filename":"image_13062025_06_53_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/7/e9e1a40138117eb0416e5f3940d5f22e.jpg","text":"TemporaryFile(/tmp/multipartBody7154134130892753000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754582835611,"filename":"image_13062025_06_54_04_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/7/5c2a734c591f01510d972b9d3894420a.jpg","text":"TemporaryFile(/tmp/multipartBody7844906901340183221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754582835611,"filename":"image_13062025_06_53_14_9968.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375704066","file1":"1375704063","file0":"1375704060","file4":"1375704076","file5":"1375704080","file3":"1375704072"},"map_files_photo_id_array":[{"photo_id":"1375704080","filename":"file5"},{"photo_id":"1375704066","filename":"file2"},{"photo_id":"1375704076","filename":"file4"},{"photo_id":"1375704063","filename":"file1"},{"photo_id":"1375704060","filename":"file0"},{"photo_id":"1375704072","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375704076":["hashtag1","hashtag2"]},{"1375704063":["hashtag1","hashtag2"]},{"1375704072":["hashtag1","hashtag2"]},{"1375704066":["hashtag1","hashtag2"]},{"1375704060":["hashtag1","hashtag2"]},{"1375704080":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375704076, 1375704063, 1375704072, 1375704066, 1375704060, 1375704080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.1920051574707 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:07:02.595015
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/52/image_13062025_06_53_04_10026.jpg', 2), ('/mnt/data/13062025/06/52/image_13062025_06_52_54_9984.jpg', 2), ('/mnt/data/13062025/06/52/image_13062025_06_52_44_9982.jpg', 2), ('/mnt/data/13062025/06/52/image_13062025_06_52_34_10042.jpg', 2), ('/mnt/data/13062025/06/52/image_13062025_06_52_24_10012.jpg', 2), ('/mnt/data/13062025/06/52/image_13062025_06_52_14_9957.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/52/image_13062025_06_53_04_10026.jpg', '/mnt/data/13062025/06/52/image_13062025_06_52_54_9984.jpg', '/mnt/data/13062025/06/52/image_13062025_06_52_44_9982.jpg', '/mnt/data/13062025/06/52/image_13062025_06_52_34_10042.jpg', '/mnt/data/13062025/06/52/image_13062025_06_52_24_10012.jpg', '/mnt/data/13062025/06/52/image_13062025_06_52_14_9957.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/52/image_13062025_06_53_04_10026.jpg', '/mnt/data/13062025/06/52/image_13062025_06_52_54_9984.jpg', '/mnt/data/13062025/06/52/image_13062025_06_52_44_9982.jpg', '/mnt/data/13062025/06/52/image_13062025_06_52_34_10042.jpg', '/mnt/data/13062025/06/52/image_13062025_06_52_24_10012.jpg', '/mnt/data/13062025/06/52/image_13062025_06_52_14_9957.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/52/image_13062025_06_53_04_10026.jpg
/mnt/data/13062025/06/52/image_13062025_06_52_54_9984.jpg
/mnt/data/13062025/06/52/image_13062025_06_52_44_9982.jpg
/mnt/data/13062025/06/52/image_13062025_06_52_34_10042.jpg
/mnt/data/13062025/06/52/image_13062025_06_52_24_10012.jpg
/mnt/data/13062025/06/52/image_13062025_06_52_14_9957.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 131.24691915512085 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-07 18:10:02.823374
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/52/image_13062025_06_53_04_10026.jpg', 2), ('/mnt/data/13062025/06/52/image_13062025_06_52_54_9984.jpg', 2), ('/mnt/data/13062025/06/52/image_13062025_06_52_44_9982.jpg', 2), ('/mnt/data/13062025/06/52/image_13062025_06_52_34_10042.jpg', 2), ('/mnt/data/13062025/06/52/image_13062025_06_52_24_10012.jpg', 2), ('/mnt/data/13062025/06/52/image_13062025_06_52_14_9957.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/52/image_13062025_06_53_04_10026.jpg', '/mnt/data/13062025/06/52/image_13062025_06_52_54_9984.jpg', '/mnt/data/13062025/06/52/image_13062025_06_52_44_9982.jpg', '/mnt/data/13062025/06/52/image_13062025_06_52_34_10042.jpg', '/mnt/data/13062025/06/52/image_13062025_06_52_24_10012.jpg', '/mnt/data/13062025/06/52/image_13062025_06_52_14_9957.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/52/image_13062025_06_53_04_10026.jpg', '/mnt/data/13062025/06/52/image_13062025_06_52_54_9984.jpg', '/mnt/data/13062025/06/52/image_13062025_06_52_44_9982.jpg', '/mnt/data/13062025/06/52/image_13062025_06_52_34_10042.jpg', '/mnt/data/13062025/06/52/image_13062025_06_52_24_10012.jpg', '/mnt/data/13062025/06/52/image_13062025_06_52_14_9957.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/52/image_13062025_06_53_04_10026.jpg
/mnt/data/13062025/06/52/image_13062025_06_52_54_9984.jpg
/mnt/data/13062025/06/52/image_13062025_06_52_44_9982.jpg
/mnt/data/13062025/06/52/image_13062025_06_52_34_10042.jpg
/mnt/data/13062025/06/52/image_13062025_06_52_24_10012.jpg
/mnt/data/13062025/06/52/image_13062025_06_52_14_9957.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375704559","1375704594","1375704660","1375704639","1375704519","1375704626"],"photo_ids_order":["1375704519","1375704559","1375704594","1375704626","1375704639","1375704660"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/3bb1adb985ff011c0a9fbfbb00f893e6.jpg","text":"TemporaryFile(/tmp/multipartBody3382713921253593393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583078777,"filename":"image_13062025_06_52_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/7/2ec73f5c883ea0e444d90c06c637b09a.jpg","text":"TemporaryFile(/tmp/multipartBody7472733076232569051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583078777,"filename":"image_13062025_06_52_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/7/2d922d13288f5b94ecb20198189347dd.jpg","text":"TemporaryFile(/tmp/multipartBody4415548154643028413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583078777,"filename":"image_13062025_06_52_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/7/d43a839a67f19b14a2e453f704308626.jpg","text":"TemporaryFile(/tmp/multipartBody6462292132491124935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583078777,"filename":"image_13062025_06_52_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/7/7cdae16d2bdf6442053c647436199e1c.jpg","text":"TemporaryFile(/tmp/multipartBody8587639900543856562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583078777,"filename":"image_13062025_06_53_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/7/ad9524692bef04419d7889e3feafd18f.jpg","text":"TemporaryFile(/tmp/multipartBody3190822616532287402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583078777,"filename":"image_13062025_06_52_34_10042.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375704594","file1":"1375704559","file0":"1375704519","file4":"1375704639","file5":"1375704660","file3":"1375704626"},"map_files_photo_id_array":[{"photo_id":"1375704660","filename":"file5"},{"photo_id":"1375704594","filename":"file2"},{"photo_id":"1375704639","filename":"file4"},{"photo_id":"1375704559","filename":"file1"},{"photo_id":"1375704519","filename":"file0"},{"photo_id":"1375704626","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375704559":["hashtag1","hashtag2"]},{"1375704594":["hashtag1","hashtag2"]},{"1375704660":["hashtag1","hashtag2"]},{"1375704639":["hashtag1","hashtag2"]},{"1375704519":["hashtag1","hashtag2"]},{"1375704626":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375704559, 1375704594, 1375704660, 1375704639, 1375704519, 1375704626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.44927144050598 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:11:02.933347
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/51/image_13062025_06_52_04_10237.jpg', 2), ('/mnt/data/13062025/06/51/image_13062025_06_51_54_9978.jpg', 2), ('/mnt/data/13062025/06/51/image_13062025_06_51_44_9943.jpg', 2), ('/mnt/data/13062025/06/51/image_13062025_06_51_34_10064.jpg', 2), ('/mnt/data/13062025/06/51/image_13062025_06_51_24_10089.jpg', 2), ('/mnt/data/13062025/06/51/image_13062025_06_51_14_10152.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/51/image_13062025_06_52_04_10237.jpg', '/mnt/data/13062025/06/51/image_13062025_06_51_54_9978.jpg', '/mnt/data/13062025/06/51/image_13062025_06_51_44_9943.jpg', '/mnt/data/13062025/06/51/image_13062025_06_51_34_10064.jpg', '/mnt/data/13062025/06/51/image_13062025_06_51_24_10089.jpg', '/mnt/data/13062025/06/51/image_13062025_06_51_14_10152.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/51/image_13062025_06_52_04_10237.jpg', '/mnt/data/13062025/06/51/image_13062025_06_51_54_9978.jpg', '/mnt/data/13062025/06/51/image_13062025_06_51_44_9943.jpg', '/mnt/data/13062025/06/51/image_13062025_06_51_34_10064.jpg', '/mnt/data/13062025/06/51/image_13062025_06_51_24_10089.jpg', '/mnt/data/13062025/06/51/image_13062025_06_51_14_10152.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/51/image_13062025_06_52_04_10237.jpg
/mnt/data/13062025/06/51/image_13062025_06_51_54_9978.jpg
/mnt/data/13062025/06/51/image_13062025_06_51_44_9943.jpg
/mnt/data/13062025/06/51/image_13062025_06_51_34_10064.jpg
/mnt/data/13062025/06/51/image_13062025_06_51_24_10089.jpg
/mnt/data/13062025/06/51/image_13062025_06_51_14_10152.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375704808","1375704789","1375704774","1375704813","1375704815","1375704769"],"photo_ids_order":["1375704769","1375704774","1375704789","1375704808","1375704813","1375704815"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/be13eb6169992d635e9c3291b1e16b79.jpg","text":"TemporaryFile(/tmp/multipartBody3889651724980573202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583139126,"filename":"image_13062025_06_51_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/7/e47a54aa935fce41adfef8c149bc505e.jpg","text":"TemporaryFile(/tmp/multipartBody4025954147772049101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583139126,"filename":"image_13062025_06_51_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/7/d75755831f0f3ec2d9fa73c1f2335f9b.jpg","text":"TemporaryFile(/tmp/multipartBody4738671607738849861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583139126,"filename":"image_13062025_06_51_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/7/8c7f507d7c1efffa536542c66e12bc19.jpg","text":"TemporaryFile(/tmp/multipartBody3137317725500964596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583139126,"filename":"image_13062025_06_51_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/7/ffd08f7f34cdfae0e4b142a527877e0d.jpg","text":"TemporaryFile(/tmp/multipartBody5102814348594693029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583139126,"filename":"image_13062025_06_51_14_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/7/382158627c44e228e32754b8742e610a.jpg","text":"TemporaryFile(/tmp/multipartBody8158701603173040451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583139126,"filename":"image_13062025_06_52_04_10237.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375704789","file1":"1375704774","file0":"1375704769","file4":"1375704813","file5":"1375704815","file3":"1375704808"},"map_files_photo_id_array":[{"photo_id":"1375704815","filename":"file5"},{"photo_id":"1375704789","filename":"file2"},{"photo_id":"1375704813","filename":"file4"},{"photo_id":"1375704774","filename":"file1"},{"photo_id":"1375704769","filename":"file0"},{"photo_id":"1375704808","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375704808":["hashtag1","hashtag2"]},{"1375704789":["hashtag1","hashtag2"]},{"1375704774":["hashtag1","hashtag2"]},{"1375704813":["hashtag1","hashtag2"]},{"1375704815":["hashtag1","hashtag2"]},{"1375704769":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375704808, 1375704789, 1375704774, 1375704813, 1375704815, 1375704769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.595516204833984 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:12:03.356599
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/50/image_13062025_06_51_04_9113.jpg', 2), ('/mnt/data/13062025/06/50/image_13062025_06_50_55_10028.jpg', 2), ('/mnt/data/13062025/06/49/image_13062025_06_49_14_10086.jpg', 2), ('/mnt/data/13062025/06/48/image_13062025_06_48_35_10199.jpg', 2), ('/mnt/data/13062025/06/48/image_13062025_06_48_25_10187.jpg', 2), ('/mnt/data/13062025/06/47/image_13062025_06_48_04_10316.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/50/image_13062025_06_51_04_9113.jpg', '/mnt/data/13062025/06/50/image_13062025_06_50_55_10028.jpg', '/mnt/data/13062025/06/49/image_13062025_06_49_14_10086.jpg', '/mnt/data/13062025/06/48/image_13062025_06_48_35_10199.jpg', '/mnt/data/13062025/06/48/image_13062025_06_48_25_10187.jpg', '/mnt/data/13062025/06/47/image_13062025_06_48_04_10316.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/50/image_13062025_06_51_04_9113.jpg', '/mnt/data/13062025/06/50/image_13062025_06_50_55_10028.jpg', '/mnt/data/13062025/06/49/image_13062025_06_49_14_10086.jpg', '/mnt/data/13062025/06/48/image_13062025_06_48_35_10199.jpg', '/mnt/data/13062025/06/48/image_13062025_06_48_25_10187.jpg', '/mnt/data/13062025/06/47/image_13062025_06_48_04_10316.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/50/image_13062025_06_51_04_9113.jpg
/mnt/data/13062025/06/50/image_13062025_06_50_55_10028.jpg
/mnt/data/13062025/06/49/image_13062025_06_49_14_10086.jpg
/mnt/data/13062025/06/48/image_13062025_06_48_35_10199.jpg
/mnt/data/13062025/06/48/image_13062025_06_48_25_10187.jpg
/mnt/data/13062025/06/47/image_13062025_06_48_04_10316.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":["1375704882","1375704888","1375704896","1375704892","1375704886","1375704889"],"photo_ids_order":["1375704882","1375704886","1375704888","1375704889","1375704892","1375704896"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/0f5e1f6e3b66026f8335239ea3f3461b.jpg","text":"TemporaryFile(/tmp/multipartBody9170213395952601858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583209266,"filename":"image_13062025_06_51_04_9113.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d95270e3022387b0b049fcff13f5ed91.jpg","text":"TemporaryFile(/tmp/multipartBody7014075392426124630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583209266,"filename":"image_13062025_06_49_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/7/511a05fb07378869914b142e2d992dda.jpg","text":"TemporaryFile(/tmp/multipartBody6046847179463349153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583209266,"filename":"image_13062025_06_48_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/7/3be4700d13cfeeb877a1a123f62cb475.jpg","text":"TemporaryFile(/tmp/multipartBody5994805466287478551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583209266,"filename":"image_13062025_06_48_25_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/7/d72b8ec6a3b64a7725db23af329ca112.jpg","text":"TemporaryFile(/tmp/multipartBody4524699194516253689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583209266,"filename":"image_13062025_06_50_55_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/7/56633782be4e224b8e503ac774b6ed36.jpg","text":"TemporaryFile(/tmp/multipartBody5810915401247025695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583209266,"filename":"image_13062025_06_48_35_10199.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375704888","file1":"1375704886","file0":"1375704882","file4":"1375704892","file5":"1375704896","file3":"1375704889"},"map_files_photo_id_array":[{"photo_id":"1375704896","filename":"file5"},{"photo_id":"1375704888","filename":"file2"},{"photo_id":"1375704892","filename":"file4"},{"photo_id":"1375704886","filename":"file1"},{"photo_id":"1375704882","filename":"file0"},{"photo_id":"1375704889","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375704882":["hashtag1","hashtag2"]},{"1375704888":["hashtag1","hashtag2"]},{"1375704896":["hashtag1","hashtag2"]},{"1375704892":["hashtag1","hashtag2"]},{"1375704886":["hashtag1","hashtag2"]},{"1375704889":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375704882, 1375704888, 1375704896, 1375704892, 1375704886, 1375704889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.94757199287415 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:14:02.398142
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/47/image_13062025_06_47_54_9789.jpg', 2), ('/mnt/data/13062025/06/47/image_13062025_06_47_44_9941.jpg', 2), ('/mnt/data/13062025/06/47/image_13062025_06_47_34_9978.jpg', 2), ('/mnt/data/13062025/06/47/image_13062025_06_47_24_9936.jpg', 2), ('/mnt/data/13062025/06/47/image_13062025_06_47_14_9993.jpg', 2), ('/mnt/data/13062025/06/46/image_13062025_06_47_04_10055.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/47/image_13062025_06_47_54_9789.jpg', '/mnt/data/13062025/06/47/image_13062025_06_47_44_9941.jpg', '/mnt/data/13062025/06/47/image_13062025_06_47_34_9978.jpg', '/mnt/data/13062025/06/47/image_13062025_06_47_24_9936.jpg', '/mnt/data/13062025/06/47/image_13062025_06_47_14_9993.jpg', '/mnt/data/13062025/06/46/image_13062025_06_47_04_10055.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/47/image_13062025_06_47_54_9789.jpg', '/mnt/data/13062025/06/47/image_13062025_06_47_44_9941.jpg', '/mnt/data/13062025/06/47/image_13062025_06_47_34_9978.jpg', '/mnt/data/13062025/06/47/image_13062025_06_47_24_9936.jpg', '/mnt/data/13062025/06/47/image_13062025_06_47_14_9993.jpg', '/mnt/data/13062025/06/46/image_13062025_06_47_04_10055.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/47/image_13062025_06_47_54_9789.jpg
/mnt/data/13062025/06/47/image_13062025_06_47_44_9941.jpg
/mnt/data/13062025/06/47/image_13062025_06_47_34_9978.jpg
/mnt/data/13062025/06/47/image_13062025_06_47_24_9936.jpg
/mnt/data/13062025/06/47/image_13062025_06_47_14_9993.jpg
/mnt/data/13062025/06/46/image_13062025_06_47_04_10055.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375705380","1375705422","1375705407","1375705391","1375705436","1375705415"],"photo_ids_order":["1375705380","1375705391","1375705407","1375705415","1375705422","1375705436"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/40b4cc50acc54d8014b0dc926f43d710.jpg","text":"TemporaryFile(/tmp/multipartBody8032119306189003452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583318196,"filename":"image_13062025_06_47_54_9789.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/34fc4d71fdb89e2c936174967c208f49.jpg","text":"TemporaryFile(/tmp/multipartBody3569409923557025937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583318196,"filename":"image_13062025_06_47_14_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/7/3d0d18a8c1d43f33c2ce31dcf1b542b3.jpg","text":"TemporaryFile(/tmp/multipartBody2512139993783341830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583318196,"filename":"image_13062025_06_47_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/7/9c5bb8d9acaac8626d50a82fa53c2fad.jpg","text":"TemporaryFile(/tmp/multipartBody8755719835292744125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583318196,"filename":"image_13062025_06_47_44_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/7/33019497aa4e13d83acf0b35ba5c432e.jpg","text":"TemporaryFile(/tmp/multipartBody5147595361600034510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583318196,"filename":"image_13062025_06_47_04_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/7/6e52327e4ca01c9ea7f172e5e05a5461.jpg","text":"TemporaryFile(/tmp/multipartBody9147237795593820068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583318196,"filename":"image_13062025_06_47_24_9936.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375705407","file1":"1375705391","file0":"1375705380","file4":"1375705422","file5":"1375705436","file3":"1375705415"},"map_files_photo_id_array":[{"photo_id":"1375705436","filename":"file5"},{"photo_id":"1375705407","filename":"file2"},{"photo_id":"1375705422","filename":"file4"},{"photo_id":"1375705391","filename":"file1"},{"photo_id":"1375705380","filename":"file0"},{"photo_id":"1375705415","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375705380":["hashtag1","hashtag2"]},{"1375705422":["hashtag1","hashtag2"]},{"1375705407":["hashtag1","hashtag2"]},{"1375705391":["hashtag1","hashtag2"]},{"1375705436":["hashtag1","hashtag2"]},{"1375705415":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375705380, 1375705422, 1375705407, 1375705391, 1375705436, 1375705415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.139272689819336 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:15:03.568371
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/46/image_13062025_06_46_54_10028.jpg', 2), ('/mnt/data/13062025/06/46/image_13062025_06_46_44_10003.jpg', 2), ('/mnt/data/13062025/06/46/image_13062025_06_46_34_9951.jpg', 2), ('/mnt/data/13062025/06/46/image_13062025_06_46_24_9959.jpg', 2), ('/mnt/data/13062025/06/46/image_13062025_06_46_14_10013.jpg', 2), ('/mnt/data/13062025/06/45/image_13062025_06_46_04_10414.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/46/image_13062025_06_46_54_10028.jpg', '/mnt/data/13062025/06/46/image_13062025_06_46_44_10003.jpg', '/mnt/data/13062025/06/46/image_13062025_06_46_34_9951.jpg', '/mnt/data/13062025/06/46/image_13062025_06_46_24_9959.jpg', '/mnt/data/13062025/06/46/image_13062025_06_46_14_10013.jpg', '/mnt/data/13062025/06/45/image_13062025_06_46_04_10414.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/46/image_13062025_06_46_54_10028.jpg', '/mnt/data/13062025/06/46/image_13062025_06_46_44_10003.jpg', '/mnt/data/13062025/06/46/image_13062025_06_46_34_9951.jpg', '/mnt/data/13062025/06/46/image_13062025_06_46_24_9959.jpg', '/mnt/data/13062025/06/46/image_13062025_06_46_14_10013.jpg', '/mnt/data/13062025/06/45/image_13062025_06_46_04_10414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/46/image_13062025_06_46_54_10028.jpg
/mnt/data/13062025/06/46/image_13062025_06_46_44_10003.jpg
/mnt/data/13062025/06/46/image_13062025_06_46_34_9951.jpg
/mnt/data/13062025/06/46/image_13062025_06_46_24_9959.jpg
/mnt/data/13062025/06/46/image_13062025_06_46_14_10013.jpg
/mnt/data/13062025/06/45/image_13062025_06_46_04_10414.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375705488","1375705476","1375705493","1375705490","1375705484","1375705480"],"photo_ids_order":["1375705476","1375705480","1375705484","1375705488","1375705490","1375705493"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/b6f4f542dcce61aaaad7a0ba6c97bf3f.jpg","text":"TemporaryFile(/tmp/multipartBody5747176987100425998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583378578,"filename":"image_13062025_06_46_24_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/7/9bacf0da2d3c7ba534617ecfe85e255d.jpg","text":"TemporaryFile(/tmp/multipartBody4571076814178330257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583378578,"filename":"image_13062025_06_46_54_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/7/694f0439e74c9438b7a37b936ee4b1f3.jpg","text":"TemporaryFile(/tmp/multipartBody7925931234221451984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583378578,"filename":"image_13062025_06_46_04_10414.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/8e42df4956507a4816d61860d231e067.jpg","text":"TemporaryFile(/tmp/multipartBody656100302946669808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583378578,"filename":"image_13062025_06_46_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/7/5a3b600f81e3b8746c3ffa674b4c02ea.jpg","text":"TemporaryFile(/tmp/multipartBody3860675932734537321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583378578,"filename":"image_13062025_06_46_34_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/7/4dcb9f06f8ac1a8ae278b134833bd692.jpg","text":"TemporaryFile(/tmp/multipartBody4219183437272106243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583378578,"filename":"image_13062025_06_46_44_10003.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375705484","file1":"1375705480","file0":"1375705476","file4":"1375705490","file5":"1375705493","file3":"1375705488"},"map_files_photo_id_array":[{"photo_id":"1375705493","filename":"file5"},{"photo_id":"1375705484","filename":"file2"},{"photo_id":"1375705490","filename":"file4"},{"photo_id":"1375705480","filename":"file1"},{"photo_id":"1375705476","filename":"file0"},{"photo_id":"1375705488","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375705488":["hashtag1","hashtag2"]},{"1375705476":["hashtag1","hashtag2"]},{"1375705493":["hashtag1","hashtag2"]},{"1375705490":["hashtag1","hashtag2"]},{"1375705484":["hashtag1","hashtag2"]},{"1375705480":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375705488, 1375705476, 1375705493, 1375705490, 1375705484, 1375705480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.256587982177734 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:16:03.124584
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/44/image_13062025_06_44_14_10153.jpg', 2), ('/mnt/data/13062025/06/43/image_13062025_06_43_14_9949.jpg', 2), ('/mnt/data/13062025/06/41/image_13062025_06_42_04_10331.jpg', 2), ('/mnt/data/13062025/06/41/image_13062025_06_41_54_9954.jpg', 2), ('/mnt/data/13062025/06/40/image_13062025_06_40_44_9995.jpg', 2), ('/mnt/data/13062025/06/40/image_13062025_06_40_34_10012.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/44/image_13062025_06_44_14_10153.jpg', '/mnt/data/13062025/06/43/image_13062025_06_43_14_9949.jpg', '/mnt/data/13062025/06/41/image_13062025_06_42_04_10331.jpg', '/mnt/data/13062025/06/41/image_13062025_06_41_54_9954.jpg', '/mnt/data/13062025/06/40/image_13062025_06_40_44_9995.jpg', '/mnt/data/13062025/06/40/image_13062025_06_40_34_10012.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/44/image_13062025_06_44_14_10153.jpg', '/mnt/data/13062025/06/43/image_13062025_06_43_14_9949.jpg', '/mnt/data/13062025/06/41/image_13062025_06_42_04_10331.jpg', '/mnt/data/13062025/06/41/image_13062025_06_41_54_9954.jpg', '/mnt/data/13062025/06/40/image_13062025_06_40_44_9995.jpg', '/mnt/data/13062025/06/40/image_13062025_06_40_34_10012.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/44/image_13062025_06_44_14_10153.jpg
/mnt/data/13062025/06/43/image_13062025_06_43_14_9949.jpg
/mnt/data/13062025/06/41/image_13062025_06_42_04_10331.jpg
/mnt/data/13062025/06/41/image_13062025_06_41_54_9954.jpg
/mnt/data/13062025/06/40/image_13062025_06_40_44_9995.jpg
/mnt/data/13062025/06/40/image_13062025_06_40_34_10012.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375705566","1375705568","1375705559","1375705555","1375705564","1375705546"],"photo_ids_order":["1375705546","1375705555","1375705559","1375705564","1375705566","1375705568"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/ce914ebb4128df90da965f6cbd49e1df.jpg","text":"TemporaryFile(/tmp/multipartBody2201802757677797990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583438856,"filename":"image_13062025_06_40_44_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/7/b246a0c5466be2886fa6f08191445e15.jpg","text":"TemporaryFile(/tmp/multipartBody7056606568995389588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583438856,"filename":"image_13062025_06_40_34_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/7/37630fa8c856c8686c73ed794fa3d2df.jpg","text":"TemporaryFile(/tmp/multipartBody6702476488562148144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583438856,"filename":"image_13062025_06_42_04_10331.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/4a4c5f26236abdcd85c83bba0d43bcf5.jpg","text":"TemporaryFile(/tmp/multipartBody5210238818803175744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583438856,"filename":"image_13062025_06_43_14_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/7/7b98f4d013f844ec430046f3fcca51b2.jpg","text":"TemporaryFile(/tmp/multipartBody4753458594438729160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583438856,"filename":"image_13062025_06_41_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/7/231d9c9142f20e75164b1195a874995b.jpg","text":"TemporaryFile(/tmp/multipartBody962367513733474784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583438856,"filename":"image_13062025_06_44_14_10153.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375705559","file1":"1375705555","file0":"1375705546","file4":"1375705566","file5":"1375705568","file3":"1375705564"},"map_files_photo_id_array":[{"photo_id":"1375705568","filename":"file5"},{"photo_id":"1375705559","filename":"file2"},{"photo_id":"1375705566","filename":"file4"},{"photo_id":"1375705555","filename":"file1"},{"photo_id":"1375705546","filename":"file0"},{"photo_id":"1375705564","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375705566":["hashtag1","hashtag2"]},{"1375705568":["hashtag1","hashtag2"]},{"1375705559":["hashtag1","hashtag2"]},{"1375705555":["hashtag1","hashtag2"]},{"1375705564":["hashtag1","hashtag2"]},{"1375705546":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375705566, 1375705568, 1375705559, 1375705555, 1375705564, 1375705546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.10131812095642 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:17:02.990302
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/40/image_13062025_06_40_24_10011.jpg', 2), ('/mnt/data/13062025/06/40/image_13062025_06_40_14_10003.jpg', 2), ('/mnt/data/13062025/06/39/image_13062025_06_40_04_10134.jpg', 2), ('/mnt/data/13062025/06/39/image_13062025_06_39_54_9962.jpg', 2), ('/mnt/data/13062025/06/39/image_13062025_06_39_44_9973.jpg', 2), ('/mnt/data/13062025/06/39/image_13062025_06_39_34_9998.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/40/image_13062025_06_40_24_10011.jpg', '/mnt/data/13062025/06/40/image_13062025_06_40_14_10003.jpg', '/mnt/data/13062025/06/39/image_13062025_06_40_04_10134.jpg', '/mnt/data/13062025/06/39/image_13062025_06_39_54_9962.jpg', '/mnt/data/13062025/06/39/image_13062025_06_39_44_9973.jpg', '/mnt/data/13062025/06/39/image_13062025_06_39_34_9998.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/40/image_13062025_06_40_24_10011.jpg', '/mnt/data/13062025/06/40/image_13062025_06_40_14_10003.jpg', '/mnt/data/13062025/06/39/image_13062025_06_40_04_10134.jpg', '/mnt/data/13062025/06/39/image_13062025_06_39_54_9962.jpg', '/mnt/data/13062025/06/39/image_13062025_06_39_44_9973.jpg', '/mnt/data/13062025/06/39/image_13062025_06_39_34_9998.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/40/image_13062025_06_40_24_10011.jpg
/mnt/data/13062025/06/40/image_13062025_06_40_14_10003.jpg
/mnt/data/13062025/06/39/image_13062025_06_40_04_10134.jpg
/mnt/data/13062025/06/39/image_13062025_06_39_54_9962.jpg
/mnt/data/13062025/06/39/image_13062025_06_39_44_9973.jpg
/mnt/data/13062025/06/39/image_13062025_06_39_34_9998.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 6.271348714828491 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-07 18:18:03.409767
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/40/image_13062025_06_40_24_10011.jpg', 2), ('/mnt/data/13062025/06/40/image_13062025_06_40_14_10003.jpg', 2), ('/mnt/data/13062025/06/39/image_13062025_06_40_04_10134.jpg', 2), ('/mnt/data/13062025/06/39/image_13062025_06_39_54_9962.jpg', 2), ('/mnt/data/13062025/06/39/image_13062025_06_39_44_9973.jpg', 2), ('/mnt/data/13062025/06/39/image_13062025_06_39_34_9998.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/40/image_13062025_06_40_24_10011.jpg', '/mnt/data/13062025/06/40/image_13062025_06_40_14_10003.jpg', '/mnt/data/13062025/06/39/image_13062025_06_40_04_10134.jpg', '/mnt/data/13062025/06/39/image_13062025_06_39_54_9962.jpg', '/mnt/data/13062025/06/39/image_13062025_06_39_44_9973.jpg', '/mnt/data/13062025/06/39/image_13062025_06_39_34_9998.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/40/image_13062025_06_40_24_10011.jpg', '/mnt/data/13062025/06/40/image_13062025_06_40_14_10003.jpg', '/mnt/data/13062025/06/39/image_13062025_06_40_04_10134.jpg', '/mnt/data/13062025/06/39/image_13062025_06_39_54_9962.jpg', '/mnt/data/13062025/06/39/image_13062025_06_39_44_9973.jpg', '/mnt/data/13062025/06/39/image_13062025_06_39_34_9998.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/40/image_13062025_06_40_24_10011.jpg
/mnt/data/13062025/06/40/image_13062025_06_40_14_10003.jpg
/mnt/data/13062025/06/39/image_13062025_06_40_04_10134.jpg
/mnt/data/13062025/06/39/image_13062025_06_39_54_9962.jpg
/mnt/data/13062025/06/39/image_13062025_06_39_44_9973.jpg
/mnt/data/13062025/06/39/image_13062025_06_39_34_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":["1375705892","1375705889","1375705844","1375705894","1375705897","1375705879"],"photo_ids_order":["1375705844","1375705879","1375705889","1375705892","1375705894","1375705897"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d45c3cd6614a2be2d5dfe9446c200b93.jpg","text":"TemporaryFile(/tmp/multipartBody5398877465476345069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583565326,"filename":"image_13062025_06_39_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/7/b4d56d6ec6b81832cf14587f8e2a1aad.jpg","text":"TemporaryFile(/tmp/multipartBody6495188003824165664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583565326,"filename":"image_13062025_06_40_04_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/7/560012350863964c16a2e88ef3f8fed5.jpg","text":"TemporaryFile(/tmp/multipartBody4039244969030422656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583565326,"filename":"image_13062025_06_40_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/7/153d45c53c7cd89cc1f39441f4abfbd1.jpg","text":"TemporaryFile(/tmp/multipartBody7862859120296800518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583565326,"filename":"image_13062025_06_39_44_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/7/519672aa463b887852c4c001ed8edb1a.jpg","text":"TemporaryFile(/tmp/multipartBody1958397033754482452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583565326,"filename":"image_13062025_06_39_34_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/7/a59d3233d91aa386a56a0b14a27be2e9.jpg","text":"TemporaryFile(/tmp/multipartBody8526462386774021860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583565326,"filename":"image_13062025_06_40_14_10003.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375705889","file1":"1375705879","file0":"1375705844","file4":"1375705894","file5":"1375705897","file3":"1375705892"},"map_files_photo_id_array":[{"photo_id":"1375705897","filename":"file5"},{"photo_id":"1375705889","filename":"file2"},{"photo_id":"1375705894","filename":"file4"},{"photo_id":"1375705879","filename":"file1"},{"photo_id":"1375705844","filename":"file0"},{"photo_id":"1375705892","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375705892":["hashtag1","hashtag2"]},{"1375705889":["hashtag1","hashtag2"]},{"1375705844":["hashtag1","hashtag2"]},{"1375705894":["hashtag1","hashtag2"]},{"1375705897":["hashtag1","hashtag2"]},{"1375705879":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375705892, 1375705889, 1375705844, 1375705894, 1375705897, 1375705879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.72262620925903 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:20:02.296722
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/39/image_13062025_06_39_24_9932.jpg', 2), ('/mnt/data/13062025/06/39/image_13062025_06_39_14_10140.jpg', 2), ('/mnt/data/13062025/06/38/image_13062025_06_39_04_10070.jpg', 2), ('/mnt/data/13062025/06/38/image_13062025_06_38_54_9969.jpg', 2), ('/mnt/data/13062025/06/38/image_13062025_06_38_44_9948.jpg', 2), ('/mnt/data/13062025/06/38/image_13062025_06_38_34_9969.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/39/image_13062025_06_39_24_9932.jpg', '/mnt/data/13062025/06/39/image_13062025_06_39_14_10140.jpg', '/mnt/data/13062025/06/38/image_13062025_06_39_04_10070.jpg', '/mnt/data/13062025/06/38/image_13062025_06_38_54_9969.jpg', '/mnt/data/13062025/06/38/image_13062025_06_38_44_9948.jpg', '/mnt/data/13062025/06/38/image_13062025_06_38_34_9969.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/39/image_13062025_06_39_24_9932.jpg', '/mnt/data/13062025/06/39/image_13062025_06_39_14_10140.jpg', '/mnt/data/13062025/06/38/image_13062025_06_39_04_10070.jpg', '/mnt/data/13062025/06/38/image_13062025_06_38_54_9969.jpg', '/mnt/data/13062025/06/38/image_13062025_06_38_44_9948.jpg', '/mnt/data/13062025/06/38/image_13062025_06_38_34_9969.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/39/image_13062025_06_39_24_9932.jpg
/mnt/data/13062025/06/39/image_13062025_06_39_14_10140.jpg
/mnt/data/13062025/06/38/image_13062025_06_39_04_10070.jpg
/mnt/data/13062025/06/38/image_13062025_06_38_54_9969.jpg
/mnt/data/13062025/06/38/image_13062025_06_38_44_9948.jpg
/mnt/data/13062025/06/38/image_13062025_06_38_34_9969.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375706049","1375706118","1375706192","1375706228","1375706156","1375706085"],"photo_ids_order":["1375706049","1375706085","1375706118","1375706156","1375706192","1375706228"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/2352a9625bb41a95d74c43243be26f5c.jpg","text":"TemporaryFile(/tmp/multipartBody6140373967049149360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583671085,"filename":"image_13062025_06_39_24_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/7/1a82c33635f2da6c3fcfbe42c0f5ae6c.jpg","text":"TemporaryFile(/tmp/multipartBody3889932306758329343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583671085,"filename":"image_13062025_06_39_04_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/7/357051030914a675b6295170c249498f.jpg","text":"TemporaryFile(/tmp/multipartBody340900594918032960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583671085,"filename":"image_13062025_06_38_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/7/16c8976c46ad06900637c00c57679dc7.jpg","text":"TemporaryFile(/tmp/multipartBody8023055626043777965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583671085,"filename":"image_13062025_06_38_34_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/7/f782c13002704d9c94ca4d3a4150a5e5.jpg","text":"TemporaryFile(/tmp/multipartBody234855400930768656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583671085,"filename":"image_13062025_06_38_54_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/7/3532dd42bab1c3cc95c8d666afa5ad55.jpg","text":"TemporaryFile(/tmp/multipartBody2549996386546209324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583671085,"filename":"image_13062025_06_39_14_10140.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375706118","file1":"1375706085","file0":"1375706049","file4":"1375706192","file5":"1375706228","file3":"1375706156"},"map_files_photo_id_array":[{"photo_id":"1375706228","filename":"file5"},{"photo_id":"1375706118","filename":"file2"},{"photo_id":"1375706192","filename":"file4"},{"photo_id":"1375706085","filename":"file1"},{"photo_id":"1375706049","filename":"file0"},{"photo_id":"1375706156","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375706049":["hashtag1","hashtag2"]},{"1375706118":["hashtag1","hashtag2"]},{"1375706192":["hashtag1","hashtag2"]},{"1375706228":["hashtag1","hashtag2"]},{"1375706156":["hashtag1","hashtag2"]},{"1375706085":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375706049, 1375706118, 1375706192, 1375706228, 1375706156, 1375706085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.262139558792114 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:21:02.796002
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/38/image_13062025_06_38_24_10089.jpg', 2), ('/mnt/data/13062025/06/38/image_13062025_06_38_14_9950.jpg', 2), ('/mnt/data/13062025/06/37/image_13062025_06_38_04_10134.jpg', 2), ('/mnt/data/13062025/06/37/image_13062025_06_37_54_8894.jpg', 2), ('/mnt/data/13062025/06/37/image_13062025_06_37_45_10133.jpg', 2), ('/mnt/data/13062025/06/37/image_13062025_06_37_35_9978.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/38/image_13062025_06_38_24_10089.jpg', '/mnt/data/13062025/06/38/image_13062025_06_38_14_9950.jpg', '/mnt/data/13062025/06/37/image_13062025_06_38_04_10134.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_54_8894.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_45_10133.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_35_9978.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/38/image_13062025_06_38_24_10089.jpg', '/mnt/data/13062025/06/38/image_13062025_06_38_14_9950.jpg', '/mnt/data/13062025/06/37/image_13062025_06_38_04_10134.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_54_8894.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_45_10133.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_35_9978.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/38/image_13062025_06_38_24_10089.jpg
/mnt/data/13062025/06/38/image_13062025_06_38_14_9950.jpg
/mnt/data/13062025/06/37/image_13062025_06_38_04_10134.jpg
/mnt/data/13062025/06/37/image_13062025_06_37_54_8894.jpg
/mnt/data/13062025/06/37/image_13062025_06_37_45_10133.jpg
/mnt/data/13062025/06/37/image_13062025_06_37_35_9978.jpg
uploaded 0 photos
time to upload: 30.424556016921997 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:22:03.288776
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/38/image_13062025_06_38_24_10089.jpg', 2), ('/mnt/data/13062025/06/38/image_13062025_06_38_14_9950.jpg', 2), ('/mnt/data/13062025/06/37/image_13062025_06_38_04_10134.jpg', 2), ('/mnt/data/13062025/06/37/image_13062025_06_37_54_8894.jpg', 2), ('/mnt/data/13062025/06/37/image_13062025_06_37_45_10133.jpg', 2), ('/mnt/data/13062025/06/37/image_13062025_06_37_35_9978.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/38/image_13062025_06_38_24_10089.jpg', '/mnt/data/13062025/06/38/image_13062025_06_38_14_9950.jpg', '/mnt/data/13062025/06/37/image_13062025_06_38_04_10134.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_54_8894.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_45_10133.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_35_9978.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/38/image_13062025_06_38_24_10089.jpg', '/mnt/data/13062025/06/38/image_13062025_06_38_14_9950.jpg', '/mnt/data/13062025/06/37/image_13062025_06_38_04_10134.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_54_8894.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_45_10133.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_35_9978.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/38/image_13062025_06_38_24_10089.jpg
/mnt/data/13062025/06/38/image_13062025_06_38_14_9950.jpg
/mnt/data/13062025/06/37/image_13062025_06_38_04_10134.jpg
/mnt/data/13062025/06/37/image_13062025_06_37_54_8894.jpg
/mnt/data/13062025/06/37/image_13062025_06_37_45_10133.jpg
/mnt/data/13062025/06/37/image_13062025_06_37_35_9978.jpg
uploaded 0 photos
time to upload: 30.368652820587158 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:23:03.197216
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/38/image_13062025_06_38_24_10089.jpg', 2), ('/mnt/data/13062025/06/38/image_13062025_06_38_14_9950.jpg', 2), ('/mnt/data/13062025/06/37/image_13062025_06_38_04_10134.jpg', 2), ('/mnt/data/13062025/06/37/image_13062025_06_37_54_8894.jpg', 2), ('/mnt/data/13062025/06/37/image_13062025_06_37_45_10133.jpg', 2), ('/mnt/data/13062025/06/37/image_13062025_06_37_35_9978.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/38/image_13062025_06_38_24_10089.jpg', '/mnt/data/13062025/06/38/image_13062025_06_38_14_9950.jpg', '/mnt/data/13062025/06/37/image_13062025_06_38_04_10134.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_54_8894.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_45_10133.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_35_9978.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/38/image_13062025_06_38_24_10089.jpg', '/mnt/data/13062025/06/38/image_13062025_06_38_14_9950.jpg', '/mnt/data/13062025/06/37/image_13062025_06_38_04_10134.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_54_8894.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_45_10133.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_35_9978.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/38/image_13062025_06_38_24_10089.jpg
/mnt/data/13062025/06/38/image_13062025_06_38_14_9950.jpg
/mnt/data/13062025/06/37/image_13062025_06_38_04_10134.jpg
/mnt/data/13062025/06/37/image_13062025_06_37_54_8894.jpg
/mnt/data/13062025/06/37/image_13062025_06_37_45_10133.jpg
/mnt/data/13062025/06/37/image_13062025_06_37_35_9978.jpg
uploaded 0 photos
time to upload: 30.394355535507202 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:24:03.166450
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/38/image_13062025_06_38_24_10089.jpg', 2), ('/mnt/data/13062025/06/38/image_13062025_06_38_14_9950.jpg', 2), ('/mnt/data/13062025/06/37/image_13062025_06_38_04_10134.jpg', 2), ('/mnt/data/13062025/06/37/image_13062025_06_37_54_8894.jpg', 2), ('/mnt/data/13062025/06/37/image_13062025_06_37_45_10133.jpg', 2), ('/mnt/data/13062025/06/37/image_13062025_06_37_35_9978.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/38/image_13062025_06_38_24_10089.jpg', '/mnt/data/13062025/06/38/image_13062025_06_38_14_9950.jpg', '/mnt/data/13062025/06/37/image_13062025_06_38_04_10134.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_54_8894.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_45_10133.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_35_9978.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/38/image_13062025_06_38_24_10089.jpg', '/mnt/data/13062025/06/38/image_13062025_06_38_14_9950.jpg', '/mnt/data/13062025/06/37/image_13062025_06_38_04_10134.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_54_8894.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_45_10133.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_35_9978.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/38/image_13062025_06_38_24_10089.jpg
/mnt/data/13062025/06/38/image_13062025_06_38_14_9950.jpg
/mnt/data/13062025/06/37/image_13062025_06_38_04_10134.jpg
/mnt/data/13062025/06/37/image_13062025_06_37_54_8894.jpg
/mnt/data/13062025/06/37/image_13062025_06_37_45_10133.jpg
/mnt/data/13062025/06/37/image_13062025_06_37_35_9978.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375707491","1375707428","1375707403","1375707474","1375707453","1375707447"],"photo_ids_order":["1375707403","1375707428","1375707447","1375707453","1375707474","1375707491"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/dc8c13dc313620b15f0f37087a3060dc.jpg","text":"TemporaryFile(/tmp/multipartBody2595274104512282356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583917570,"filename":"image_13062025_06_37_35_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/7/f8e6100cab0fb68a503355bce5758320.jpg","text":"TemporaryFile(/tmp/multipartBody9111626998222121726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583917570,"filename":"image_13062025_06_38_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/7/a4d3764f60c50863983ff93e4627d3d0.jpg","text":"TemporaryFile(/tmp/multipartBody7918690820551069920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583917570,"filename":"image_13062025_06_38_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/7/a754252e588cf8f55f24cea263c35390.jpg","text":"TemporaryFile(/tmp/multipartBody4472321368569299871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583917570,"filename":"image_13062025_06_37_45_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/7/5d612c4d91406c11f8f5526f3af174cc.jpg","text":"TemporaryFile(/tmp/multipartBody8480584852852370032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583917570,"filename":"image_13062025_06_37_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/7/f303f3a3b586f5fdcb05dcba7547b8a6.jpg","text":"TemporaryFile(/tmp/multipartBody8162996328572421792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583917570,"filename":"image_13062025_06_38_04_10134.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375707447","file1":"1375707428","file0":"1375707403","file4":"1375707474","file5":"1375707491","file3":"1375707453"},"map_files_photo_id_array":[{"photo_id":"1375707491","filename":"file5"},{"photo_id":"1375707447","filename":"file2"},{"photo_id":"1375707474","filename":"file4"},{"photo_id":"1375707428","filename":"file1"},{"photo_id":"1375707403","filename":"file0"},{"photo_id":"1375707453","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375707491":["hashtag1","hashtag2"]},{"1375707428":["hashtag1","hashtag2"]},{"1375707403":["hashtag1","hashtag2"]},{"1375707474":["hashtag1","hashtag2"]},{"1375707453":["hashtag1","hashtag2"]},{"1375707447":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375707491, 1375707428, 1375707403, 1375707474, 1375707453, 1375707447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.46285653114319 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:25:03.513589
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/37/image_13062025_06_37_25_9957.jpg', 2), ('/mnt/data/13062025/06/37/image_13062025_06_37_15_10121.jpg', 2), ('/mnt/data/13062025/06/36/image_13062025_06_37_05_10149.jpg', 2), ('/mnt/data/13062025/06/36/image_13062025_06_36_55_10028.jpg', 2), ('/mnt/data/13062025/06/35/image_13062025_06_35_44_10158.jpg', 2), ('/mnt/data/13062025/06/35/image_13062025_06_35_34_10058.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/37/image_13062025_06_37_25_9957.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_15_10121.jpg', '/mnt/data/13062025/06/36/image_13062025_06_37_05_10149.jpg', '/mnt/data/13062025/06/36/image_13062025_06_36_55_10028.jpg', '/mnt/data/13062025/06/35/image_13062025_06_35_44_10158.jpg', '/mnt/data/13062025/06/35/image_13062025_06_35_34_10058.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/37/image_13062025_06_37_25_9957.jpg', '/mnt/data/13062025/06/37/image_13062025_06_37_15_10121.jpg', '/mnt/data/13062025/06/36/image_13062025_06_37_05_10149.jpg', '/mnt/data/13062025/06/36/image_13062025_06_36_55_10028.jpg', '/mnt/data/13062025/06/35/image_13062025_06_35_44_10158.jpg', '/mnt/data/13062025/06/35/image_13062025_06_35_34_10058.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/37/image_13062025_06_37_25_9957.jpg
/mnt/data/13062025/06/37/image_13062025_06_37_15_10121.jpg
/mnt/data/13062025/06/36/image_13062025_06_37_05_10149.jpg
/mnt/data/13062025/06/36/image_13062025_06_36_55_10028.jpg
/mnt/data/13062025/06/35/image_13062025_06_35_44_10158.jpg
/mnt/data/13062025/06/35/image_13062025_06_35_34_10058.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375707635","1375707521","1375707699","1375707588","1375707555","1375707516"],"photo_ids_order":["1375707516","1375707521","1375707555","1375707588","1375707635","1375707699"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/5f3dabf5a3bbf5a0d3d3922c777de309.jpg","text":"TemporaryFile(/tmp/multipartBody1996324765509216698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583981038,"filename":"image_13062025_06_35_44_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/7/fe3be11b11ef5a6b351f47d172cc62a3.jpg","text":"TemporaryFile(/tmp/multipartBody2815341917604422666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583981038,"filename":"image_13062025_06_37_15_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/7/351b5dcaf716787cd1087bebf6795881.jpg","text":"TemporaryFile(/tmp/multipartBody5785414105582313660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583981038,"filename":"image_13062025_06_35_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/7/1fb7a18248229093087433682efc55da.jpg","text":"TemporaryFile(/tmp/multipartBody5714595993702897474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583981038,"filename":"image_13062025_06_36_55_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/7/36e59e1cc4b978025fc100f3c9173ab9.jpg","text":"TemporaryFile(/tmp/multipartBody5318116055424907935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583981038,"filename":"image_13062025_06_37_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/7/d5d55d30bbeee42cf1136d3ae9670387.jpg","text":"TemporaryFile(/tmp/multipartBody1897406946662068156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754583981038,"filename":"image_13062025_06_37_25_9957.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375707555","file1":"1375707521","file0":"1375707516","file4":"1375707635","file5":"1375707699","file3":"1375707588"},"map_files_photo_id_array":[{"photo_id":"1375707699","filename":"file5"},{"photo_id":"1375707555","filename":"file2"},{"photo_id":"1375707635","filename":"file4"},{"photo_id":"1375707521","filename":"file1"},{"photo_id":"1375707516","filename":"file0"},{"photo_id":"1375707588","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375707635":["hashtag1","hashtag2"]},{"1375707521":["hashtag1","hashtag2"]},{"1375707699":["hashtag1","hashtag2"]},{"1375707588":["hashtag1","hashtag2"]},{"1375707555":["hashtag1","hashtag2"]},{"1375707516":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375707635, 1375707521, 1375707699, 1375707588, 1375707555, 1375707516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.68651032447815 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:26:02.896330
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/35/image_13062025_06_35_24_9924.jpg', 2), ('/mnt/data/13062025/06/35/image_13062025_06_35_14_9963.jpg', 2), ('/mnt/data/13062025/06/34/image_13062025_06_35_04_9968.jpg', 2), ('/mnt/data/13062025/06/34/image_13062025_06_34_54_9963.jpg', 2), ('/mnt/data/13062025/06/34/image_13062025_06_34_44_9945.jpg', 2), ('/mnt/data/13062025/06/34/image_13062025_06_34_25_10004.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/35/image_13062025_06_35_24_9924.jpg', '/mnt/data/13062025/06/35/image_13062025_06_35_14_9963.jpg', '/mnt/data/13062025/06/34/image_13062025_06_35_04_9968.jpg', '/mnt/data/13062025/06/34/image_13062025_06_34_54_9963.jpg', '/mnt/data/13062025/06/34/image_13062025_06_34_44_9945.jpg', '/mnt/data/13062025/06/34/image_13062025_06_34_25_10004.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/35/image_13062025_06_35_24_9924.jpg', '/mnt/data/13062025/06/35/image_13062025_06_35_14_9963.jpg', '/mnt/data/13062025/06/34/image_13062025_06_35_04_9968.jpg', '/mnt/data/13062025/06/34/image_13062025_06_34_54_9963.jpg', '/mnt/data/13062025/06/34/image_13062025_06_34_44_9945.jpg', '/mnt/data/13062025/06/34/image_13062025_06_34_25_10004.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/35/image_13062025_06_35_24_9924.jpg
/mnt/data/13062025/06/35/image_13062025_06_35_14_9963.jpg
/mnt/data/13062025/06/34/image_13062025_06_35_04_9968.jpg
/mnt/data/13062025/06/34/image_13062025_06_34_54_9963.jpg
/mnt/data/13062025/06/34/image_13062025_06_34_44_9945.jpg
/mnt/data/13062025/06/34/image_13062025_06_34_25_10004.jpg
uploaded 0 photos
time to upload: 30.440622806549072 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:27:02.909058
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/35/image_13062025_06_35_24_9924.jpg', 2), ('/mnt/data/13062025/06/35/image_13062025_06_35_14_9963.jpg', 2), ('/mnt/data/13062025/06/34/image_13062025_06_35_04_9968.jpg', 2), ('/mnt/data/13062025/06/34/image_13062025_06_34_54_9963.jpg', 2), ('/mnt/data/13062025/06/34/image_13062025_06_34_44_9945.jpg', 2), ('/mnt/data/13062025/06/34/image_13062025_06_34_25_10004.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/35/image_13062025_06_35_24_9924.jpg', '/mnt/data/13062025/06/35/image_13062025_06_35_14_9963.jpg', '/mnt/data/13062025/06/34/image_13062025_06_35_04_9968.jpg', '/mnt/data/13062025/06/34/image_13062025_06_34_54_9963.jpg', '/mnt/data/13062025/06/34/image_13062025_06_34_44_9945.jpg', '/mnt/data/13062025/06/34/image_13062025_06_34_25_10004.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/35/image_13062025_06_35_24_9924.jpg', '/mnt/data/13062025/06/35/image_13062025_06_35_14_9963.jpg', '/mnt/data/13062025/06/34/image_13062025_06_35_04_9968.jpg', '/mnt/data/13062025/06/34/image_13062025_06_34_54_9963.jpg', '/mnt/data/13062025/06/34/image_13062025_06_34_44_9945.jpg', '/mnt/data/13062025/06/34/image_13062025_06_34_25_10004.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/35/image_13062025_06_35_24_9924.jpg
/mnt/data/13062025/06/35/image_13062025_06_35_14_9963.jpg
/mnt/data/13062025/06/34/image_13062025_06_35_04_9968.jpg
/mnt/data/13062025/06/34/image_13062025_06_34_54_9963.jpg
/mnt/data/13062025/06/34/image_13062025_06_34_44_9945.jpg
/mnt/data/13062025/06/34/image_13062025_06_34_25_10004.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375708061","1375708031","1375708045","1375708027","1375708036","1375708056"],"photo_ids_order":["1375708027","1375708031","1375708036","1375708045","1375708056","1375708061"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/70a90979e5565860c50e49250df10eaa.jpg","text":"TemporaryFile(/tmp/multipartBody2329021387361707600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584094249,"filename":"image_13062025_06_34_25_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/7/af2b368b70ca7c99d112cf4f01284e68.jpg","text":"TemporaryFile(/tmp/multipartBody7770257524388850609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584094249,"filename":"image_13062025_06_35_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/7/47a0ee04f8d4a83cd8637bbcfb5689f8.jpg","text":"TemporaryFile(/tmp/multipartBody7518432217957661610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584094249,"filename":"image_13062025_06_34_54_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/7/e3d92d6ae818f722fb5030ae7ac91b0b.jpg","text":"TemporaryFile(/tmp/multipartBody8441097956337670379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584094249,"filename":"image_13062025_06_35_24_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/7/ad16859d0eb2f0ef16eaece39185014b.jpg","text":"TemporaryFile(/tmp/multipartBody6893841212700393872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584094249,"filename":"image_13062025_06_35_04_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/7/3305760b0106e2debc3e20c5426f18e3.jpg","text":"TemporaryFile(/tmp/multipartBody6561710819649825697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584094249,"filename":"image_13062025_06_34_44_9945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375708036","file1":"1375708031","file0":"1375708027","file4":"1375708056","file5":"1375708061","file3":"1375708045"},"map_files_photo_id_array":[{"photo_id":"1375708061","filename":"file5"},{"photo_id":"1375708036","filename":"file2"},{"photo_id":"1375708056","filename":"file4"},{"photo_id":"1375708031","filename":"file1"},{"photo_id":"1375708027","filename":"file0"},{"photo_id":"1375708045","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375708061":["hashtag1","hashtag2"]},{"1375708031":["hashtag1","hashtag2"]},{"1375708045":["hashtag1","hashtag2"]},{"1375708027":["hashtag1","hashtag2"]},{"1375708036":["hashtag1","hashtag2"]},{"1375708056":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375708061, 1375708031, 1375708045, 1375708027, 1375708036, 1375708056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.89939475059509 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:28:02.913364
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/34/image_13062025_06_34_14_9955.jpg', 2), ('/mnt/data/13062025/06/33/image_13062025_06_34_05_10186.jpg', 2), ('/mnt/data/13062025/06/33/image_13062025_06_33_54_9972.jpg', 2), ('/mnt/data/13062025/06/33/image_13062025_06_33_44_9971.jpg', 2), ('/mnt/data/13062025/06/33/image_13062025_06_33_34_9969.jpg', 2), ('/mnt/data/13062025/06/33/image_13062025_06_33_24_9955.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/34/image_13062025_06_34_14_9955.jpg', '/mnt/data/13062025/06/33/image_13062025_06_34_05_10186.jpg', '/mnt/data/13062025/06/33/image_13062025_06_33_54_9972.jpg', '/mnt/data/13062025/06/33/image_13062025_06_33_44_9971.jpg', '/mnt/data/13062025/06/33/image_13062025_06_33_34_9969.jpg', '/mnt/data/13062025/06/33/image_13062025_06_33_24_9955.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/34/image_13062025_06_34_14_9955.jpg', '/mnt/data/13062025/06/33/image_13062025_06_34_05_10186.jpg', '/mnt/data/13062025/06/33/image_13062025_06_33_54_9972.jpg', '/mnt/data/13062025/06/33/image_13062025_06_33_44_9971.jpg', '/mnt/data/13062025/06/33/image_13062025_06_33_34_9969.jpg', '/mnt/data/13062025/06/33/image_13062025_06_33_24_9955.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/34/image_13062025_06_34_14_9955.jpg
/mnt/data/13062025/06/33/image_13062025_06_34_05_10186.jpg
/mnt/data/13062025/06/33/image_13062025_06_33_54_9972.jpg
/mnt/data/13062025/06/33/image_13062025_06_33_44_9971.jpg
/mnt/data/13062025/06/33/image_13062025_06_33_34_9969.jpg
/mnt/data/13062025/06/33/image_13062025_06_33_24_9955.jpg
uploaded 0 photos
time to upload: 30.419129848480225 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:29:03.005221
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/34/image_13062025_06_34_14_9955.jpg', 2), ('/mnt/data/13062025/06/33/image_13062025_06_34_05_10186.jpg', 2), ('/mnt/data/13062025/06/33/image_13062025_06_33_54_9972.jpg', 2), ('/mnt/data/13062025/06/33/image_13062025_06_33_44_9971.jpg', 2), ('/mnt/data/13062025/06/33/image_13062025_06_33_34_9969.jpg', 2), ('/mnt/data/13062025/06/33/image_13062025_06_33_24_9955.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/34/image_13062025_06_34_14_9955.jpg', '/mnt/data/13062025/06/33/image_13062025_06_34_05_10186.jpg', '/mnt/data/13062025/06/33/image_13062025_06_33_54_9972.jpg', '/mnt/data/13062025/06/33/image_13062025_06_33_44_9971.jpg', '/mnt/data/13062025/06/33/image_13062025_06_33_34_9969.jpg', '/mnt/data/13062025/06/33/image_13062025_06_33_24_9955.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/34/image_13062025_06_34_14_9955.jpg', '/mnt/data/13062025/06/33/image_13062025_06_34_05_10186.jpg', '/mnt/data/13062025/06/33/image_13062025_06_33_54_9972.jpg', '/mnt/data/13062025/06/33/image_13062025_06_33_44_9971.jpg', '/mnt/data/13062025/06/33/image_13062025_06_33_34_9969.jpg', '/mnt/data/13062025/06/33/image_13062025_06_33_24_9955.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/34/image_13062025_06_34_14_9955.jpg
/mnt/data/13062025/06/33/image_13062025_06_34_05_10186.jpg
/mnt/data/13062025/06/33/image_13062025_06_33_54_9972.jpg
/mnt/data/13062025/06/33/image_13062025_06_33_44_9971.jpg
/mnt/data/13062025/06/33/image_13062025_06_33_34_9969.jpg
/mnt/data/13062025/06/33/image_13062025_06_33_24_9955.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375708352","1375708387","1375708319","1375708285","1375708252","1375708422"],"photo_ids_order":["1375708252","1375708285","1375708319","1375708352","1375708387","1375708422"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/caa0db26d6aca1650b932740299210cd.jpg","text":"TemporaryFile(/tmp/multipartBody6018647355830331789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584215518,"filename":"image_13062025_06_33_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/7/263f5a8c0278ab802cefb787f12e92df.jpg","text":"TemporaryFile(/tmp/multipartBody7213438575613736456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584215518,"filename":"image_13062025_06_33_34_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/7/e135d8ce8cf2ba894667467fa10684ac.jpg","text":"TemporaryFile(/tmp/multipartBody3020068611838880581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584215518,"filename":"image_13062025_06_33_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/7/bdafc05767ced23c63e9812fe69c0df2.jpg","text":"TemporaryFile(/tmp/multipartBody1887956076196773531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584215518,"filename":"image_13062025_06_34_05_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/7/6f8a671c81d38fde76cb35d3432bc350.jpg","text":"TemporaryFile(/tmp/multipartBody4601507844136726804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584215518,"filename":"image_13062025_06_34_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/7/c2008de215b674b269ed9e29bc9851c4.jpg","text":"TemporaryFile(/tmp/multipartBody1749043554373622456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584215518,"filename":"image_13062025_06_33_24_9955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375708319","file1":"1375708285","file0":"1375708252","file4":"1375708387","file5":"1375708422","file3":"1375708352"},"map_files_photo_id_array":[{"photo_id":"1375708422","filename":"file5"},{"photo_id":"1375708319","filename":"file2"},{"photo_id":"1375708387","filename":"file4"},{"photo_id":"1375708285","filename":"file1"},{"photo_id":"1375708252","filename":"file0"},{"photo_id":"1375708352","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375708352":["hashtag1","hashtag2"]},{"1375708387":["hashtag1","hashtag2"]},{"1375708319":["hashtag1","hashtag2"]},{"1375708285":["hashtag1","hashtag2"]},{"1375708252":["hashtag1","hashtag2"]},{"1375708422":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375708352, 1375708387, 1375708319, 1375708285, 1375708252, 1375708422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.5600790977478 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:30:03.169101
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/33/image_13062025_06_33_14_10181.jpg', 2), ('/mnt/data/13062025/06/32/image_13062025_06_33_04_9986.jpg', 2), ('/mnt/data/13062025/06/32/image_13062025_06_32_54_9969.jpg', 2), ('/mnt/data/13062025/06/31/image_13062025_06_31_44_9974.jpg', 2), ('/mnt/data/13062025/06/31/image_13062025_06_31_34_9919.jpg', 2), ('/mnt/data/13062025/06/31/image_13062025_06_31_24_10117.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/33/image_13062025_06_33_14_10181.jpg', '/mnt/data/13062025/06/32/image_13062025_06_33_04_9986.jpg', '/mnt/data/13062025/06/32/image_13062025_06_32_54_9969.jpg', '/mnt/data/13062025/06/31/image_13062025_06_31_44_9974.jpg', '/mnt/data/13062025/06/31/image_13062025_06_31_34_9919.jpg', '/mnt/data/13062025/06/31/image_13062025_06_31_24_10117.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/33/image_13062025_06_33_14_10181.jpg', '/mnt/data/13062025/06/32/image_13062025_06_33_04_9986.jpg', '/mnt/data/13062025/06/32/image_13062025_06_32_54_9969.jpg', '/mnt/data/13062025/06/31/image_13062025_06_31_44_9974.jpg', '/mnt/data/13062025/06/31/image_13062025_06_31_34_9919.jpg', '/mnt/data/13062025/06/31/image_13062025_06_31_24_10117.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/33/image_13062025_06_33_14_10181.jpg
/mnt/data/13062025/06/32/image_13062025_06_33_04_9986.jpg
/mnt/data/13062025/06/32/image_13062025_06_32_54_9969.jpg
/mnt/data/13062025/06/31/image_13062025_06_31_44_9974.jpg
/mnt/data/13062025/06/31/image_13062025_06_31_34_9919.jpg
/mnt/data/13062025/06/31/image_13062025_06_31_24_10117.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375708466","1375708476","1375708473","1375708461","1375708469","1375708463"],"photo_ids_order":["1375708461","1375708463","1375708466","1375708469","1375708473","1375708476"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/15bb8e249c8f3e5e1e2ee529729376c3.jpg","text":"TemporaryFile(/tmp/multipartBody1362640442988372866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584275453,"filename":"image_13062025_06_32_54_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/7/409b461c085bfd4f6d000b33b96e207d.jpg","text":"TemporaryFile(/tmp/multipartBody3778981468401275534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584275453,"filename":"image_13062025_06_31_24_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/7/fcd83ede1e09b68fcabe247aaa074ef5.jpg","text":"TemporaryFile(/tmp/multipartBody7793628360608566026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584275453,"filename":"image_13062025_06_31_34_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/7/245feaf6871782c4f49e4cfb2636e79c.jpg","text":"TemporaryFile(/tmp/multipartBody4668762730785796862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584275453,"filename":"image_13062025_06_33_14_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/7/917d0d03327fa54e8b0c71623a1eead9.jpg","text":"TemporaryFile(/tmp/multipartBody1826984941278617538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584275453,"filename":"image_13062025_06_31_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/7/100b7ed65727612749d2517815efd9b4.jpg","text":"TemporaryFile(/tmp/multipartBody4312071368763161665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584275453,"filename":"image_13062025_06_33_04_9986.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375708466","file1":"1375708463","file0":"1375708461","file4":"1375708473","file5":"1375708476","file3":"1375708469"},"map_files_photo_id_array":[{"photo_id":"1375708476","filename":"file5"},{"photo_id":"1375708466","filename":"file2"},{"photo_id":"1375708473","filename":"file4"},{"photo_id":"1375708463","filename":"file1"},{"photo_id":"1375708461","filename":"file0"},{"photo_id":"1375708469","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375708466":["hashtag1","hashtag2"]},{"1375708476":["hashtag1","hashtag2"]},{"1375708473":["hashtag1","hashtag2"]},{"1375708461":["hashtag1","hashtag2"]},{"1375708469":["hashtag1","hashtag2"]},{"1375708463":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375708466, 1375708476, 1375708473, 1375708461, 1375708469, 1375708463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.47126483917236 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:31:02.809192
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/31/image_13062025_06_31_14_10138.jpg', 2), ('/mnt/data/13062025/06/30/image_13062025_06_31_04_10039.jpg', 2), ('/mnt/data/13062025/06/30/image_13062025_06_30_54_9991.jpg', 2), ('/mnt/data/13062025/06/29/image_13062025_06_29_44_9982.jpg', 2), ('/mnt/data/13062025/06/29/image_13062025_06_29_34_9965.jpg', 2), ('/mnt/data/13062025/06/29/image_13062025_06_29_24_9972.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/31/image_13062025_06_31_14_10138.jpg', '/mnt/data/13062025/06/30/image_13062025_06_31_04_10039.jpg', '/mnt/data/13062025/06/30/image_13062025_06_30_54_9991.jpg', '/mnt/data/13062025/06/29/image_13062025_06_29_44_9982.jpg', '/mnt/data/13062025/06/29/image_13062025_06_29_34_9965.jpg', '/mnt/data/13062025/06/29/image_13062025_06_29_24_9972.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/31/image_13062025_06_31_14_10138.jpg', '/mnt/data/13062025/06/30/image_13062025_06_31_04_10039.jpg', '/mnt/data/13062025/06/30/image_13062025_06_30_54_9991.jpg', '/mnt/data/13062025/06/29/image_13062025_06_29_44_9982.jpg', '/mnt/data/13062025/06/29/image_13062025_06_29_34_9965.jpg', '/mnt/data/13062025/06/29/image_13062025_06_29_24_9972.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/31/image_13062025_06_31_14_10138.jpg
/mnt/data/13062025/06/30/image_13062025_06_31_04_10039.jpg
/mnt/data/13062025/06/30/image_13062025_06_30_54_9991.jpg
/mnt/data/13062025/06/29/image_13062025_06_29_44_9982.jpg
/mnt/data/13062025/06/29/image_13062025_06_29_34_9965.jpg
/mnt/data/13062025/06/29/image_13062025_06_29_24_9972.jpg
uploaded 0 photos
time to upload: 30.459898233413696 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:32:03.456217
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/31/image_13062025_06_31_14_10138.jpg', 2), ('/mnt/data/13062025/06/30/image_13062025_06_31_04_10039.jpg', 2), ('/mnt/data/13062025/06/30/image_13062025_06_30_54_9991.jpg', 2), ('/mnt/data/13062025/06/29/image_13062025_06_29_44_9982.jpg', 2), ('/mnt/data/13062025/06/29/image_13062025_06_29_34_9965.jpg', 2), ('/mnt/data/13062025/06/29/image_13062025_06_29_24_9972.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/31/image_13062025_06_31_14_10138.jpg', '/mnt/data/13062025/06/30/image_13062025_06_31_04_10039.jpg', '/mnt/data/13062025/06/30/image_13062025_06_30_54_9991.jpg', '/mnt/data/13062025/06/29/image_13062025_06_29_44_9982.jpg', '/mnt/data/13062025/06/29/image_13062025_06_29_34_9965.jpg', '/mnt/data/13062025/06/29/image_13062025_06_29_24_9972.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/31/image_13062025_06_31_14_10138.jpg', '/mnt/data/13062025/06/30/image_13062025_06_31_04_10039.jpg', '/mnt/data/13062025/06/30/image_13062025_06_30_54_9991.jpg', '/mnt/data/13062025/06/29/image_13062025_06_29_44_9982.jpg', '/mnt/data/13062025/06/29/image_13062025_06_29_34_9965.jpg', '/mnt/data/13062025/06/29/image_13062025_06_29_24_9972.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/31/image_13062025_06_31_14_10138.jpg
/mnt/data/13062025/06/30/image_13062025_06_31_04_10039.jpg
/mnt/data/13062025/06/30/image_13062025_06_30_54_9991.jpg
/mnt/data/13062025/06/29/image_13062025_06_29_44_9982.jpg
/mnt/data/13062025/06/29/image_13062025_06_29_34_9965.jpg
/mnt/data/13062025/06/29/image_13062025_06_29_24_9972.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 12.114399194717407 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-07 18:33:03.393515
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/31/image_13062025_06_31_14_10138.jpg', 2), ('/mnt/data/13062025/06/30/image_13062025_06_31_04_10039.jpg', 2), ('/mnt/data/13062025/06/30/image_13062025_06_30_54_9991.jpg', 2), ('/mnt/data/13062025/06/29/image_13062025_06_29_44_9982.jpg', 2), ('/mnt/data/13062025/06/29/image_13062025_06_29_34_9965.jpg', 2), ('/mnt/data/13062025/06/29/image_13062025_06_29_24_9972.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/31/image_13062025_06_31_14_10138.jpg', '/mnt/data/13062025/06/30/image_13062025_06_31_04_10039.jpg', '/mnt/data/13062025/06/30/image_13062025_06_30_54_9991.jpg', '/mnt/data/13062025/06/29/image_13062025_06_29_44_9982.jpg', '/mnt/data/13062025/06/29/image_13062025_06_29_34_9965.jpg', '/mnt/data/13062025/06/29/image_13062025_06_29_24_9972.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/31/image_13062025_06_31_14_10138.jpg', '/mnt/data/13062025/06/30/image_13062025_06_31_04_10039.jpg', '/mnt/data/13062025/06/30/image_13062025_06_30_54_9991.jpg', '/mnt/data/13062025/06/29/image_13062025_06_29_44_9982.jpg', '/mnt/data/13062025/06/29/image_13062025_06_29_34_9965.jpg', '/mnt/data/13062025/06/29/image_13062025_06_29_24_9972.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/31/image_13062025_06_31_14_10138.jpg
/mnt/data/13062025/06/30/image_13062025_06_31_04_10039.jpg
/mnt/data/13062025/06/30/image_13062025_06_30_54_9991.jpg
/mnt/data/13062025/06/29/image_13062025_06_29_44_9982.jpg
/mnt/data/13062025/06/29/image_13062025_06_29_34_9965.jpg
/mnt/data/13062025/06/29/image_13062025_06_29_24_9972.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 132.2883424758911 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-07 18:36:03.495034
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/31/image_13062025_06_31_14_10138.jpg', 2), ('/mnt/data/13062025/06/30/image_13062025_06_31_04_10039.jpg', 2), ('/mnt/data/13062025/06/30/image_13062025_06_30_54_9991.jpg', 2), ('/mnt/data/13062025/06/29/image_13062025_06_29_44_9982.jpg', 2), ('/mnt/data/13062025/06/29/image_13062025_06_29_34_9965.jpg', 2), ('/mnt/data/13062025/06/29/image_13062025_06_29_24_9972.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/31/image_13062025_06_31_14_10138.jpg', '/mnt/data/13062025/06/30/image_13062025_06_31_04_10039.jpg', '/mnt/data/13062025/06/30/image_13062025_06_30_54_9991.jpg', '/mnt/data/13062025/06/29/image_13062025_06_29_44_9982.jpg', '/mnt/data/13062025/06/29/image_13062025_06_29_34_9965.jpg', '/mnt/data/13062025/06/29/image_13062025_06_29_24_9972.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/31/image_13062025_06_31_14_10138.jpg', '/mnt/data/13062025/06/30/image_13062025_06_31_04_10039.jpg', '/mnt/data/13062025/06/30/image_13062025_06_30_54_9991.jpg', '/mnt/data/13062025/06/29/image_13062025_06_29_44_9982.jpg', '/mnt/data/13062025/06/29/image_13062025_06_29_34_9965.jpg', '/mnt/data/13062025/06/29/image_13062025_06_29_24_9972.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/31/image_13062025_06_31_14_10138.jpg
/mnt/data/13062025/06/30/image_13062025_06_31_04_10039.jpg
/mnt/data/13062025/06/30/image_13062025_06_30_54_9991.jpg
/mnt/data/13062025/06/29/image_13062025_06_29_44_9982.jpg
/mnt/data/13062025/06/29/image_13062025_06_29_34_9965.jpg
/mnt/data/13062025/06/29/image_13062025_06_29_24_9972.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375709581","1375709575","1375709584","1375709553","1375709579","1375709558"],"photo_ids_order":["1375709553","1375709558","1375709575","1375709579","1375709581","1375709584"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/c8eb69e79f144708fb7e5dc5886a6ee3.jpg","text":"TemporaryFile(/tmp/multipartBody1978823710114435605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584639920,"filename":"image_13062025_06_29_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/7/9f52b7bed59d5fd3634443df363da99b.jpg","text":"TemporaryFile(/tmp/multipartBody7851041566491403076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584639920,"filename":"image_13062025_06_30_54_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/7/ff6bbc8b437b8d575ee49f2292d0a083.jpg","text":"TemporaryFile(/tmp/multipartBody122781472513110065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584639920,"filename":"image_13062025_06_29_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/7/a07211e1eb7f4d948034660abc44ceb8.jpg","text":"TemporaryFile(/tmp/multipartBody4480262675350156185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584639920,"filename":"image_13062025_06_31_14_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/7/08d60b68cf78e00dab2f579615ae6bc1.jpg","text":"TemporaryFile(/tmp/multipartBody3817950165494198680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584639920,"filename":"image_13062025_06_29_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/7/27f3619624dec859400c43910e6a6849.jpg","text":"TemporaryFile(/tmp/multipartBody2930906395442196831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584639920,"filename":"image_13062025_06_31_04_10039.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375709575","file1":"1375709558","file0":"1375709553","file4":"1375709581","file5":"1375709584","file3":"1375709579"},"map_files_photo_id_array":[{"photo_id":"1375709584","filename":"file5"},{"photo_id":"1375709575","filename":"file2"},{"photo_id":"1375709581","filename":"file4"},{"photo_id":"1375709558","filename":"file1"},{"photo_id":"1375709553","filename":"file0"},{"photo_id":"1375709579","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375709581":["hashtag1","hashtag2"]},{"1375709575":["hashtag1","hashtag2"]},{"1375709584":["hashtag1","hashtag2"]},{"1375709553":["hashtag1","hashtag2"]},{"1375709579":["hashtag1","hashtag2"]},{"1375709558":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375709581, 1375709575, 1375709584, 1375709553, 1375709579, 1375709558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.44370126724243 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:37:03.395044
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/29/image_13062025_06_29_15_9995.jpg', 2), ('/mnt/data/13062025/06/28/image_13062025_06_29_05_9945.jpg', 2), ('/mnt/data/13062025/06/28/image_13062025_06_28_55_9933.jpg', 2), ('/mnt/data/13062025/06/28/image_13062025_06_28_45_9937.jpg', 2), ('/mnt/data/13062025/06/28/image_13062025_06_28_35_9969.jpg', 2), ('/mnt/data/13062025/06/28/image_13062025_06_28_25_10156.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/29/image_13062025_06_29_15_9995.jpg', '/mnt/data/13062025/06/28/image_13062025_06_29_05_9945.jpg', '/mnt/data/13062025/06/28/image_13062025_06_28_55_9933.jpg', '/mnt/data/13062025/06/28/image_13062025_06_28_45_9937.jpg', '/mnt/data/13062025/06/28/image_13062025_06_28_35_9969.jpg', '/mnt/data/13062025/06/28/image_13062025_06_28_25_10156.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/29/image_13062025_06_29_15_9995.jpg', '/mnt/data/13062025/06/28/image_13062025_06_29_05_9945.jpg', '/mnt/data/13062025/06/28/image_13062025_06_28_55_9933.jpg', '/mnt/data/13062025/06/28/image_13062025_06_28_45_9937.jpg', '/mnt/data/13062025/06/28/image_13062025_06_28_35_9969.jpg', '/mnt/data/13062025/06/28/image_13062025_06_28_25_10156.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/29/image_13062025_06_29_15_9995.jpg
/mnt/data/13062025/06/28/image_13062025_06_29_05_9945.jpg
/mnt/data/13062025/06/28/image_13062025_06_28_55_9933.jpg
/mnt/data/13062025/06/28/image_13062025_06_28_45_9937.jpg
/mnt/data/13062025/06/28/image_13062025_06_28_35_9969.jpg
/mnt/data/13062025/06/28/image_13062025_06_28_25_10156.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375709590","1375709598","1375709602","1375709610","1375709607","1375709594"],"photo_ids_order":["1375709590","1375709594","1375709598","1375709602","1375709607","1375709610"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/630f1184e87075f5cc9ca3e55f96ffcf.jpg","text":"TemporaryFile(/tmp/multipartBody7835460748589557177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584694014,"filename":"image_13062025_06_29_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/7/8f8478c5a04ee363273a585bbd797029.jpg","text":"TemporaryFile(/tmp/multipartBody5956886486199917128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584694014,"filename":"image_13062025_06_28_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/7/40edfcb0418cbb40feddeb879dcf03b5.jpg","text":"TemporaryFile(/tmp/multipartBody7748862856859364009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584694014,"filename":"image_13062025_06_28_45_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/7/c3c38f609a74fa771e167db50d2170d2.jpg","text":"TemporaryFile(/tmp/multipartBody8736872310818558560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584694014,"filename":"image_13062025_06_28_25_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/7/fbb513628e72b8443dc67d10da745586.jpg","text":"TemporaryFile(/tmp/multipartBody7062560406129633686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584694014,"filename":"image_13062025_06_28_35_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/7/b0620ae1e48b615b88d378474835d0c3.jpg","text":"TemporaryFile(/tmp/multipartBody4187314018302882333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584694014,"filename":"image_13062025_06_29_05_9945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375709598","file1":"1375709594","file0":"1375709590","file4":"1375709607","file5":"1375709610","file3":"1375709602"},"map_files_photo_id_array":[{"photo_id":"1375709610","filename":"file5"},{"photo_id":"1375709598","filename":"file2"},{"photo_id":"1375709607","filename":"file4"},{"photo_id":"1375709594","filename":"file1"},{"photo_id":"1375709590","filename":"file0"},{"photo_id":"1375709602","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375709590":["hashtag1","hashtag2"]},{"1375709598":["hashtag1","hashtag2"]},{"1375709602":["hashtag1","hashtag2"]},{"1375709610":["hashtag1","hashtag2"]},{"1375709607":["hashtag1","hashtag2"]},{"1375709594":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375709590, 1375709598, 1375709602, 1375709610, 1375709607, 1375709594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.346250772476196 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:38:03.222008
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/28/image_13062025_06_28_15_10105.jpg', 2), ('/mnt/data/13062025/06/27/image_13062025_06_28_04_10251.jpg', 2), ('/mnt/data/13062025/06/27/image_13062025_06_27_54_9971.jpg', 2), ('/mnt/data/13062025/06/26/image_13062025_06_26_45_11146.jpg', 2), ('/mnt/data/13062025/06/26/image_13062025_06_26_34_8864.jpg', 2), ('/mnt/data/13062025/06/26/image_13062025_06_26_15_10032.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/28/image_13062025_06_28_15_10105.jpg', '/mnt/data/13062025/06/27/image_13062025_06_28_04_10251.jpg', '/mnt/data/13062025/06/27/image_13062025_06_27_54_9971.jpg', '/mnt/data/13062025/06/26/image_13062025_06_26_45_11146.jpg', '/mnt/data/13062025/06/26/image_13062025_06_26_34_8864.jpg', '/mnt/data/13062025/06/26/image_13062025_06_26_15_10032.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/28/image_13062025_06_28_15_10105.jpg', '/mnt/data/13062025/06/27/image_13062025_06_28_04_10251.jpg', '/mnt/data/13062025/06/27/image_13062025_06_27_54_9971.jpg', '/mnt/data/13062025/06/26/image_13062025_06_26_45_11146.jpg', '/mnt/data/13062025/06/26/image_13062025_06_26_34_8864.jpg', '/mnt/data/13062025/06/26/image_13062025_06_26_15_10032.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/28/image_13062025_06_28_15_10105.jpg
/mnt/data/13062025/06/27/image_13062025_06_28_04_10251.jpg
/mnt/data/13062025/06/27/image_13062025_06_27_54_9971.jpg
/mnt/data/13062025/06/26/image_13062025_06_26_45_11146.jpg
/mnt/data/13062025/06/26/image_13062025_06_26_34_8864.jpg
/mnt/data/13062025/06/26/image_13062025_06_26_15_10032.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375709640","1375709643","1375709637","1375709625","1375709634","1375709630"],"photo_ids_order":["1375709625","1375709630","1375709634","1375709637","1375709640","1375709643"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/c5aaa549194c77fd846c7ab52e090096.jpg","text":"TemporaryFile(/tmp/multipartBody8846451648380773621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584757347,"filename":"image_13062025_06_26_34_8864.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/30f99ee10125194117544c1d77e2caaa.jpg","text":"TemporaryFile(/tmp/multipartBody3277234442656208535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584757347,"filename":"image_13062025_06_26_15_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/7/3ec596a459a713fed1c797573d1f67ef.jpg","text":"TemporaryFile(/tmp/multipartBody5315057431599480787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584757347,"filename":"image_13062025_06_26_45_11146.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/71911d58e69ef61b1505eeffe5ab1409.jpg","text":"TemporaryFile(/tmp/multipartBody1592336293362099616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584757347,"filename":"image_13062025_06_28_15_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/7/c45594a7010f4b198c2ce5770583ada2.jpg","text":"TemporaryFile(/tmp/multipartBody8205342978747033657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584757347,"filename":"image_13062025_06_27_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/7/140a694f3cf1cd57ee28716c1dfc327c.jpg","text":"TemporaryFile(/tmp/multipartBody8282421428018854452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584757347,"filename":"image_13062025_06_28_04_10251.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375709634","file1":"1375709630","file0":"1375709625","file4":"1375709640","file5":"1375709643","file3":"1375709637"},"map_files_photo_id_array":[{"photo_id":"1375709643","filename":"file5"},{"photo_id":"1375709634","filename":"file2"},{"photo_id":"1375709640","filename":"file4"},{"photo_id":"1375709630","filename":"file1"},{"photo_id":"1375709625","filename":"file0"},{"photo_id":"1375709637","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375709640":["hashtag1","hashtag2"]},{"1375709643":["hashtag1","hashtag2"]},{"1375709637":["hashtag1","hashtag2"]},{"1375709625":["hashtag1","hashtag2"]},{"1375709634":["hashtag1","hashtag2"]},{"1375709630":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375709640, 1375709643, 1375709637, 1375709625, 1375709634, 1375709630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.862290143966675 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:39:03.469696
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/25/image_13062025_06_26_05_9973.jpg', 2), ('/mnt/data/13062025/06/25/image_13062025_06_25_55_10003.jpg', 2), ('/mnt/data/13062025/06/25/image_13062025_06_25_45_10098.jpg', 2), ('/mnt/data/13062025/06/25/image_13062025_06_25_35_10057.jpg', 2), ('/mnt/data/13062025/06/25/image_13062025_06_25_25_10131.jpg', 2), ('/mnt/data/13062025/06/25/image_13062025_06_25_14_10147.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/25/image_13062025_06_26_05_9973.jpg', '/mnt/data/13062025/06/25/image_13062025_06_25_55_10003.jpg', '/mnt/data/13062025/06/25/image_13062025_06_25_45_10098.jpg', '/mnt/data/13062025/06/25/image_13062025_06_25_35_10057.jpg', '/mnt/data/13062025/06/25/image_13062025_06_25_25_10131.jpg', '/mnt/data/13062025/06/25/image_13062025_06_25_14_10147.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/25/image_13062025_06_26_05_9973.jpg', '/mnt/data/13062025/06/25/image_13062025_06_25_55_10003.jpg', '/mnt/data/13062025/06/25/image_13062025_06_25_45_10098.jpg', '/mnt/data/13062025/06/25/image_13062025_06_25_35_10057.jpg', '/mnt/data/13062025/06/25/image_13062025_06_25_25_10131.jpg', '/mnt/data/13062025/06/25/image_13062025_06_25_14_10147.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/25/image_13062025_06_26_05_9973.jpg
/mnt/data/13062025/06/25/image_13062025_06_25_55_10003.jpg
/mnt/data/13062025/06/25/image_13062025_06_25_45_10098.jpg
/mnt/data/13062025/06/25/image_13062025_06_25_35_10057.jpg
/mnt/data/13062025/06/25/image_13062025_06_25_25_10131.jpg
/mnt/data/13062025/06/25/image_13062025_06_25_14_10147.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375709671","1375709665","1375709658","1375709678","1375709675","1375709660"],"photo_ids_order":["1375709658","1375709660","1375709665","1375709671","1375709675","1375709678"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/b824758b5f67801006d2bc0b725e14d1.jpg","text":"TemporaryFile(/tmp/multipartBody4900306117030816663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584815650,"filename":"image_13062025_06_25_35_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/7/6f9c0062b5be416368a5e4f2867ce7a4.jpg","text":"TemporaryFile(/tmp/multipartBody3341945496154342544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584815650,"filename":"image_13062025_06_25_45_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/7/3d158b5c0051b840531445d1a5c6f985.jpg","text":"TemporaryFile(/tmp/multipartBody1160810036023138752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584815650,"filename":"image_13062025_06_26_05_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/7/e1a00c248bd90bb4b47197d28cd20355.jpg","text":"TemporaryFile(/tmp/multipartBody2306427370468290299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584815650,"filename":"image_13062025_06_25_14_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/7/e706067870027ef0a76387d04087e734.jpg","text":"TemporaryFile(/tmp/multipartBody2101239673436355917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584815650,"filename":"image_13062025_06_25_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/7/e97656e78e54dcde5e851a67f8b91d58.jpg","text":"TemporaryFile(/tmp/multipartBody751225102415158930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584815650,"filename":"image_13062025_06_25_55_10003.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375709665","file1":"1375709660","file0":"1375709658","file4":"1375709675","file5":"1375709678","file3":"1375709671"},"map_files_photo_id_array":[{"photo_id":"1375709678","filename":"file5"},{"photo_id":"1375709665","filename":"file2"},{"photo_id":"1375709675","filename":"file4"},{"photo_id":"1375709660","filename":"file1"},{"photo_id":"1375709658","filename":"file0"},{"photo_id":"1375709671","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375709671":["hashtag1","hashtag2"]},{"1375709665":["hashtag1","hashtag2"]},{"1375709658":["hashtag1","hashtag2"]},{"1375709678":["hashtag1","hashtag2"]},{"1375709675":["hashtag1","hashtag2"]},{"1375709660":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375709671, 1375709665, 1375709658, 1375709678, 1375709675, 1375709660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.143816232681274 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:40:03.101725
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/24/image_13062025_06_25_04_10446.jpg', 2), ('/mnt/data/13062025/06/24/image_13062025_06_24_54_9003.jpg', 2), ('/mnt/data/13062025/06/24/image_13062025_06_24_45_10142.jpg', 2), ('/mnt/data/13062025/06/24/image_13062025_06_24_35_10116.jpg', 2), ('/mnt/data/13062025/06/24/image_13062025_06_24_25_10218.jpg', 2), ('/mnt/data/13062025/06/24/image_13062025_06_24_14_10297.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/24/image_13062025_06_25_04_10446.jpg', '/mnt/data/13062025/06/24/image_13062025_06_24_54_9003.jpg', '/mnt/data/13062025/06/24/image_13062025_06_24_45_10142.jpg', '/mnt/data/13062025/06/24/image_13062025_06_24_35_10116.jpg', '/mnt/data/13062025/06/24/image_13062025_06_24_25_10218.jpg', '/mnt/data/13062025/06/24/image_13062025_06_24_14_10297.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/24/image_13062025_06_25_04_10446.jpg', '/mnt/data/13062025/06/24/image_13062025_06_24_54_9003.jpg', '/mnt/data/13062025/06/24/image_13062025_06_24_45_10142.jpg', '/mnt/data/13062025/06/24/image_13062025_06_24_35_10116.jpg', '/mnt/data/13062025/06/24/image_13062025_06_24_25_10218.jpg', '/mnt/data/13062025/06/24/image_13062025_06_24_14_10297.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/24/image_13062025_06_25_04_10446.jpg
/mnt/data/13062025/06/24/image_13062025_06_24_54_9003.jpg
/mnt/data/13062025/06/24/image_13062025_06_24_45_10142.jpg
/mnt/data/13062025/06/24/image_13062025_06_24_35_10116.jpg
/mnt/data/13062025/06/24/image_13062025_06_24_25_10218.jpg
/mnt/data/13062025/06/24/image_13062025_06_24_14_10297.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":["1375709719","1375709722","1375709716","1375709712","1375709726","1375709729"],"photo_ids_order":["1375709712","1375709716","1375709719","1375709722","1375709726","1375709729"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/18b2d1ca70fd81a0b46cc58292a11d7f.jpg","text":"TemporaryFile(/tmp/multipartBody4127915139195840145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584885984,"filename":"image_13062025_06_24_45_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/7/33c304b1695f880258452b385abd13d1.jpg","text":"TemporaryFile(/tmp/multipartBody7660224843978966787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584885984,"filename":"image_13062025_06_24_35_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/7/5508e2a5389de66cf736b3bae3094755.jpg","text":"TemporaryFile(/tmp/multipartBody6320050430099034979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584885984,"filename":"image_13062025_06_24_54_9003.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/5b7138822799e4cb4b28cbbc4f5dd9cf.jpg","text":"TemporaryFile(/tmp/multipartBody8664739243436527706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584885984,"filename":"image_13062025_06_25_04_10446.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/53a2ed08124f8a14d076b23224e32d25.jpg","text":"TemporaryFile(/tmp/multipartBody6845159458474490696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584885984,"filename":"image_13062025_06_24_25_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/7/faa70c52d6bc15ea942a99e4a190f495.jpg","text":"TemporaryFile(/tmp/multipartBody3481016965043031577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584885984,"filename":"image_13062025_06_24_14_10297.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375709719","file1":"1375709716","file0":"1375709712","file4":"1375709726","file5":"1375709729","file3":"1375709722"},"map_files_photo_id_array":[{"photo_id":"1375709729","filename":"file5"},{"photo_id":"1375709719","filename":"file2"},{"photo_id":"1375709726","filename":"file4"},{"photo_id":"1375709716","filename":"file1"},{"photo_id":"1375709712","filename":"file0"},{"photo_id":"1375709722","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375709719":["hashtag1","hashtag2"]},{"1375709722":["hashtag1","hashtag2"]},{"1375709716":["hashtag1","hashtag2"]},{"1375709712":["hashtag1","hashtag2"]},{"1375709726":["hashtag1","hashtag2"]},{"1375709729":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375709719, 1375709722, 1375709716, 1375709712, 1375709726, 1375709729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.044883728027344 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:42:02.646923
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/23/image_13062025_06_24_04_10279.jpg', 2), ('/mnt/data/13062025/06/23/image_13062025_06_23_54_8933.jpg', 2), ('/mnt/data/13062025/06/23/image_13062025_06_23_45_10106.jpg', 2), ('/mnt/data/13062025/06/23/image_13062025_06_23_35_9975.jpg', 2), ('/mnt/data/13062025/06/23/image_13062025_06_23_25_10316.jpg', 2), ('/mnt/data/13062025/06/23/image_13062025_06_23_14_9983.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/23/image_13062025_06_24_04_10279.jpg', '/mnt/data/13062025/06/23/image_13062025_06_23_54_8933.jpg', '/mnt/data/13062025/06/23/image_13062025_06_23_45_10106.jpg', '/mnt/data/13062025/06/23/image_13062025_06_23_35_9975.jpg', '/mnt/data/13062025/06/23/image_13062025_06_23_25_10316.jpg', '/mnt/data/13062025/06/23/image_13062025_06_23_14_9983.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/23/image_13062025_06_24_04_10279.jpg', '/mnt/data/13062025/06/23/image_13062025_06_23_54_8933.jpg', '/mnt/data/13062025/06/23/image_13062025_06_23_45_10106.jpg', '/mnt/data/13062025/06/23/image_13062025_06_23_35_9975.jpg', '/mnt/data/13062025/06/23/image_13062025_06_23_25_10316.jpg', '/mnt/data/13062025/06/23/image_13062025_06_23_14_9983.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/23/image_13062025_06_24_04_10279.jpg
/mnt/data/13062025/06/23/image_13062025_06_23_54_8933.jpg
/mnt/data/13062025/06/23/image_13062025_06_23_45_10106.jpg
/mnt/data/13062025/06/23/image_13062025_06_23_35_9975.jpg
/mnt/data/13062025/06/23/image_13062025_06_23_25_10316.jpg
/mnt/data/13062025/06/23/image_13062025_06_23_14_9983.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375709794","1375709800","1375709778","1375709775","1375709791","1375709785"],"photo_ids_order":["1375709775","1375709778","1375709785","1375709791","1375709794","1375709800"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/158d26dbe5d26ddb0d11c2598410e9b5.jpg","text":"TemporaryFile(/tmp/multipartBody4210589127114508564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584995544,"filename":"image_13062025_06_23_25_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/7/18fd7688a07550d0e7b13b942fe96c51.jpg","text":"TemporaryFile(/tmp/multipartBody3511379108851976701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584995544,"filename":"image_13062025_06_23_14_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/7/cc4d9a83a953ddf026ea56f49c2034c3.jpg","text":"TemporaryFile(/tmp/multipartBody434437638703378922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584995544,"filename":"image_13062025_06_23_54_8933.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/39a8f6333e959f05677b3384fa1f26d4.jpg","text":"TemporaryFile(/tmp/multipartBody2881771942646317452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584995544,"filename":"image_13062025_06_24_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/7/8f60ad773068c489e33f2f37e1190b8e.jpg","text":"TemporaryFile(/tmp/multipartBody7395552236381430758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584995544,"filename":"image_13062025_06_23_35_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/7/d7ec1f6d2918f757d11a10275ae1e13c.jpg","text":"TemporaryFile(/tmp/multipartBody1286049502093349983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754584995544,"filename":"image_13062025_06_23_45_10106.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375709785","file1":"1375709778","file0":"1375709775","file4":"1375709794","file5":"1375709800","file3":"1375709791"},"map_files_photo_id_array":[{"photo_id":"1375709800","filename":"file5"},{"photo_id":"1375709785","filename":"file2"},{"photo_id":"1375709794","filename":"file4"},{"photo_id":"1375709778","filename":"file1"},{"photo_id":"1375709775","filename":"file0"},{"photo_id":"1375709791","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375709794":["hashtag1","hashtag2"]},{"1375709800":["hashtag1","hashtag2"]},{"1375709778":["hashtag1","hashtag2"]},{"1375709775":["hashtag1","hashtag2"]},{"1375709791":["hashtag1","hashtag2"]},{"1375709785":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375709794, 1375709800, 1375709778, 1375709775, 1375709791, 1375709785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.23447847366333 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:43:02.826905
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/22/image_13062025_06_23_04_10187.jpg', 2), ('/mnt/data/13062025/06/22/image_13062025_06_22_54_10157.jpg', 2), ('/mnt/data/13062025/06/22/image_13062025_06_22_44_10144.jpg', 2), ('/mnt/data/13062025/06/22/image_13062025_06_22_34_10215.jpg', 2), ('/mnt/data/13062025/06/22/image_13062025_06_22_24_8943.jpg', 2), ('/mnt/data/13062025/06/22/image_13062025_06_22_15_10080.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/22/image_13062025_06_23_04_10187.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_54_10157.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_44_10144.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_34_10215.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_24_8943.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_15_10080.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/22/image_13062025_06_23_04_10187.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_54_10157.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_44_10144.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_34_10215.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_24_8943.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_15_10080.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/22/image_13062025_06_23_04_10187.jpg
/mnt/data/13062025/06/22/image_13062025_06_22_54_10157.jpg
/mnt/data/13062025/06/22/image_13062025_06_22_44_10144.jpg
/mnt/data/13062025/06/22/image_13062025_06_22_34_10215.jpg
/mnt/data/13062025/06/22/image_13062025_06_22_24_8943.jpg
/mnt/data/13062025/06/22/image_13062025_06_22_15_10080.jpg
uploaded 0 photos
time to upload: 30.477317094802856 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:44:02.556788
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/22/image_13062025_06_23_04_10187.jpg', 2), ('/mnt/data/13062025/06/22/image_13062025_06_22_54_10157.jpg', 2), ('/mnt/data/13062025/06/22/image_13062025_06_22_44_10144.jpg', 2), ('/mnt/data/13062025/06/22/image_13062025_06_22_34_10215.jpg', 2), ('/mnt/data/13062025/06/22/image_13062025_06_22_24_8943.jpg', 2), ('/mnt/data/13062025/06/22/image_13062025_06_22_15_10080.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/22/image_13062025_06_23_04_10187.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_54_10157.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_44_10144.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_34_10215.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_24_8943.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_15_10080.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/22/image_13062025_06_23_04_10187.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_54_10157.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_44_10144.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_34_10215.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_24_8943.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_15_10080.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/22/image_13062025_06_23_04_10187.jpg
/mnt/data/13062025/06/22/image_13062025_06_22_54_10157.jpg
/mnt/data/13062025/06/22/image_13062025_06_22_44_10144.jpg
/mnt/data/13062025/06/22/image_13062025_06_22_34_10215.jpg
/mnt/data/13062025/06/22/image_13062025_06_22_24_8943.jpg
/mnt/data/13062025/06/22/image_13062025_06_22_15_10080.jpg
uploaded 0 photos
time to upload: 30.398884057998657 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:45:02.505823
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/22/image_13062025_06_23_04_10187.jpg', 2), ('/mnt/data/13062025/06/22/image_13062025_06_22_54_10157.jpg', 2), ('/mnt/data/13062025/06/22/image_13062025_06_22_44_10144.jpg', 2), ('/mnt/data/13062025/06/22/image_13062025_06_22_34_10215.jpg', 2), ('/mnt/data/13062025/06/22/image_13062025_06_22_24_8943.jpg', 2), ('/mnt/data/13062025/06/22/image_13062025_06_22_15_10080.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/22/image_13062025_06_23_04_10187.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_54_10157.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_44_10144.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_34_10215.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_24_8943.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_15_10080.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/22/image_13062025_06_23_04_10187.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_54_10157.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_44_10144.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_34_10215.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_24_8943.jpg', '/mnt/data/13062025/06/22/image_13062025_06_22_15_10080.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/22/image_13062025_06_23_04_10187.jpg
/mnt/data/13062025/06/22/image_13062025_06_22_54_10157.jpg
/mnt/data/13062025/06/22/image_13062025_06_22_44_10144.jpg
/mnt/data/13062025/06/22/image_13062025_06_22_34_10215.jpg
/mnt/data/13062025/06/22/image_13062025_06_22_24_8943.jpg
/mnt/data/13062025/06/22/image_13062025_06_22_15_10080.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":["1375709896","1375709892","1375709889","1375709888","1375709885","1375709899"],"photo_ids_order":["1375709885","1375709888","1375709889","1375709892","1375709896","1375709899"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/53e757ed81ebc4191cfd41b163225a23.jpg","text":"TemporaryFile(/tmp/multipartBody8570836476352496709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585189891,"filename":"image_13062025_06_22_24_8943.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/acf1f357f63b103dbb4eb6bcda675cfe.jpg","text":"TemporaryFile(/tmp/multipartBody437094995984926104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585189891,"filename":"image_13062025_06_22_34_10215.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/fe994607a5fcddfe4850805ae9b5fa34.jpg","text":"TemporaryFile(/tmp/multipartBody7615941630362061394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585189891,"filename":"image_13062025_06_22_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/7/6e2c4fda526274284e1ac7369e2c8d5c.jpg","text":"TemporaryFile(/tmp/multipartBody8615411405620904772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585189891,"filename":"image_13062025_06_22_54_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/7/c8127cc1a024d8eba597b42f84bb9005.jpg","text":"TemporaryFile(/tmp/multipartBody1373225955125461286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585189891,"filename":"image_13062025_06_23_04_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/7/bc4d4d1e53964beefb4eb892cdd7136c.jpg","text":"TemporaryFile(/tmp/multipartBody2597412878088761496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585189891,"filename":"image_13062025_06_22_15_10080.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375709889","file1":"1375709888","file0":"1375709885","file4":"1375709896","file5":"1375709899","file3":"1375709892"},"map_files_photo_id_array":[{"photo_id":"1375709899","filename":"file5"},{"photo_id":"1375709889","filename":"file2"},{"photo_id":"1375709896","filename":"file4"},{"photo_id":"1375709888","filename":"file1"},{"photo_id":"1375709885","filename":"file0"},{"photo_id":"1375709892","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375709896":["hashtag1","hashtag2"]},{"1375709892":["hashtag1","hashtag2"]},{"1375709889":["hashtag1","hashtag2"]},{"1375709888":["hashtag1","hashtag2"]},{"1375709885":["hashtag1","hashtag2"]},{"1375709899":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375709896, 1375709892, 1375709889, 1375709888, 1375709885, 1375709899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.5944390296936 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:47:03.231945
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/21/image_13062025_06_22_05_10156.jpg', 2), ('/mnt/data/13062025/06/21/image_13062025_06_21_55_10079.jpg', 2), ('/mnt/data/13062025/06/20/image_13062025_06_20_47_9936.jpg', 2), ('/mnt/data/13062025/06/20/image_13062025_06_20_35_9939.jpg', 2), ('/mnt/data/13062025/06/20/image_13062025_06_20_25_11172.jpg', 2), ('/mnt/data/13062025/06/20/image_13062025_06_20_14_8822.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/21/image_13062025_06_22_05_10156.jpg', '/mnt/data/13062025/06/21/image_13062025_06_21_55_10079.jpg', '/mnt/data/13062025/06/20/image_13062025_06_20_47_9936.jpg', '/mnt/data/13062025/06/20/image_13062025_06_20_35_9939.jpg', '/mnt/data/13062025/06/20/image_13062025_06_20_25_11172.jpg', '/mnt/data/13062025/06/20/image_13062025_06_20_14_8822.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/21/image_13062025_06_22_05_10156.jpg', '/mnt/data/13062025/06/21/image_13062025_06_21_55_10079.jpg', '/mnt/data/13062025/06/20/image_13062025_06_20_47_9936.jpg', '/mnt/data/13062025/06/20/image_13062025_06_20_35_9939.jpg', '/mnt/data/13062025/06/20/image_13062025_06_20_25_11172.jpg', '/mnt/data/13062025/06/20/image_13062025_06_20_14_8822.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/21/image_13062025_06_22_05_10156.jpg
/mnt/data/13062025/06/21/image_13062025_06_21_55_10079.jpg
/mnt/data/13062025/06/20/image_13062025_06_20_47_9936.jpg
/mnt/data/13062025/06/20/image_13062025_06_20_35_9939.jpg
/mnt/data/13062025/06/20/image_13062025_06_20_25_11172.jpg
/mnt/data/13062025/06/20/image_13062025_06_20_14_8822.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375709965","1375709953","1375709947","1375709962","1375709958","1375709943"],"photo_ids_order":["1375709943","1375709947","1375709953","1375709958","1375709962","1375709965"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/138c4b26dfe4a0b9ee9445057b83f452.jpg","text":"TemporaryFile(/tmp/multipartBody4270129798023926086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585292843,"filename":"image_13062025_06_20_14_8822.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/5bba8f2cb4dd7f1b0a8e75abc8cebf45.jpg","text":"TemporaryFile(/tmp/multipartBody7605101135925651898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585292843,"filename":"image_13062025_06_20_47_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/7/a44eba07ffd2cd5bd19d317c12d81fe8.jpg","text":"TemporaryFile(/tmp/multipartBody6545796601135099429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585292843,"filename":"image_13062025_06_21_55_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/7/c1b836c2af9e19a30e24f0789026f6e1.jpg","text":"TemporaryFile(/tmp/multipartBody1018477695222902933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585292843,"filename":"image_13062025_06_20_25_11172.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/bab36682c8a8a3c7329b12956d035eee.jpg","text":"TemporaryFile(/tmp/multipartBody8498877026185091949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585292843,"filename":"image_13062025_06_20_35_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/7/e6ad5f8bfabb2a752011fe363b712942.jpg","text":"TemporaryFile(/tmp/multipartBody3790654362850240277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585292843,"filename":"image_13062025_06_22_05_10156.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375709953","file1":"1375709947","file0":"1375709943","file4":"1375709962","file5":"1375709965","file3":"1375709958"},"map_files_photo_id_array":[{"photo_id":"1375709965","filename":"file5"},{"photo_id":"1375709953","filename":"file2"},{"photo_id":"1375709962","filename":"file4"},{"photo_id":"1375709947","filename":"file1"},{"photo_id":"1375709943","filename":"file0"},{"photo_id":"1375709958","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375709965":["hashtag1","hashtag2"]},{"1375709953":["hashtag1","hashtag2"]},{"1375709947":["hashtag1","hashtag2"]},{"1375709962":["hashtag1","hashtag2"]},{"1375709958":["hashtag1","hashtag2"]},{"1375709943":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375709965, 1375709953, 1375709947, 1375709962, 1375709958, 1375709943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.21806526184082 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:48:02.831327
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/19/image_13062025_06_20_05_10453.jpg', 2), ('/mnt/data/13062025/06/19/image_13062025_06_19_54_10163.jpg', 2), ('/mnt/data/13062025/06/19/image_13062025_06_19_44_10100.jpg', 2), ('/mnt/data/13062025/06/19/image_13062025_06_19_34_10120.jpg', 2), ('/mnt/data/13062025/06/19/image_13062025_06_19_24_10179.jpg', 2), ('/mnt/data/13062025/06/19/image_13062025_06_19_14_10102.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/19/image_13062025_06_20_05_10453.jpg', '/mnt/data/13062025/06/19/image_13062025_06_19_54_10163.jpg', '/mnt/data/13062025/06/19/image_13062025_06_19_44_10100.jpg', '/mnt/data/13062025/06/19/image_13062025_06_19_34_10120.jpg', '/mnt/data/13062025/06/19/image_13062025_06_19_24_10179.jpg', '/mnt/data/13062025/06/19/image_13062025_06_19_14_10102.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/19/image_13062025_06_20_05_10453.jpg', '/mnt/data/13062025/06/19/image_13062025_06_19_54_10163.jpg', '/mnt/data/13062025/06/19/image_13062025_06_19_44_10100.jpg', '/mnt/data/13062025/06/19/image_13062025_06_19_34_10120.jpg', '/mnt/data/13062025/06/19/image_13062025_06_19_24_10179.jpg', '/mnt/data/13062025/06/19/image_13062025_06_19_14_10102.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/19/image_13062025_06_20_05_10453.jpg
/mnt/data/13062025/06/19/image_13062025_06_19_54_10163.jpg
/mnt/data/13062025/06/19/image_13062025_06_19_44_10100.jpg
/mnt/data/13062025/06/19/image_13062025_06_19_34_10120.jpg
/mnt/data/13062025/06/19/image_13062025_06_19_24_10179.jpg
/mnt/data/13062025/06/19/image_13062025_06_19_14_10102.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375709995","1375709985","1375710004","1375710001","1375709990","1375709998"],"photo_ids_order":["1375709985","1375709990","1375709995","1375709998","1375710001","1375710004"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/5a09e50f294731f0b3b3ecf50921b21d.jpg","text":"TemporaryFile(/tmp/multipartBody5451567909809894624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585354393,"filename":"image_13062025_06_19_44_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/7/a6d6abe27ff1b3b37d871c2e8a561e53.jpg","text":"TemporaryFile(/tmp/multipartBody7578453676385130626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585354393,"filename":"image_13062025_06_20_05_10453.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/3851ae449e0d03d2681fae9c3b589b61.jpg","text":"TemporaryFile(/tmp/multipartBody8476806490085987218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585354393,"filename":"image_13062025_06_19_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/7/d2940ae272cd58b3e3153943c21c6699.jpg","text":"TemporaryFile(/tmp/multipartBody5238712747040169478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585354393,"filename":"image_13062025_06_19_24_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/7/c5aa626b560a46b1ab08a739b6e94a11.jpg","text":"TemporaryFile(/tmp/multipartBody970875487428228588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585354393,"filename":"image_13062025_06_19_54_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/7/26ef253639e6dadf702d459328489089.jpg","text":"TemporaryFile(/tmp/multipartBody9087083086753264078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585354393,"filename":"image_13062025_06_19_34_10120.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375709995","file1":"1375709990","file0":"1375709985","file4":"1375710001","file5":"1375710004","file3":"1375709998"},"map_files_photo_id_array":[{"photo_id":"1375710004","filename":"file5"},{"photo_id":"1375709995","filename":"file2"},{"photo_id":"1375710001","filename":"file4"},{"photo_id":"1375709990","filename":"file1"},{"photo_id":"1375709985","filename":"file0"},{"photo_id":"1375709998","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375709995":["hashtag1","hashtag2"]},{"1375709985":["hashtag1","hashtag2"]},{"1375710004":["hashtag1","hashtag2"]},{"1375710001":["hashtag1","hashtag2"]},{"1375709990":["hashtag1","hashtag2"]},{"1375709998":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375709995, 1375709985, 1375710004, 1375710001, 1375709990, 1375709998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.770310401916504 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:49:02.952065
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/18/image_13062025_06_19_04_9013.jpg', 2), ('/mnt/data/13062025/06/18/image_13062025_06_18_55_10179.jpg', 2), ('/mnt/data/13062025/06/18/image_13062025_06_18_45_10141.jpg', 2), ('/mnt/data/13062025/06/18/image_13062025_06_18_34_10117.jpg', 2), ('/mnt/data/13062025/06/18/image_13062025_06_18_24_10122.jpg', 2), ('/mnt/data/13062025/06/18/image_13062025_06_18_14_10092.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/18/image_13062025_06_19_04_9013.jpg', '/mnt/data/13062025/06/18/image_13062025_06_18_55_10179.jpg', '/mnt/data/13062025/06/18/image_13062025_06_18_45_10141.jpg', '/mnt/data/13062025/06/18/image_13062025_06_18_34_10117.jpg', '/mnt/data/13062025/06/18/image_13062025_06_18_24_10122.jpg', '/mnt/data/13062025/06/18/image_13062025_06_18_14_10092.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/18/image_13062025_06_19_04_9013.jpg', '/mnt/data/13062025/06/18/image_13062025_06_18_55_10179.jpg', '/mnt/data/13062025/06/18/image_13062025_06_18_45_10141.jpg', '/mnt/data/13062025/06/18/image_13062025_06_18_34_10117.jpg', '/mnt/data/13062025/06/18/image_13062025_06_18_24_10122.jpg', '/mnt/data/13062025/06/18/image_13062025_06_18_14_10092.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/18/image_13062025_06_19_04_9013.jpg
/mnt/data/13062025/06/18/image_13062025_06_18_55_10179.jpg
/mnt/data/13062025/06/18/image_13062025_06_18_45_10141.jpg
/mnt/data/13062025/06/18/image_13062025_06_18_34_10117.jpg
/mnt/data/13062025/06/18/image_13062025_06_18_24_10122.jpg
/mnt/data/13062025/06/18/image_13062025_06_18_14_10092.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375710053","1375710041","1375710014","1375710060","1375710027","1375710062"],"photo_ids_order":["1375710014","1375710027","1375710041","1375710053","1375710060","1375710062"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d16658fd0c70f37473f50ac0617246e7.jpg","text":"TemporaryFile(/tmp/multipartBody8280877932256793647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585409557,"filename":"image_13062025_06_18_34_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/7/16a7f1d1e60c1dd7ac596870ec1bd8a4.jpg","text":"TemporaryFile(/tmp/multipartBody208979762626566596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585409557,"filename":"image_13062025_06_18_45_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/7/810fa7b0aae7694c35c8ec549b429777.jpg","text":"TemporaryFile(/tmp/multipartBody7160702274086863256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585409557,"filename":"image_13062025_06_19_04_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/7/9fc56e13f3b6775f3dbd9869ee47761b.jpg","text":"TemporaryFile(/tmp/multipartBody4820129541196690762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585409557,"filename":"image_13062025_06_18_24_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/7/f9c37456d38e589fca07eb7837283ec1.jpg","text":"TemporaryFile(/tmp/multipartBody5891553008003620504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585409557,"filename":"image_13062025_06_18_55_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/7/ac3fa2c5e1f50960252b5cf4efff5301.jpg","text":"TemporaryFile(/tmp/multipartBody1100250911943447440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585409557,"filename":"image_13062025_06_18_14_10092.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375710041","file1":"1375710027","file0":"1375710014","file4":"1375710060","file5":"1375710062","file3":"1375710053"},"map_files_photo_id_array":[{"photo_id":"1375710062","filename":"file5"},{"photo_id":"1375710041","filename":"file2"},{"photo_id":"1375710060","filename":"file4"},{"photo_id":"1375710027","filename":"file1"},{"photo_id":"1375710014","filename":"file0"},{"photo_id":"1375710053","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375710053":["hashtag1","hashtag2"]},{"1375710041":["hashtag1","hashtag2"]},{"1375710014":["hashtag1","hashtag2"]},{"1375710060":["hashtag1","hashtag2"]},{"1375710027":["hashtag1","hashtag2"]},{"1375710062":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375710053, 1375710041, 1375710014, 1375710060, 1375710027, 1375710062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.25781559944153 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:50:02.545963
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/17/image_13062025_06_18_04_10114.jpg', 2), ('/mnt/data/13062025/06/17/image_13062025_06_17_54_9981.jpg', 2), ('/mnt/data/13062025/06/16/image_13062025_06_16_44_9976.jpg', 2), ('/mnt/data/13062025/06/16/image_13062025_06_16_34_9919.jpg', 2), ('/mnt/data/13062025/06/16/image_13062025_06_16_24_9947.jpg', 2), ('/mnt/data/13062025/06/16/image_13062025_06_16_14_9958.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/17/image_13062025_06_18_04_10114.jpg', '/mnt/data/13062025/06/17/image_13062025_06_17_54_9981.jpg', '/mnt/data/13062025/06/16/image_13062025_06_16_44_9976.jpg', '/mnt/data/13062025/06/16/image_13062025_06_16_34_9919.jpg', '/mnt/data/13062025/06/16/image_13062025_06_16_24_9947.jpg', '/mnt/data/13062025/06/16/image_13062025_06_16_14_9958.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/17/image_13062025_06_18_04_10114.jpg', '/mnt/data/13062025/06/17/image_13062025_06_17_54_9981.jpg', '/mnt/data/13062025/06/16/image_13062025_06_16_44_9976.jpg', '/mnt/data/13062025/06/16/image_13062025_06_16_34_9919.jpg', '/mnt/data/13062025/06/16/image_13062025_06_16_24_9947.jpg', '/mnt/data/13062025/06/16/image_13062025_06_16_14_9958.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/17/image_13062025_06_18_04_10114.jpg
/mnt/data/13062025/06/17/image_13062025_06_17_54_9981.jpg
/mnt/data/13062025/06/16/image_13062025_06_16_44_9976.jpg
/mnt/data/13062025/06/16/image_13062025_06_16_34_9919.jpg
/mnt/data/13062025/06/16/image_13062025_06_16_24_9947.jpg
/mnt/data/13062025/06/16/image_13062025_06_16_14_9958.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 29.492897987365723 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-07 18:51:02.615016
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/17/image_13062025_06_18_04_10114.jpg', 2), ('/mnt/data/13062025/06/17/image_13062025_06_17_54_9981.jpg', 2), ('/mnt/data/13062025/06/16/image_13062025_06_16_44_9976.jpg', 2), ('/mnt/data/13062025/06/16/image_13062025_06_16_34_9919.jpg', 2), ('/mnt/data/13062025/06/16/image_13062025_06_16_24_9947.jpg', 2), ('/mnt/data/13062025/06/16/image_13062025_06_16_14_9958.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/17/image_13062025_06_18_04_10114.jpg', '/mnt/data/13062025/06/17/image_13062025_06_17_54_9981.jpg', '/mnt/data/13062025/06/16/image_13062025_06_16_44_9976.jpg', '/mnt/data/13062025/06/16/image_13062025_06_16_34_9919.jpg', '/mnt/data/13062025/06/16/image_13062025_06_16_24_9947.jpg', '/mnt/data/13062025/06/16/image_13062025_06_16_14_9958.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/17/image_13062025_06_18_04_10114.jpg', '/mnt/data/13062025/06/17/image_13062025_06_17_54_9981.jpg', '/mnt/data/13062025/06/16/image_13062025_06_16_44_9976.jpg', '/mnt/data/13062025/06/16/image_13062025_06_16_34_9919.jpg', '/mnt/data/13062025/06/16/image_13062025_06_16_24_9947.jpg', '/mnt/data/13062025/06/16/image_13062025_06_16_14_9958.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/17/image_13062025_06_18_04_10114.jpg
/mnt/data/13062025/06/17/image_13062025_06_17_54_9981.jpg
/mnt/data/13062025/06/16/image_13062025_06_16_44_9976.jpg
/mnt/data/13062025/06/16/image_13062025_06_16_34_9919.jpg
/mnt/data/13062025/06/16/image_13062025_06_16_24_9947.jpg
/mnt/data/13062025/06/16/image_13062025_06_16_14_9958.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375710128","1375710133","1375710136","1375710139","1375710144","1375710141"],"photo_ids_order":["1375710128","1375710133","1375710136","1375710139","1375710141","1375710144"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/509f346bb716d93633cb625b687d87ff.jpg","text":"TemporaryFile(/tmp/multipartBody230854778131221111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585539280,"filename":"image_13062025_06_18_04_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/7/85636046faf3365c3f8d75382e6cc38d.jpg","text":"TemporaryFile(/tmp/multipartBody1467785026539758984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585539280,"filename":"image_13062025_06_17_54_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/7/8052e50029fcf661625cf40c2fc3bf8f.jpg","text":"TemporaryFile(/tmp/multipartBody1392820056146722090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585539280,"filename":"image_13062025_06_16_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/7/66972a9699a5fab33d2515e9b2734137.jpg","text":"TemporaryFile(/tmp/multipartBody7868853808037592384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585539280,"filename":"image_13062025_06_16_34_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/7/a7060a1b4fa142dd5f3a3670ee366099.jpg","text":"TemporaryFile(/tmp/multipartBody8038224946664227078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585539280,"filename":"image_13062025_06_16_14_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/7/995c77e57e8579acfd4acf80dbf8476d.jpg","text":"TemporaryFile(/tmp/multipartBody3646991985009662505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585539280,"filename":"image_13062025_06_16_24_9947.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375710136","file1":"1375710133","file0":"1375710128","file4":"1375710141","file5":"1375710144","file3":"1375710139"},"map_files_photo_id_array":[{"photo_id":"1375710144","filename":"file5"},{"photo_id":"1375710136","filename":"file2"},{"photo_id":"1375710141","filename":"file4"},{"photo_id":"1375710133","filename":"file1"},{"photo_id":"1375710128","filename":"file0"},{"photo_id":"1375710139","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375710128":["hashtag1","hashtag2"]},{"1375710133":["hashtag1","hashtag2"]},{"1375710136":["hashtag1","hashtag2"]},{"1375710139":["hashtag1","hashtag2"]},{"1375710144":["hashtag1","hashtag2"]},{"1375710141":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375710128, 1375710133, 1375710136, 1375710139, 1375710144, 1375710141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.12610864639282 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:52:03.342971
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/15/image_13062025_06_16_04_10056.jpg', 2), ('/mnt/data/13062025/06/15/image_13062025_06_15_54_9947.jpg', 2), ('/mnt/data/13062025/05/53/image_13062025_05_53_15_10092.jpg', 2), ('/mnt/data/13062025/05/52/image_13062025_05_53_05_10298.jpg', 2), ('/mnt/data/13062025/05/52/image_13062025_05_52_54_10228.jpg', 2), ('/mnt/data/13062025/05/52/image_13062025_05_52_44_10063.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/15/image_13062025_06_16_04_10056.jpg', '/mnt/data/13062025/06/15/image_13062025_06_15_54_9947.jpg', '/mnt/data/13062025/05/53/image_13062025_05_53_15_10092.jpg', '/mnt/data/13062025/05/52/image_13062025_05_53_05_10298.jpg', '/mnt/data/13062025/05/52/image_13062025_05_52_54_10228.jpg', '/mnt/data/13062025/05/52/image_13062025_05_52_44_10063.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/15/image_13062025_06_16_04_10056.jpg', '/mnt/data/13062025/06/15/image_13062025_06_15_54_9947.jpg', '/mnt/data/13062025/05/53/image_13062025_05_53_15_10092.jpg', '/mnt/data/13062025/05/52/image_13062025_05_53_05_10298.jpg', '/mnt/data/13062025/05/52/image_13062025_05_52_54_10228.jpg', '/mnt/data/13062025/05/52/image_13062025_05_52_44_10063.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/15/image_13062025_06_16_04_10056.jpg
/mnt/data/13062025/06/15/image_13062025_06_15_54_9947.jpg
/mnt/data/13062025/05/53/image_13062025_05_53_15_10092.jpg
/mnt/data/13062025/05/52/image_13062025_05_53_05_10298.jpg
/mnt/data/13062025/05/52/image_13062025_05_52_54_10228.jpg
/mnt/data/13062025/05/52/image_13062025_05_52_44_10063.jpg
uploaded 0 photos
time to upload: 30.44446873664856 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:53:03.472641
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/15/image_13062025_06_16_04_10056.jpg', 2), ('/mnt/data/13062025/06/15/image_13062025_06_15_54_9947.jpg', 2), ('/mnt/data/13062025/05/53/image_13062025_05_53_15_10092.jpg', 2), ('/mnt/data/13062025/05/52/image_13062025_05_53_05_10298.jpg', 2), ('/mnt/data/13062025/05/52/image_13062025_05_52_54_10228.jpg', 2), ('/mnt/data/13062025/05/52/image_13062025_05_52_44_10063.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/15/image_13062025_06_16_04_10056.jpg', '/mnt/data/13062025/06/15/image_13062025_06_15_54_9947.jpg', '/mnt/data/13062025/05/53/image_13062025_05_53_15_10092.jpg', '/mnt/data/13062025/05/52/image_13062025_05_53_05_10298.jpg', '/mnt/data/13062025/05/52/image_13062025_05_52_54_10228.jpg', '/mnt/data/13062025/05/52/image_13062025_05_52_44_10063.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/15/image_13062025_06_16_04_10056.jpg', '/mnt/data/13062025/06/15/image_13062025_06_15_54_9947.jpg', '/mnt/data/13062025/05/53/image_13062025_05_53_15_10092.jpg', '/mnt/data/13062025/05/52/image_13062025_05_53_05_10298.jpg', '/mnt/data/13062025/05/52/image_13062025_05_52_54_10228.jpg', '/mnt/data/13062025/05/52/image_13062025_05_52_44_10063.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/15/image_13062025_06_16_04_10056.jpg
/mnt/data/13062025/06/15/image_13062025_06_15_54_9947.jpg
/mnt/data/13062025/05/53/image_13062025_05_53_15_10092.jpg
/mnt/data/13062025/05/52/image_13062025_05_53_05_10298.jpg
/mnt/data/13062025/05/52/image_13062025_05_52_54_10228.jpg
/mnt/data/13062025/05/52/image_13062025_05_52_44_10063.jpg
uploaded 0 photos
time to upload: 30.628822803497314 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:54:03.137768
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/06/15/image_13062025_06_16_04_10056.jpg', 2), ('/mnt/data/13062025/06/15/image_13062025_06_15_54_9947.jpg', 2), ('/mnt/data/13062025/05/53/image_13062025_05_53_15_10092.jpg', 2), ('/mnt/data/13062025/05/52/image_13062025_05_53_05_10298.jpg', 2), ('/mnt/data/13062025/05/52/image_13062025_05_52_54_10228.jpg', 2), ('/mnt/data/13062025/05/52/image_13062025_05_52_44_10063.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/06/15/image_13062025_06_16_04_10056.jpg', '/mnt/data/13062025/06/15/image_13062025_06_15_54_9947.jpg', '/mnt/data/13062025/05/53/image_13062025_05_53_15_10092.jpg', '/mnt/data/13062025/05/52/image_13062025_05_53_05_10298.jpg', '/mnt/data/13062025/05/52/image_13062025_05_52_54_10228.jpg', '/mnt/data/13062025/05/52/image_13062025_05_52_44_10063.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/06/15/image_13062025_06_16_04_10056.jpg', '/mnt/data/13062025/06/15/image_13062025_06_15_54_9947.jpg', '/mnt/data/13062025/05/53/image_13062025_05_53_15_10092.jpg', '/mnt/data/13062025/05/52/image_13062025_05_53_05_10298.jpg', '/mnt/data/13062025/05/52/image_13062025_05_52_54_10228.jpg', '/mnt/data/13062025/05/52/image_13062025_05_52_44_10063.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/06/15/image_13062025_06_16_04_10056.jpg
/mnt/data/13062025/06/15/image_13062025_06_15_54_9947.jpg
/mnt/data/13062025/05/53/image_13062025_05_53_15_10092.jpg
/mnt/data/13062025/05/52/image_13062025_05_53_05_10298.jpg
/mnt/data/13062025/05/52/image_13062025_05_52_54_10228.jpg
/mnt/data/13062025/05/52/image_13062025_05_52_44_10063.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":["1375710554","1375710556","1375710559","1375710549","1375710563","1375710545"],"photo_ids_order":["1375710545","1375710549","1375710554","1375710556","1375710559","1375710563"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/da789a9aed7eb669ef008f29b95b0435.jpg","text":"TemporaryFile(/tmp/multipartBody773672578308694831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585726051,"filename":"image_13062025_05_53_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/7/32dbdebaacd85373ad2a0f86f7651bc1.jpg","text":"TemporaryFile(/tmp/multipartBody162179959261334507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585726051,"filename":"image_13062025_05_53_05_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/7/1dea39c62aa22144b4360be6a7cd9c98.jpg","text":"TemporaryFile(/tmp/multipartBody6085991065084676031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585726051,"filename":"image_13062025_05_52_54_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/7/efb46044b89f0a5c09722a371f6cb6c6.jpg","text":"TemporaryFile(/tmp/multipartBody697359276080619246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585726051,"filename":"image_13062025_06_15_54_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/7/4ccf7fed8c98e8d6c2ee88adba6b674d.jpg","text":"TemporaryFile(/tmp/multipartBody4680830955848357712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585726051,"filename":"image_13062025_05_52_44_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/7/9b08fe3305c393d3ec7d11e98591a223.jpg","text":"TemporaryFile(/tmp/multipartBody6778281298393932133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585726051,"filename":"image_13062025_06_16_04_10056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375710554","file1":"1375710549","file0":"1375710545","file4":"1375710559","file5":"1375710563","file3":"1375710556"},"map_files_photo_id_array":[{"photo_id":"1375710563","filename":"file5"},{"photo_id":"1375710554","filename":"file2"},{"photo_id":"1375710559","filename":"file4"},{"photo_id":"1375710549","filename":"file1"},{"photo_id":"1375710545","filename":"file0"},{"photo_id":"1375710556","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375710554":["hashtag1","hashtag2"]},{"1375710556":["hashtag1","hashtag2"]},{"1375710559":["hashtag1","hashtag2"]},{"1375710549":["hashtag1","hashtag2"]},{"1375710563":["hashtag1","hashtag2"]},{"1375710545":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375710554, 1375710556, 1375710559, 1375710549, 1375710563, 1375710545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.528512954711914 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:56:02.598022
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/52/image_13062025_05_52_34_10160.jpg', 2), ('/mnt/data/13062025/05/52/image_13062025_05_52_24_10114.jpg', 2), ('/mnt/data/13062025/05/52/image_13062025_05_52_14_9023.jpg', 2), ('/mnt/data/13062025/05/51/image_13062025_05_52_05_10485.jpg', 2), ('/mnt/data/13062025/05/51/image_13062025_05_51_54_10151.jpg', 2), ('/mnt/data/13062025/05/51/image_13062025_05_51_44_10202.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/52/image_13062025_05_52_34_10160.jpg', '/mnt/data/13062025/05/52/image_13062025_05_52_24_10114.jpg', '/mnt/data/13062025/05/52/image_13062025_05_52_14_9023.jpg', '/mnt/data/13062025/05/51/image_13062025_05_52_05_10485.jpg', '/mnt/data/13062025/05/51/image_13062025_05_51_54_10151.jpg', '/mnt/data/13062025/05/51/image_13062025_05_51_44_10202.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/52/image_13062025_05_52_34_10160.jpg', '/mnt/data/13062025/05/52/image_13062025_05_52_24_10114.jpg', '/mnt/data/13062025/05/52/image_13062025_05_52_14_9023.jpg', '/mnt/data/13062025/05/51/image_13062025_05_52_05_10485.jpg', '/mnt/data/13062025/05/51/image_13062025_05_51_54_10151.jpg', '/mnt/data/13062025/05/51/image_13062025_05_51_44_10202.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/52/image_13062025_05_52_34_10160.jpg
/mnt/data/13062025/05/52/image_13062025_05_52_24_10114.jpg
/mnt/data/13062025/05/52/image_13062025_05_52_14_9023.jpg
/mnt/data/13062025/05/51/image_13062025_05_52_05_10485.jpg
/mnt/data/13062025/05/51/image_13062025_05_51_54_10151.jpg
/mnt/data/13062025/05/51/image_13062025_05_51_44_10202.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":["1375710614","1375710646","1375710651","1375710621","1375710630","1375710618"],"photo_ids_order":["1375710614","1375710618","1375710621","1375710630","1375710646","1375710651"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/f3c5e6e7e0f6d8613c733add63d812dd.jpg","text":"TemporaryFile(/tmp/multipartBody6251985891312714715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585851422,"filename":"image_13062025_05_52_34_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/7/da20d1ad5602ade43b19097cc29a7f24.jpg","text":"TemporaryFile(/tmp/multipartBody5641788870398911648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585851422,"filename":"image_13062025_05_51_54_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/7/329faa9f7f5b98561e513f4102cc7ff1.jpg","text":"TemporaryFile(/tmp/multipartBody3946455979949017826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585851422,"filename":"image_13062025_05_51_44_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/7/8cb683fd6506e21e2bce38175b090094.jpg","text":"TemporaryFile(/tmp/multipartBody8127522298498635783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585851422,"filename":"image_13062025_05_52_14_9023.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/e2ce0d7675e76d7d016409191b594c36.jpg","text":"TemporaryFile(/tmp/multipartBody3153773675233825432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585851422,"filename":"image_13062025_05_52_05_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/7/c7e131b3945033bb34ef738cc813a68e.jpg","text":"TemporaryFile(/tmp/multipartBody7460248995738463208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754585851422,"filename":"image_13062025_05_52_24_10114.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375710621","file1":"1375710618","file0":"1375710614","file4":"1375710646","file5":"1375710651","file3":"1375710630"},"map_files_photo_id_array":[{"photo_id":"1375710651","filename":"file5"},{"photo_id":"1375710621","filename":"file2"},{"photo_id":"1375710646","filename":"file4"},{"photo_id":"1375710618","filename":"file1"},{"photo_id":"1375710614","filename":"file0"},{"photo_id":"1375710630","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375710614":["hashtag1","hashtag2"]},{"1375710646":["hashtag1","hashtag2"]},{"1375710651":["hashtag1","hashtag2"]},{"1375710621":["hashtag1","hashtag2"]},{"1375710630":["hashtag1","hashtag2"]},{"1375710618":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375710614, 1375710646, 1375710651, 1375710621, 1375710630, 1375710618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.79511451721191 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 18:59:02.737525
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/51/image_13062025_05_51_34_10147.jpg', 2), ('/mnt/data/13062025/05/51/image_13062025_05_51_24_8922.jpg', 2), ('/mnt/data/13062025/05/51/image_13062025_05_51_15_10204.jpg', 2), ('/mnt/data/13062025/05/50/image_13062025_05_51_05_10213.jpg', 2), ('/mnt/data/13062025/05/50/image_13062025_05_50_54_10123.jpg', 2), ('/mnt/data/13062025/05/50/image_13062025_05_50_44_10219.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/51/image_13062025_05_51_34_10147.jpg', '/mnt/data/13062025/05/51/image_13062025_05_51_24_8922.jpg', '/mnt/data/13062025/05/51/image_13062025_05_51_15_10204.jpg', '/mnt/data/13062025/05/50/image_13062025_05_51_05_10213.jpg', '/mnt/data/13062025/05/50/image_13062025_05_50_54_10123.jpg', '/mnt/data/13062025/05/50/image_13062025_05_50_44_10219.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/51/image_13062025_05_51_34_10147.jpg', '/mnt/data/13062025/05/51/image_13062025_05_51_24_8922.jpg', '/mnt/data/13062025/05/51/image_13062025_05_51_15_10204.jpg', '/mnt/data/13062025/05/50/image_13062025_05_51_05_10213.jpg', '/mnt/data/13062025/05/50/image_13062025_05_50_54_10123.jpg', '/mnt/data/13062025/05/50/image_13062025_05_50_44_10219.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/51/image_13062025_05_51_34_10147.jpg
/mnt/data/13062025/05/51/image_13062025_05_51_24_8922.jpg
/mnt/data/13062025/05/51/image_13062025_05_51_15_10204.jpg
/mnt/data/13062025/05/50/image_13062025_05_51_05_10213.jpg
/mnt/data/13062025/05/50/image_13062025_05_50_54_10123.jpg
/mnt/data/13062025/05/50/image_13062025_05_50_44_10219.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375710923","1375710961","1375711059","1375710999","1375711181","1375711118"],"photo_ids_order":["1375710923","1375710961","1375710999","1375711059","1375711118","1375711181"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/413ad62699c317594a7e9551d763d2cc.jpg","text":"TemporaryFile(/tmp/multipartBody3514934411039221237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754586014597,"filename":"image_13062025_05_51_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/7/d7c17b2c23d0959412f879d443de2776.jpg","text":"TemporaryFile(/tmp/multipartBody5768670542079147709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754586014597,"filename":"image_13062025_05_51_24_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/7/9fdb521bc405465e0bec1d8eeeb66400.jpg","text":"TemporaryFile(/tmp/multipartBody8633898980916899690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754586014597,"filename":"image_13062025_05_51_05_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/7/f952913a8a7dba5e5e88ba388a7e08a3.jpg","text":"TemporaryFile(/tmp/multipartBody7246972990377609219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754586014597,"filename":"image_13062025_05_51_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/7/286448321cb2ec022c2101052c879f38.jpg","text":"TemporaryFile(/tmp/multipartBody5070715109296099755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754586014597,"filename":"image_13062025_05_50_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/7/a6a821e3ee38944f93bee9bec7d6ddba.jpg","text":"TemporaryFile(/tmp/multipartBody6069440331410003193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754586014597,"filename":"image_13062025_05_50_54_10123.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375710999","file1":"1375710961","file0":"1375710923","file4":"1375711118","file5":"1375711181","file3":"1375711059"},"map_files_photo_id_array":[{"photo_id":"1375711181","filename":"file5"},{"photo_id":"1375710999","filename":"file2"},{"photo_id":"1375711118","filename":"file4"},{"photo_id":"1375710961","filename":"file1"},{"photo_id":"1375710923","filename":"file0"},{"photo_id":"1375711059","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375710923":["hashtag1","hashtag2"]},{"1375710961":["hashtag1","hashtag2"]},{"1375711059":["hashtag1","hashtag2"]},{"1375710999":["hashtag1","hashtag2"]},{"1375711181":["hashtag1","hashtag2"]},{"1375711118":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375710923, 1375710961, 1375711059, 1375710999, 1375711181, 1375711118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.014745235443115 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:00:02.551882
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/50/image_13062025_05_50_34_10258.jpg', 2), ('/mnt/data/13062025/05/50/image_13062025_05_50_24_9034.jpg', 2), ('/mnt/data/13062025/05/50/image_13062025_05_50_15_10248.jpg', 2), ('/mnt/data/13062025/05/49/image_13062025_05_50_05_10218.jpg', 2), ('/mnt/data/13062025/05/49/image_13062025_05_49_54_10098.jpg', 2), ('/mnt/data/13062025/05/49/image_13062025_05_49_44_10194.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/50/image_13062025_05_50_34_10258.jpg', '/mnt/data/13062025/05/50/image_13062025_05_50_24_9034.jpg', '/mnt/data/13062025/05/50/image_13062025_05_50_15_10248.jpg', '/mnt/data/13062025/05/49/image_13062025_05_50_05_10218.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_54_10098.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_44_10194.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/50/image_13062025_05_50_34_10258.jpg', '/mnt/data/13062025/05/50/image_13062025_05_50_24_9034.jpg', '/mnt/data/13062025/05/50/image_13062025_05_50_15_10248.jpg', '/mnt/data/13062025/05/49/image_13062025_05_50_05_10218.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_54_10098.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_44_10194.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/50/image_13062025_05_50_34_10258.jpg
/mnt/data/13062025/05/50/image_13062025_05_50_24_9034.jpg
/mnt/data/13062025/05/50/image_13062025_05_50_15_10248.jpg
/mnt/data/13062025/05/49/image_13062025_05_50_05_10218.jpg
/mnt/data/13062025/05/49/image_13062025_05_49_54_10098.jpg
/mnt/data/13062025/05/49/image_13062025_05_49_44_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":["1375711999","1375711912","1375712061","1375711804","1375711944","1375711868"],"photo_ids_order":["1375711804","1375711868","1375711912","1375711944","1375711999","1375712061"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/b19954c1d2e3b5119d676b6aff70ee14.jpg","text":"TemporaryFile(/tmp/multipartBody6819956352571747621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754586086636,"filename":"image_13062025_05_49_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/7/2817ab8131f47088b23835c728d7493b.jpg","text":"TemporaryFile(/tmp/multipartBody8808901238674053245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754586086636,"filename":"image_13062025_05_50_15_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/7/c69d4eab20da517d38c906812dd92646.jpg","text":"TemporaryFile(/tmp/multipartBody4493948318087479726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754586086636,"filename":"image_13062025_05_49_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/7/12a4fb466a588ec83e24dfa4f7352c75.jpg","text":"TemporaryFile(/tmp/multipartBody6356091231327334727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754586086636,"filename":"image_13062025_05_50_34_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/7/e6773e72d2772c8a167bfb1b69a66a4d.jpg","text":"TemporaryFile(/tmp/multipartBody7238854386941398798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754586086636,"filename":"image_13062025_05_50_05_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/7/ef68a541d4c83eab05a7376d1a98cf7d.jpg","text":"TemporaryFile(/tmp/multipartBody816062786329864604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754586086636,"filename":"image_13062025_05_50_24_9034.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375711912","file1":"1375711868","file0":"1375711804","file4":"1375711999","file5":"1375712061","file3":"1375711944"},"map_files_photo_id_array":[{"photo_id":"1375712061","filename":"file5"},{"photo_id":"1375711912","filename":"file2"},{"photo_id":"1375711999","filename":"file4"},{"photo_id":"1375711868","filename":"file1"},{"photo_id":"1375711804","filename":"file0"},{"photo_id":"1375711944","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375711999":["hashtag1","hashtag2"]},{"1375711912":["hashtag1","hashtag2"]},{"1375712061":["hashtag1","hashtag2"]},{"1375711804":["hashtag1","hashtag2"]},{"1375711944":["hashtag1","hashtag2"]},{"1375711868":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375711999, 1375711912, 1375712061, 1375711804, 1375711944, 1375711868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.42643237113953 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:02:02.495106
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/49/image_13062025_05_49_34_10031.jpg', 2), ('/mnt/data/13062025/05/49/image_13062025_05_49_24_10077.jpg', 2), ('/mnt/data/13062025/05/49/image_13062025_05_49_14_9001.jpg', 2), ('/mnt/data/13062025/05/48/image_13062025_05_49_05_10233.jpg', 2), ('/mnt/data/13062025/05/48/image_13062025_05_48_55_10056.jpg', 2), ('/mnt/data/13062025/05/48/image_13062025_05_48_45_10223.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/49/image_13062025_05_49_34_10031.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_24_10077.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_14_9001.jpg', '/mnt/data/13062025/05/48/image_13062025_05_49_05_10233.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_55_10056.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_45_10223.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/49/image_13062025_05_49_34_10031.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_24_10077.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_14_9001.jpg', '/mnt/data/13062025/05/48/image_13062025_05_49_05_10233.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_55_10056.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_45_10223.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/49/image_13062025_05_49_34_10031.jpg
/mnt/data/13062025/05/49/image_13062025_05_49_24_10077.jpg
/mnt/data/13062025/05/49/image_13062025_05_49_14_9001.jpg
/mnt/data/13062025/05/48/image_13062025_05_49_05_10233.jpg
/mnt/data/13062025/05/48/image_13062025_05_48_55_10056.jpg
/mnt/data/13062025/05/48/image_13062025_05_48_45_10223.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 138.69863414764404 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-07 19:05:02.939832
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/49/image_13062025_05_49_34_10031.jpg', 2), ('/mnt/data/13062025/05/49/image_13062025_05_49_24_10077.jpg', 2), ('/mnt/data/13062025/05/49/image_13062025_05_49_14_9001.jpg', 2), ('/mnt/data/13062025/05/48/image_13062025_05_49_05_10233.jpg', 2), ('/mnt/data/13062025/05/48/image_13062025_05_48_55_10056.jpg', 2), ('/mnt/data/13062025/05/48/image_13062025_05_48_45_10223.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/49/image_13062025_05_49_34_10031.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_24_10077.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_14_9001.jpg', '/mnt/data/13062025/05/48/image_13062025_05_49_05_10233.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_55_10056.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_45_10223.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/49/image_13062025_05_49_34_10031.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_24_10077.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_14_9001.jpg', '/mnt/data/13062025/05/48/image_13062025_05_49_05_10233.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_55_10056.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_45_10223.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/49/image_13062025_05_49_34_10031.jpg
/mnt/data/13062025/05/49/image_13062025_05_49_24_10077.jpg
/mnt/data/13062025/05/49/image_13062025_05_49_14_9001.jpg
/mnt/data/13062025/05/48/image_13062025_05_49_05_10233.jpg
/mnt/data/13062025/05/48/image_13062025_05_48_55_10056.jpg
/mnt/data/13062025/05/48/image_13062025_05_48_45_10223.jpg
uploaded 0 photos
time to upload: 30.377071619033813 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:06:02.468116
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/49/image_13062025_05_49_34_10031.jpg', 2), ('/mnt/data/13062025/05/49/image_13062025_05_49_24_10077.jpg', 2), ('/mnt/data/13062025/05/49/image_13062025_05_49_14_9001.jpg', 2), ('/mnt/data/13062025/05/48/image_13062025_05_49_05_10233.jpg', 2), ('/mnt/data/13062025/05/48/image_13062025_05_48_55_10056.jpg', 2), ('/mnt/data/13062025/05/48/image_13062025_05_48_45_10223.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/49/image_13062025_05_49_34_10031.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_24_10077.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_14_9001.jpg', '/mnt/data/13062025/05/48/image_13062025_05_49_05_10233.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_55_10056.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_45_10223.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/49/image_13062025_05_49_34_10031.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_24_10077.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_14_9001.jpg', '/mnt/data/13062025/05/48/image_13062025_05_49_05_10233.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_55_10056.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_45_10223.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/49/image_13062025_05_49_34_10031.jpg
/mnt/data/13062025/05/49/image_13062025_05_49_24_10077.jpg
/mnt/data/13062025/05/49/image_13062025_05_49_14_9001.jpg
/mnt/data/13062025/05/48/image_13062025_05_49_05_10233.jpg
/mnt/data/13062025/05/48/image_13062025_05_48_55_10056.jpg
/mnt/data/13062025/05/48/image_13062025_05_48_45_10223.jpg
uploaded 0 photos
time to upload: 30.399279356002808 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:07:02.688138
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/49/image_13062025_05_49_34_10031.jpg', 2), ('/mnt/data/13062025/05/49/image_13062025_05_49_24_10077.jpg', 2), ('/mnt/data/13062025/05/49/image_13062025_05_49_14_9001.jpg', 2), ('/mnt/data/13062025/05/48/image_13062025_05_49_05_10233.jpg', 2), ('/mnt/data/13062025/05/48/image_13062025_05_48_55_10056.jpg', 2), ('/mnt/data/13062025/05/48/image_13062025_05_48_45_10223.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/49/image_13062025_05_49_34_10031.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_24_10077.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_14_9001.jpg', '/mnt/data/13062025/05/48/image_13062025_05_49_05_10233.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_55_10056.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_45_10223.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/49/image_13062025_05_49_34_10031.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_24_10077.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_14_9001.jpg', '/mnt/data/13062025/05/48/image_13062025_05_49_05_10233.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_55_10056.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_45_10223.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/49/image_13062025_05_49_34_10031.jpg
/mnt/data/13062025/05/49/image_13062025_05_49_24_10077.jpg
/mnt/data/13062025/05/49/image_13062025_05_49_14_9001.jpg
/mnt/data/13062025/05/48/image_13062025_05_49_05_10233.jpg
/mnt/data/13062025/05/48/image_13062025_05_48_55_10056.jpg
/mnt/data/13062025/05/48/image_13062025_05_48_45_10223.jpg
uploaded 0 photos
time to upload: 30.368558883666992 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:08:03.123540
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/49/image_13062025_05_49_34_10031.jpg', 2), ('/mnt/data/13062025/05/49/image_13062025_05_49_24_10077.jpg', 2), ('/mnt/data/13062025/05/49/image_13062025_05_49_14_9001.jpg', 2), ('/mnt/data/13062025/05/48/image_13062025_05_49_05_10233.jpg', 2), ('/mnt/data/13062025/05/48/image_13062025_05_48_55_10056.jpg', 2), ('/mnt/data/13062025/05/48/image_13062025_05_48_45_10223.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/49/image_13062025_05_49_34_10031.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_24_10077.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_14_9001.jpg', '/mnt/data/13062025/05/48/image_13062025_05_49_05_10233.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_55_10056.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_45_10223.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/49/image_13062025_05_49_34_10031.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_24_10077.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_14_9001.jpg', '/mnt/data/13062025/05/48/image_13062025_05_49_05_10233.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_55_10056.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_45_10223.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/49/image_13062025_05_49_34_10031.jpg
/mnt/data/13062025/05/49/image_13062025_05_49_24_10077.jpg
/mnt/data/13062025/05/49/image_13062025_05_49_14_9001.jpg
/mnt/data/13062025/05/48/image_13062025_05_49_05_10233.jpg
/mnt/data/13062025/05/48/image_13062025_05_48_55_10056.jpg
/mnt/data/13062025/05/48/image_13062025_05_48_45_10223.jpg
uploaded 0 photos
time to upload: 30.376147747039795 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:09:03.273039
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/49/image_13062025_05_49_34_10031.jpg', 2), ('/mnt/data/13062025/05/49/image_13062025_05_49_24_10077.jpg', 2), ('/mnt/data/13062025/05/49/image_13062025_05_49_14_9001.jpg', 2), ('/mnt/data/13062025/05/48/image_13062025_05_49_05_10233.jpg', 2), ('/mnt/data/13062025/05/48/image_13062025_05_48_55_10056.jpg', 2), ('/mnt/data/13062025/05/48/image_13062025_05_48_45_10223.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/49/image_13062025_05_49_34_10031.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_24_10077.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_14_9001.jpg', '/mnt/data/13062025/05/48/image_13062025_05_49_05_10233.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_55_10056.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_45_10223.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/49/image_13062025_05_49_34_10031.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_24_10077.jpg', '/mnt/data/13062025/05/49/image_13062025_05_49_14_9001.jpg', '/mnt/data/13062025/05/48/image_13062025_05_49_05_10233.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_55_10056.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_45_10223.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/49/image_13062025_05_49_34_10031.jpg
/mnt/data/13062025/05/49/image_13062025_05_49_24_10077.jpg
/mnt/data/13062025/05/49/image_13062025_05_49_14_9001.jpg
/mnt/data/13062025/05/48/image_13062025_05_49_05_10233.jpg
/mnt/data/13062025/05/48/image_13062025_05_48_55_10056.jpg
/mnt/data/13062025/05/48/image_13062025_05_48_45_10223.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375714585","1375714576","1375714581","1375714569","1375714590","1375714572"],"photo_ids_order":["1375714569","1375714572","1375714576","1375714581","1375714585","1375714590"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/63a7753f5d5d145b16aeef79dcb4bda1.jpg","text":"TemporaryFile(/tmp/multipartBody2805990024510951580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754586616834,"filename":"image_13062025_05_48_55_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/7/df8a0301c7acf929681da127d5eaec13.jpg","text":"TemporaryFile(/tmp/multipartBody5880858569885897934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754586616834,"filename":"image_13062025_05_49_14_9001.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/78a064e5b0cf9782efc9d758023da125.jpg","text":"TemporaryFile(/tmp/multipartBody65989309563287607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754586616834,"filename":"image_13062025_05_49_05_10233.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/879c1608ecc6350e12ede9b71b02f21a.jpg","text":"TemporaryFile(/tmp/multipartBody8334153187929637304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754586616834,"filename":"image_13062025_05_49_34_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/7/87072a3e618453ab7448f09a8925c34f.jpg","text":"TemporaryFile(/tmp/multipartBody9058724282195345563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754586616834,"filename":"image_13062025_05_48_45_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/7/0f0d3c4ad5b96aa4e7ba4d0df33d6bf8.jpg","text":"TemporaryFile(/tmp/multipartBody2041705129396638151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754586616834,"filename":"image_13062025_05_49_24_10077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375714576","file1":"1375714572","file0":"1375714569","file4":"1375714585","file5":"1375714590","file3":"1375714581"},"map_files_photo_id_array":[{"photo_id":"1375714590","filename":"file5"},{"photo_id":"1375714576","filename":"file2"},{"photo_id":"1375714585","filename":"file4"},{"photo_id":"1375714572","filename":"file1"},{"photo_id":"1375714569","filename":"file0"},{"photo_id":"1375714581","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375714585":["hashtag1","hashtag2"]},{"1375714576":["hashtag1","hashtag2"]},{"1375714581":["hashtag1","hashtag2"]},{"1375714569":["hashtag1","hashtag2"]},{"1375714590":["hashtag1","hashtag2"]},{"1375714572":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375714585, 1375714576, 1375714581, 1375714569, 1375714590, 1375714572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.819886207580566 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:10:02.770040
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/48/image_13062025_05_48_34_10204.jpg', 2), ('/mnt/data/13062025/05/48/image_13062025_05_48_24_10071.jpg', 2), ('/mnt/data/13062025/05/48/image_13062025_05_48_14_10167.jpg', 2), ('/mnt/data/13062025/05/47/image_13062025_05_48_04_9339.jpg', 2), ('/mnt/data/13062025/05/47/image_13062025_05_47_55_10110.jpg', 2), ('/mnt/data/13062025/05/47/image_13062025_05_47_44_10134.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/48/image_13062025_05_48_34_10204.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_24_10071.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_14_10167.jpg', '/mnt/data/13062025/05/47/image_13062025_05_48_04_9339.jpg', '/mnt/data/13062025/05/47/image_13062025_05_47_55_10110.jpg', '/mnt/data/13062025/05/47/image_13062025_05_47_44_10134.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/48/image_13062025_05_48_34_10204.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_24_10071.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_14_10167.jpg', '/mnt/data/13062025/05/47/image_13062025_05_48_04_9339.jpg', '/mnt/data/13062025/05/47/image_13062025_05_47_55_10110.jpg', '/mnt/data/13062025/05/47/image_13062025_05_47_44_10134.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/48/image_13062025_05_48_34_10204.jpg
/mnt/data/13062025/05/48/image_13062025_05_48_24_10071.jpg
/mnt/data/13062025/05/48/image_13062025_05_48_14_10167.jpg
/mnt/data/13062025/05/47/image_13062025_05_48_04_9339.jpg
/mnt/data/13062025/05/47/image_13062025_05_47_55_10110.jpg
/mnt/data/13062025/05/47/image_13062025_05_47_44_10134.jpg
uploaded 0 photos
time to upload: 30.457471132278442 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:11:02.626675
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/48/image_13062025_05_48_34_10204.jpg', 2), ('/mnt/data/13062025/05/48/image_13062025_05_48_24_10071.jpg', 2), ('/mnt/data/13062025/05/48/image_13062025_05_48_14_10167.jpg', 2), ('/mnt/data/13062025/05/47/image_13062025_05_48_04_9339.jpg', 2), ('/mnt/data/13062025/05/47/image_13062025_05_47_55_10110.jpg', 2), ('/mnt/data/13062025/05/47/image_13062025_05_47_44_10134.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/48/image_13062025_05_48_34_10204.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_24_10071.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_14_10167.jpg', '/mnt/data/13062025/05/47/image_13062025_05_48_04_9339.jpg', '/mnt/data/13062025/05/47/image_13062025_05_47_55_10110.jpg', '/mnt/data/13062025/05/47/image_13062025_05_47_44_10134.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/48/image_13062025_05_48_34_10204.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_24_10071.jpg', '/mnt/data/13062025/05/48/image_13062025_05_48_14_10167.jpg', '/mnt/data/13062025/05/47/image_13062025_05_48_04_9339.jpg', '/mnt/data/13062025/05/47/image_13062025_05_47_55_10110.jpg', '/mnt/data/13062025/05/47/image_13062025_05_47_44_10134.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/48/image_13062025_05_48_34_10204.jpg
/mnt/data/13062025/05/48/image_13062025_05_48_24_10071.jpg
/mnt/data/13062025/05/48/image_13062025_05_48_14_10167.jpg
/mnt/data/13062025/05/47/image_13062025_05_48_04_9339.jpg
/mnt/data/13062025/05/47/image_13062025_05_47_55_10110.jpg
/mnt/data/13062025/05/47/image_13062025_05_47_44_10134.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":["1375714901","1375714981","1375714975","1375714942","1375714986","1375714989"],"photo_ids_order":["1375714901","1375714942","1375714975","1375714981","1375714986","1375714989"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/3f4a5494f8118ca920ff5464240292c9.jpg","text":"TemporaryFile(/tmp/multipartBody2448957847217254778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754586747354,"filename":"image_13062025_05_48_34_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/7/5425a5d35060a1e079602204520bb7e7.jpg","text":"TemporaryFile(/tmp/multipartBody3009638555953707416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754586747354,"filename":"image_13062025_05_48_04_9339.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/e3367079694ab92910e440ad50d85511.jpg","text":"TemporaryFile(/tmp/multipartBody7284135949600510953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754586747354,"filename":"image_13062025_05_48_14_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/7/f5355b26d69498b597547092604a58e3.jpg","text":"TemporaryFile(/tmp/multipartBody4924399310754068881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754586747354,"filename":"image_13062025_05_48_24_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/7/e2490a8a6ab2a03c86e991f60e378bd4.jpg","text":"TemporaryFile(/tmp/multipartBody4081684296884464442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754586747354,"filename":"image_13062025_05_47_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/7/e79d81429b83ee285955a880fd46ae54.jpg","text":"TemporaryFile(/tmp/multipartBody7460618589690909070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754586747354,"filename":"image_13062025_05_47_44_10134.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375714975","file1":"1375714942","file0":"1375714901","file4":"1375714986","file5":"1375714989","file3":"1375714981"},"map_files_photo_id_array":[{"photo_id":"1375714989","filename":"file5"},{"photo_id":"1375714975","filename":"file2"},{"photo_id":"1375714986","filename":"file4"},{"photo_id":"1375714942","filename":"file1"},{"photo_id":"1375714901","filename":"file0"},{"photo_id":"1375714981","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375714901":["hashtag1","hashtag2"]},{"1375714981":["hashtag1","hashtag2"]},{"1375714975":["hashtag1","hashtag2"]},{"1375714942":["hashtag1","hashtag2"]},{"1375714986":["hashtag1","hashtag2"]},{"1375714989":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375714901, 1375714981, 1375714975, 1375714942, 1375714986, 1375714989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.3591423034668 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:13:03.332891
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/47/image_13062025_05_47_34_10111.jpg', 2), ('/mnt/data/13062025/05/47/image_13062025_05_47_24_10078.jpg', 2), ('/mnt/data/13062025/05/47/image_13062025_05_47_14_10001.jpg', 2), ('/mnt/data/13062025/05/46/image_13062025_05_47_04_10116.jpg', 2), ('/mnt/data/13062025/05/46/image_13062025_05_46_54_10023.jpg', 2), ('/mnt/data/13062025/05/46/image_13062025_05_46_44_9974.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/47/image_13062025_05_47_34_10111.jpg', '/mnt/data/13062025/05/47/image_13062025_05_47_24_10078.jpg', '/mnt/data/13062025/05/47/image_13062025_05_47_14_10001.jpg', '/mnt/data/13062025/05/46/image_13062025_05_47_04_10116.jpg', '/mnt/data/13062025/05/46/image_13062025_05_46_54_10023.jpg', '/mnt/data/13062025/05/46/image_13062025_05_46_44_9974.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/47/image_13062025_05_47_34_10111.jpg', '/mnt/data/13062025/05/47/image_13062025_05_47_24_10078.jpg', '/mnt/data/13062025/05/47/image_13062025_05_47_14_10001.jpg', '/mnt/data/13062025/05/46/image_13062025_05_47_04_10116.jpg', '/mnt/data/13062025/05/46/image_13062025_05_46_54_10023.jpg', '/mnt/data/13062025/05/46/image_13062025_05_46_44_9974.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/47/image_13062025_05_47_34_10111.jpg
/mnt/data/13062025/05/47/image_13062025_05_47_24_10078.jpg
/mnt/data/13062025/05/47/image_13062025_05_47_14_10001.jpg
/mnt/data/13062025/05/46/image_13062025_05_47_04_10116.jpg
/mnt/data/13062025/05/46/image_13062025_05_46_54_10023.jpg
/mnt/data/13062025/05/46/image_13062025_05_46_44_9974.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 139.34913444519043 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-07 19:16:03.118055
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/47/image_13062025_05_47_34_10111.jpg', 2), ('/mnt/data/13062025/05/47/image_13062025_05_47_24_10078.jpg', 2), ('/mnt/data/13062025/05/47/image_13062025_05_47_14_10001.jpg', 2), ('/mnt/data/13062025/05/46/image_13062025_05_47_04_10116.jpg', 2), ('/mnt/data/13062025/05/46/image_13062025_05_46_54_10023.jpg', 2), ('/mnt/data/13062025/05/46/image_13062025_05_46_44_9974.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/47/image_13062025_05_47_34_10111.jpg', '/mnt/data/13062025/05/47/image_13062025_05_47_24_10078.jpg', '/mnt/data/13062025/05/47/image_13062025_05_47_14_10001.jpg', '/mnt/data/13062025/05/46/image_13062025_05_47_04_10116.jpg', '/mnt/data/13062025/05/46/image_13062025_05_46_54_10023.jpg', '/mnt/data/13062025/05/46/image_13062025_05_46_44_9974.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/47/image_13062025_05_47_34_10111.jpg', '/mnt/data/13062025/05/47/image_13062025_05_47_24_10078.jpg', '/mnt/data/13062025/05/47/image_13062025_05_47_14_10001.jpg', '/mnt/data/13062025/05/46/image_13062025_05_47_04_10116.jpg', '/mnt/data/13062025/05/46/image_13062025_05_46_54_10023.jpg', '/mnt/data/13062025/05/46/image_13062025_05_46_44_9974.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/47/image_13062025_05_47_34_10111.jpg
/mnt/data/13062025/05/47/image_13062025_05_47_24_10078.jpg
/mnt/data/13062025/05/47/image_13062025_05_47_14_10001.jpg
/mnt/data/13062025/05/46/image_13062025_05_47_04_10116.jpg
/mnt/data/13062025/05/46/image_13062025_05_46_54_10023.jpg
/mnt/data/13062025/05/46/image_13062025_05_46_44_9974.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375715522","1375715593","1375715519","1375715560","1375715513","1375715526"],"photo_ids_order":["1375715513","1375715519","1375715522","1375715526","1375715560","1375715593"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/c930ecd8a39bc01626c818c3932d2b7c.jpg","text":"TemporaryFile(/tmp/multipartBody5056418048983049417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587034783,"filename":"image_13062025_05_47_14_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/7/c74f1cfc0211d35699ceefa2ae6fffe2.jpg","text":"TemporaryFile(/tmp/multipartBody2874088553203946839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587034783,"filename":"image_13062025_05_46_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/7/14b86108ff1e8c909b0349f6e781a2d9.jpg","text":"TemporaryFile(/tmp/multipartBody703246591547366437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587034783,"filename":"image_13062025_05_47_24_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/7/a90469fd9104b5b9febda02a1d57598f.jpg","text":"TemporaryFile(/tmp/multipartBody5465996660267755786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587034783,"filename":"image_13062025_05_46_54_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/7/11f849282ddec6f03ef454a166d79d05.jpg","text":"TemporaryFile(/tmp/multipartBody2919094645605559238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587034783,"filename":"image_13062025_05_47_34_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/7/21fa481bf516c7c47fd3f6b94f2580a9.jpg","text":"TemporaryFile(/tmp/multipartBody6274406396118860137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587034783,"filename":"image_13062025_05_47_04_10116.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375715522","file1":"1375715519","file0":"1375715513","file4":"1375715560","file5":"1375715593","file3":"1375715526"},"map_files_photo_id_array":[{"photo_id":"1375715593","filename":"file5"},{"photo_id":"1375715522","filename":"file2"},{"photo_id":"1375715560","filename":"file4"},{"photo_id":"1375715519","filename":"file1"},{"photo_id":"1375715513","filename":"file0"},{"photo_id":"1375715526","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375715522":["hashtag1","hashtag2"]},{"1375715593":["hashtag1","hashtag2"]},{"1375715519":["hashtag1","hashtag2"]},{"1375715560":["hashtag1","hashtag2"]},{"1375715513":["hashtag1","hashtag2"]},{"1375715526":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375715522, 1375715593, 1375715519, 1375715560, 1375715513, 1375715526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.90388035774231 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:17:03.209270
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/46/image_13062025_05_46_34_9936.jpg', 2), ('/mnt/data/13062025/05/46/image_13062025_05_46_24_9947.jpg', 2), ('/mnt/data/13062025/05/46/image_13062025_05_46_14_9957.jpg', 2), ('/mnt/data/13062025/05/45/image_13062025_05_46_04_10177.jpg', 2), ('/mnt/data/13062025/05/45/image_13062025_05_45_44_10079.jpg', 2), ('/mnt/data/13062025/05/44/image_13062025_05_44_35_10036.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/46/image_13062025_05_46_34_9936.jpg', '/mnt/data/13062025/05/46/image_13062025_05_46_24_9947.jpg', '/mnt/data/13062025/05/46/image_13062025_05_46_14_9957.jpg', '/mnt/data/13062025/05/45/image_13062025_05_46_04_10177.jpg', '/mnt/data/13062025/05/45/image_13062025_05_45_44_10079.jpg', '/mnt/data/13062025/05/44/image_13062025_05_44_35_10036.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/46/image_13062025_05_46_34_9936.jpg', '/mnt/data/13062025/05/46/image_13062025_05_46_24_9947.jpg', '/mnt/data/13062025/05/46/image_13062025_05_46_14_9957.jpg', '/mnt/data/13062025/05/45/image_13062025_05_46_04_10177.jpg', '/mnt/data/13062025/05/45/image_13062025_05_45_44_10079.jpg', '/mnt/data/13062025/05/44/image_13062025_05_44_35_10036.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/46/image_13062025_05_46_34_9936.jpg
/mnt/data/13062025/05/46/image_13062025_05_46_24_9947.jpg
/mnt/data/13062025/05/46/image_13062025_05_46_14_9957.jpg
/mnt/data/13062025/05/45/image_13062025_05_46_04_10177.jpg
/mnt/data/13062025/05/45/image_13062025_05_45_44_10079.jpg
/mnt/data/13062025/05/44/image_13062025_05_44_35_10036.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375715846","1375715983","1375715915","1375715881","1375715809","1375715949"],"photo_ids_order":["1375715809","1375715846","1375715881","1375715915","1375715949","1375715983"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/c15c91fb9c385c42704452bef6072d7a.jpg","text":"TemporaryFile(/tmp/multipartBody8096570885806056929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587094832,"filename":"image_13062025_05_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/7/f12d487e286f51bd59db1bb924fa9975.jpg","text":"TemporaryFile(/tmp/multipartBody6810004498202499992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587094832,"filename":"image_13062025_05_44_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/7/ac9bb8f1d8cf5d5ef203a772f6a0d38e.jpg","text":"TemporaryFile(/tmp/multipartBody1644626251812284889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587094832,"filename":"image_13062025_05_46_04_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/7/3c1b2cdea285a72370b8b77a0a761aa5.jpg","text":"TemporaryFile(/tmp/multipartBody4451960962400970958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587094832,"filename":"image_13062025_05_46_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/7/3095ac1e8834cf7f72110ecf6730c41b.jpg","text":"TemporaryFile(/tmp/multipartBody2776946288455164722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587094832,"filename":"image_13062025_05_46_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/7/a30cd1f861e19edba142db52220289d5.jpg","text":"TemporaryFile(/tmp/multipartBody1083759988260822149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587094832,"filename":"image_13062025_05_45_44_10079.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375715881","file1":"1375715846","file0":"1375715809","file4":"1375715949","file5":"1375715983","file3":"1375715915"},"map_files_photo_id_array":[{"photo_id":"1375715983","filename":"file5"},{"photo_id":"1375715881","filename":"file2"},{"photo_id":"1375715949","filename":"file4"},{"photo_id":"1375715846","filename":"file1"},{"photo_id":"1375715809","filename":"file0"},{"photo_id":"1375715915","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375715846":["hashtag1","hashtag2"]},{"1375715983":["hashtag1","hashtag2"]},{"1375715915":["hashtag1","hashtag2"]},{"1375715881":["hashtag1","hashtag2"]},{"1375715809":["hashtag1","hashtag2"]},{"1375715949":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375715846, 1375715983, 1375715915, 1375715881, 1375715809, 1375715949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.144672870635986 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:18:02.907280
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/44/image_13062025_05_44_25_10082.jpg', 2), ('/mnt/data/13062025/05/44/image_13062025_05_44_15_10170.jpg', 2), ('/mnt/data/13062025/05/43/image_13062025_05_44_04_9989.jpg', 2), ('/mnt/data/13062025/05/43/image_13062025_05_43_54_10044.jpg', 2), ('/mnt/data/13062025/05/42/image_13062025_05_42_45_10182.jpg', 2), ('/mnt/data/13062025/05/42/image_13062025_05_42_35_10130.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/44/image_13062025_05_44_25_10082.jpg', '/mnt/data/13062025/05/44/image_13062025_05_44_15_10170.jpg', '/mnt/data/13062025/05/43/image_13062025_05_44_04_9989.jpg', '/mnt/data/13062025/05/43/image_13062025_05_43_54_10044.jpg', '/mnt/data/13062025/05/42/image_13062025_05_42_45_10182.jpg', '/mnt/data/13062025/05/42/image_13062025_05_42_35_10130.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/44/image_13062025_05_44_25_10082.jpg', '/mnt/data/13062025/05/44/image_13062025_05_44_15_10170.jpg', '/mnt/data/13062025/05/43/image_13062025_05_44_04_9989.jpg', '/mnt/data/13062025/05/43/image_13062025_05_43_54_10044.jpg', '/mnt/data/13062025/05/42/image_13062025_05_42_45_10182.jpg', '/mnt/data/13062025/05/42/image_13062025_05_42_35_10130.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/44/image_13062025_05_44_25_10082.jpg
/mnt/data/13062025/05/44/image_13062025_05_44_15_10170.jpg
/mnt/data/13062025/05/43/image_13062025_05_44_04_9989.jpg
/mnt/data/13062025/05/43/image_13062025_05_43_54_10044.jpg
/mnt/data/13062025/05/42/image_13062025_05_42_45_10182.jpg
/mnt/data/13062025/05/42/image_13062025_05_42_35_10130.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":["1375716391","1375716390","1375716395","1375716389","1375716312","1375716398"],"photo_ids_order":["1375716312","1375716389","1375716390","1375716391","1375716395","1375716398"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/66453af28811fa0c8463bcce99d5a13a.jpg","text":"TemporaryFile(/tmp/multipartBody2958624542129621908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587166705,"filename":"image_13062025_05_43_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/7/a3723a35f9ecbd03efcd2e9c4531f062.jpg","text":"TemporaryFile(/tmp/multipartBody8692108037388850275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587166705,"filename":"image_13062025_05_44_04_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/7/57c0994531b67d4297836974308cd030.jpg","text":"TemporaryFile(/tmp/multipartBody3367565373129476508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587166705,"filename":"image_13062025_05_42_45_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/7/721c505e74f3dc47e6ee35de8eedf592.jpg","text":"TemporaryFile(/tmp/multipartBody7239864896608469120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587166705,"filename":"image_13062025_05_44_15_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/7/3d5fe236fc6605ee9bebb2fea2578d80.jpg","text":"TemporaryFile(/tmp/multipartBody1355008770969744522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587166705,"filename":"image_13062025_05_44_25_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/7/d87b827e2c696d1447aa2751147539be.jpg","text":"TemporaryFile(/tmp/multipartBody7258006177135627438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587166705,"filename":"image_13062025_05_42_35_10130.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375716390","file1":"1375716389","file0":"1375716312","file4":"1375716395","file5":"1375716398","file3":"1375716391"},"map_files_photo_id_array":[{"photo_id":"1375716398","filename":"file5"},{"photo_id":"1375716390","filename":"file2"},{"photo_id":"1375716395","filename":"file4"},{"photo_id":"1375716389","filename":"file1"},{"photo_id":"1375716312","filename":"file0"},{"photo_id":"1375716391","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375716391":["hashtag1","hashtag2"]},{"1375716390":["hashtag1","hashtag2"]},{"1375716395":["hashtag1","hashtag2"]},{"1375716389":["hashtag1","hashtag2"]},{"1375716312":["hashtag1","hashtag2"]},{"1375716398":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375716391, 1375716390, 1375716395, 1375716389, 1375716312, 1375716398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.91442775726318 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:20:03.284909
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/42/image_13062025_05_42_25_10096.jpg', 2), ('/mnt/data/13062025/05/42/image_13062025_05_42_14_10089.jpg', 2), ('/mnt/data/13062025/05/41/image_13062025_05_42_04_10248.jpg', 2), ('/mnt/data/13062025/05/41/image_13062025_05_41_54_10085.jpg', 2), ('/mnt/data/13062025/05/41/image_13062025_05_41_44_9932.jpg', 2), ('/mnt/data/13062025/05/41/image_13062025_05_41_34_10029.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/42/image_13062025_05_42_25_10096.jpg', '/mnt/data/13062025/05/42/image_13062025_05_42_14_10089.jpg', '/mnt/data/13062025/05/41/image_13062025_05_42_04_10248.jpg', '/mnt/data/13062025/05/41/image_13062025_05_41_54_10085.jpg', '/mnt/data/13062025/05/41/image_13062025_05_41_44_9932.jpg', '/mnt/data/13062025/05/41/image_13062025_05_41_34_10029.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/42/image_13062025_05_42_25_10096.jpg', '/mnt/data/13062025/05/42/image_13062025_05_42_14_10089.jpg', '/mnt/data/13062025/05/41/image_13062025_05_42_04_10248.jpg', '/mnt/data/13062025/05/41/image_13062025_05_41_54_10085.jpg', '/mnt/data/13062025/05/41/image_13062025_05_41_44_9932.jpg', '/mnt/data/13062025/05/41/image_13062025_05_41_34_10029.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/42/image_13062025_05_42_25_10096.jpg
/mnt/data/13062025/05/42/image_13062025_05_42_14_10089.jpg
/mnt/data/13062025/05/41/image_13062025_05_42_04_10248.jpg
/mnt/data/13062025/05/41/image_13062025_05_41_54_10085.jpg
/mnt/data/13062025/05/41/image_13062025_05_41_44_9932.jpg
/mnt/data/13062025/05/41/image_13062025_05_41_34_10029.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375716716","1375716787","1375716676","1375716789","1375716681","1375716753"],"photo_ids_order":["1375716676","1375716681","1375716716","1375716753","1375716787","1375716789"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/3025e2b68a3543c6756a176e70e871c9.jpg","text":"TemporaryFile(/tmp/multipartBody7053765350611114456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587266847,"filename":"image_13062025_05_42_04_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/7/84061232eb5e43b4a6f9098119e8b7f3.jpg","text":"TemporaryFile(/tmp/multipartBody6799815235227359379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587266847,"filename":"image_13062025_05_41_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/7/ab9373b31aba798237e700c712cceff4.jpg","text":"TemporaryFile(/tmp/multipartBody3812101567712370900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587266847,"filename":"image_13062025_05_42_25_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/7/6f8cfb4fcded7bb394bbe4f13fa2ef20.jpg","text":"TemporaryFile(/tmp/multipartBody4927480896861936259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587266847,"filename":"image_13062025_05_41_34_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/7/a323c1a868c722a62b97f71b609841bb.jpg","text":"TemporaryFile(/tmp/multipartBody4050502782823724466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587266847,"filename":"image_13062025_05_42_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/7/acf8f760151218d211e8072bda21815b.jpg","text":"TemporaryFile(/tmp/multipartBody9064347134963641742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587266847,"filename":"image_13062025_05_41_54_10085.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375716716","file1":"1375716681","file0":"1375716676","file4":"1375716787","file5":"1375716789","file3":"1375716753"},"map_files_photo_id_array":[{"photo_id":"1375716789","filename":"file5"},{"photo_id":"1375716716","filename":"file2"},{"photo_id":"1375716787","filename":"file4"},{"photo_id":"1375716681","filename":"file1"},{"photo_id":"1375716676","filename":"file0"},{"photo_id":"1375716753","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375716716":["hashtag1","hashtag2"]},{"1375716787":["hashtag1","hashtag2"]},{"1375716676":["hashtag1","hashtag2"]},{"1375716789":["hashtag1","hashtag2"]},{"1375716681":["hashtag1","hashtag2"]},{"1375716753":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375716716, 1375716787, 1375716676, 1375716789, 1375716681, 1375716753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.47618222236633 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:21:03.244559
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/40/image_13062025_05_41_04_8974.jpg', 2), ('/mnt/data/13062025/05/40/image_13062025_05_40_45_9993.jpg', 2), ('/mnt/data/13062025/05/40/image_13062025_05_40_35_10042.jpg', 2), ('/mnt/data/13062025/05/40/image_13062025_05_40_25_10022.jpg', 2), ('/mnt/data/13062025/05/40/image_13062025_05_40_15_9990.jpg', 2), ('/mnt/data/13062025/05/39/image_13062025_05_40_05_10164.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/40/image_13062025_05_41_04_8974.jpg', '/mnt/data/13062025/05/40/image_13062025_05_40_45_9993.jpg', '/mnt/data/13062025/05/40/image_13062025_05_40_35_10042.jpg', '/mnt/data/13062025/05/40/image_13062025_05_40_25_10022.jpg', '/mnt/data/13062025/05/40/image_13062025_05_40_15_9990.jpg', '/mnt/data/13062025/05/39/image_13062025_05_40_05_10164.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/40/image_13062025_05_41_04_8974.jpg', '/mnt/data/13062025/05/40/image_13062025_05_40_45_9993.jpg', '/mnt/data/13062025/05/40/image_13062025_05_40_35_10042.jpg', '/mnt/data/13062025/05/40/image_13062025_05_40_25_10022.jpg', '/mnt/data/13062025/05/40/image_13062025_05_40_15_9990.jpg', '/mnt/data/13062025/05/39/image_13062025_05_40_05_10164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/40/image_13062025_05_41_04_8974.jpg
/mnt/data/13062025/05/40/image_13062025_05_40_45_9993.jpg
/mnt/data/13062025/05/40/image_13062025_05_40_35_10042.jpg
/mnt/data/13062025/05/40/image_13062025_05_40_25_10022.jpg
/mnt/data/13062025/05/40/image_13062025_05_40_15_9990.jpg
/mnt/data/13062025/05/39/image_13062025_05_40_05_10164.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375716865","1375716829","1375716810","1375716900","1375716968","1375716935"],"photo_ids_order":["1375716810","1375716829","1375716865","1375716900","1375716935","1375716968"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/f52bea5549e996c6b1d59d158a913567.jpg","text":"TemporaryFile(/tmp/multipartBody8204428683714451659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587340107,"filename":"image_13062025_05_40_35_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/7/2e12630e18be2fef3806ea9549457b41.jpg","text":"TemporaryFile(/tmp/multipartBody3498090869896101821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587340107,"filename":"image_13062025_05_40_45_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/7/cb51a8538c68a0ff69a176278b1ac31d.jpg","text":"TemporaryFile(/tmp/multipartBody8678769873677498226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587340107,"filename":"image_13062025_05_41_04_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/7/3a72f02a662df428b2780937b36bc744.jpg","text":"TemporaryFile(/tmp/multipartBody7861081053769466488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587340107,"filename":"image_13062025_05_40_25_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/7/8eccdb293ee540be3f959608466adde6.jpg","text":"TemporaryFile(/tmp/multipartBody2230277315480849893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587340107,"filename":"image_13062025_05_40_05_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/7/319a0cf15a81a361c5246bcbe9b692f4.jpg","text":"TemporaryFile(/tmp/multipartBody8595598127118971099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587340107,"filename":"image_13062025_05_40_15_9990.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375716865","file1":"1375716829","file0":"1375716810","file4":"1375716935","file5":"1375716968","file3":"1375716900"},"map_files_photo_id_array":[{"photo_id":"1375716968","filename":"file5"},{"photo_id":"1375716865","filename":"file2"},{"photo_id":"1375716935","filename":"file4"},{"photo_id":"1375716829","filename":"file1"},{"photo_id":"1375716810","filename":"file0"},{"photo_id":"1375716900","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375716865":["hashtag1","hashtag2"]},{"1375716829":["hashtag1","hashtag2"]},{"1375716810":["hashtag1","hashtag2"]},{"1375716900":["hashtag1","hashtag2"]},{"1375716968":["hashtag1","hashtag2"]},{"1375716935":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375716865, 1375716829, 1375716810, 1375716900, 1375716968, 1375716935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.64111685752869 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:22:03.129531
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/39/image_13062025_05_39_54_10038.jpg', 2), ('/mnt/data/13062025/05/39/image_13062025_05_39_44_10017.jpg', 2), ('/mnt/data/13062025/05/39/image_13062025_05_39_34_10016.jpg', 2), ('/mnt/data/13062025/05/39/image_13062025_05_39_24_10004.jpg', 2), ('/mnt/data/13062025/05/39/image_13062025_05_39_14_10048.jpg', 2), ('/mnt/data/13062025/05/38/image_13062025_05_39_04_10058.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/39/image_13062025_05_39_54_10038.jpg', '/mnt/data/13062025/05/39/image_13062025_05_39_44_10017.jpg', '/mnt/data/13062025/05/39/image_13062025_05_39_34_10016.jpg', '/mnt/data/13062025/05/39/image_13062025_05_39_24_10004.jpg', '/mnt/data/13062025/05/39/image_13062025_05_39_14_10048.jpg', '/mnt/data/13062025/05/38/image_13062025_05_39_04_10058.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/39/image_13062025_05_39_54_10038.jpg', '/mnt/data/13062025/05/39/image_13062025_05_39_44_10017.jpg', '/mnt/data/13062025/05/39/image_13062025_05_39_34_10016.jpg', '/mnt/data/13062025/05/39/image_13062025_05_39_24_10004.jpg', '/mnt/data/13062025/05/39/image_13062025_05_39_14_10048.jpg', '/mnt/data/13062025/05/38/image_13062025_05_39_04_10058.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/39/image_13062025_05_39_54_10038.jpg
/mnt/data/13062025/05/39/image_13062025_05_39_44_10017.jpg
/mnt/data/13062025/05/39/image_13062025_05_39_34_10016.jpg
/mnt/data/13062025/05/39/image_13062025_05_39_24_10004.jpg
/mnt/data/13062025/05/39/image_13062025_05_39_14_10048.jpg
/mnt/data/13062025/05/38/image_13062025_05_39_04_10058.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 145.0370409488678 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-07 19:25:03.504821
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/39/image_13062025_05_39_54_10038.jpg', 2), ('/mnt/data/13062025/05/39/image_13062025_05_39_44_10017.jpg', 2), ('/mnt/data/13062025/05/39/image_13062025_05_39_34_10016.jpg', 2), ('/mnt/data/13062025/05/39/image_13062025_05_39_24_10004.jpg', 2), ('/mnt/data/13062025/05/39/image_13062025_05_39_14_10048.jpg', 2), ('/mnt/data/13062025/05/38/image_13062025_05_39_04_10058.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/39/image_13062025_05_39_54_10038.jpg', '/mnt/data/13062025/05/39/image_13062025_05_39_44_10017.jpg', '/mnt/data/13062025/05/39/image_13062025_05_39_34_10016.jpg', '/mnt/data/13062025/05/39/image_13062025_05_39_24_10004.jpg', '/mnt/data/13062025/05/39/image_13062025_05_39_14_10048.jpg', '/mnt/data/13062025/05/38/image_13062025_05_39_04_10058.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/39/image_13062025_05_39_54_10038.jpg', '/mnt/data/13062025/05/39/image_13062025_05_39_44_10017.jpg', '/mnt/data/13062025/05/39/image_13062025_05_39_34_10016.jpg', '/mnt/data/13062025/05/39/image_13062025_05_39_24_10004.jpg', '/mnt/data/13062025/05/39/image_13062025_05_39_14_10048.jpg', '/mnt/data/13062025/05/38/image_13062025_05_39_04_10058.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/39/image_13062025_05_39_54_10038.jpg
/mnt/data/13062025/05/39/image_13062025_05_39_44_10017.jpg
/mnt/data/13062025/05/39/image_13062025_05_39_34_10016.jpg
/mnt/data/13062025/05/39/image_13062025_05_39_24_10004.jpg
/mnt/data/13062025/05/39/image_13062025_05_39_14_10048.jpg
/mnt/data/13062025/05/38/image_13062025_05_39_04_10058.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375717276","1375717279","1375717258","1375717269","1375717253","1375717223"],"photo_ids_order":["1375717223","1375717253","1375717258","1375717269","1375717276","1375717279"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/03f02bf96ecf4fb0619ac811de60773a.jpg","text":"TemporaryFile(/tmp/multipartBody7626467276815591483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587566872,"filename":"image_13062025_05_39_14_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/7/3611e9e1fe6a337017317919286c6ffe.jpg","text":"TemporaryFile(/tmp/multipartBody8651305225983937698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587566872,"filename":"image_13062025_05_39_04_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/7/aa66fb0815e20d4950b126d31fcc0893.jpg","text":"TemporaryFile(/tmp/multipartBody5463606137754707646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587566872,"filename":"image_13062025_05_39_34_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/7/bc2f37e7863d06b4f20af6982457a734.jpg","text":"TemporaryFile(/tmp/multipartBody3542003762174746069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587566872,"filename":"image_13062025_05_39_24_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/7/6aec889cb59767dad7078dc0a835d1c1.jpg","text":"TemporaryFile(/tmp/multipartBody1868639320634765094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587566872,"filename":"image_13062025_05_39_44_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/7/52d6e34858d54bc4568f64370c67fbd1.jpg","text":"TemporaryFile(/tmp/multipartBody897673952508925665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587566872,"filename":"image_13062025_05_39_54_10038.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375717258","file1":"1375717253","file0":"1375717223","file4":"1375717276","file5":"1375717279","file3":"1375717269"},"map_files_photo_id_array":[{"photo_id":"1375717279","filename":"file5"},{"photo_id":"1375717258","filename":"file2"},{"photo_id":"1375717276","filename":"file4"},{"photo_id":"1375717253","filename":"file1"},{"photo_id":"1375717223","filename":"file0"},{"photo_id":"1375717269","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375717276":["hashtag1","hashtag2"]},{"1375717279":["hashtag1","hashtag2"]},{"1375717258":["hashtag1","hashtag2"]},{"1375717269":["hashtag1","hashtag2"]},{"1375717253":["hashtag1","hashtag2"]},{"1375717223":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375717276, 1375717279, 1375717258, 1375717269, 1375717253, 1375717223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.47871208190918 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:26:03.057373
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/38/image_13062025_05_38_54_9977.jpg', 2), ('/mnt/data/13062025/05/38/image_13062025_05_38_44_10001.jpg', 2), ('/mnt/data/13062025/05/38/image_13062025_05_38_34_10008.jpg', 2), ('/mnt/data/13062025/05/38/image_13062025_05_38_24_9972.jpg', 2), ('/mnt/data/13062025/05/38/image_13062025_05_38_14_9957.jpg', 2), ('/mnt/data/13062025/05/37/image_13062025_05_38_04_10048.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/38/image_13062025_05_38_54_9977.jpg', '/mnt/data/13062025/05/38/image_13062025_05_38_44_10001.jpg', '/mnt/data/13062025/05/38/image_13062025_05_38_34_10008.jpg', '/mnt/data/13062025/05/38/image_13062025_05_38_24_9972.jpg', '/mnt/data/13062025/05/38/image_13062025_05_38_14_9957.jpg', '/mnt/data/13062025/05/37/image_13062025_05_38_04_10048.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/38/image_13062025_05_38_54_9977.jpg', '/mnt/data/13062025/05/38/image_13062025_05_38_44_10001.jpg', '/mnt/data/13062025/05/38/image_13062025_05_38_34_10008.jpg', '/mnt/data/13062025/05/38/image_13062025_05_38_24_9972.jpg', '/mnt/data/13062025/05/38/image_13062025_05_38_14_9957.jpg', '/mnt/data/13062025/05/37/image_13062025_05_38_04_10048.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/38/image_13062025_05_38_54_9977.jpg
/mnt/data/13062025/05/38/image_13062025_05_38_44_10001.jpg
/mnt/data/13062025/05/38/image_13062025_05_38_34_10008.jpg
/mnt/data/13062025/05/38/image_13062025_05_38_24_9972.jpg
/mnt/data/13062025/05/38/image_13062025_05_38_14_9957.jpg
/mnt/data/13062025/05/37/image_13062025_05_38_04_10048.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":["1375717381","1375717386","1375717373","1375717376","1375717384","1375717378"],"photo_ids_order":["1375717373","1375717376","1375717378","1375717381","1375717384","1375717386"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/f03f40b88764cd30f9e05a454374063b.jpg","text":"TemporaryFile(/tmp/multipartBody6050502399408666585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587652712,"filename":"image_13062025_05_38_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/7/cbac66dac3da9a9c6af40a7cfa71c771.jpg","text":"TemporaryFile(/tmp/multipartBody2080912262836779899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587652712,"filename":"image_13062025_05_38_04_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/7/4a014db56331af293de24bafc2b2f3ff.jpg","text":"TemporaryFile(/tmp/multipartBody2389053289152254135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587652712,"filename":"image_13062025_05_38_54_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/7/3c597b5b75d1bd5f4ad3f858c0ae7872.jpg","text":"TemporaryFile(/tmp/multipartBody3003949077803989673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587652712,"filename":"image_13062025_05_38_44_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/7/045c77aecde5cc3cf89c6d7656378099.jpg","text":"TemporaryFile(/tmp/multipartBody7909528992100222338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587652712,"filename":"image_13062025_05_38_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/7/6afe3963bd3486fa3eda2b0faa9c43dd.jpg","text":"TemporaryFile(/tmp/multipartBody6392636343600591503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587652712,"filename":"image_13062025_05_38_34_10008.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375717378","file1":"1375717376","file0":"1375717373","file4":"1375717384","file5":"1375717386","file3":"1375717381"},"map_files_photo_id_array":[{"photo_id":"1375717386","filename":"file5"},{"photo_id":"1375717378","filename":"file2"},{"photo_id":"1375717384","filename":"file4"},{"photo_id":"1375717376","filename":"file1"},{"photo_id":"1375717373","filename":"file0"},{"photo_id":"1375717381","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375717381":["hashtag1","hashtag2"]},{"1375717386":["hashtag1","hashtag2"]},{"1375717373":["hashtag1","hashtag2"]},{"1375717376":["hashtag1","hashtag2"]},{"1375717384":["hashtag1","hashtag2"]},{"1375717378":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375717381, 1375717386, 1375717373, 1375717376, 1375717384, 1375717378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.39125370979309 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:28:03.113732
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/37/image_13062025_05_37_54_9938.jpg', 2), ('/mnt/data/13062025/05/37/image_13062025_05_37_44_9945.jpg', 2), ('/mnt/data/13062025/05/37/image_13062025_05_37_34_9992.jpg', 2), ('/mnt/data/13062025/05/37/image_13062025_05_37_24_9988.jpg', 2), ('/mnt/data/13062025/05/37/image_13062025_05_37_14_10012.jpg', 2), ('/mnt/data/13062025/05/36/image_13062025_05_36_54_10097.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/37/image_13062025_05_37_54_9938.jpg', '/mnt/data/13062025/05/37/image_13062025_05_37_44_9945.jpg', '/mnt/data/13062025/05/37/image_13062025_05_37_34_9992.jpg', '/mnt/data/13062025/05/37/image_13062025_05_37_24_9988.jpg', '/mnt/data/13062025/05/37/image_13062025_05_37_14_10012.jpg', '/mnt/data/13062025/05/36/image_13062025_05_36_54_10097.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/37/image_13062025_05_37_54_9938.jpg', '/mnt/data/13062025/05/37/image_13062025_05_37_44_9945.jpg', '/mnt/data/13062025/05/37/image_13062025_05_37_34_9992.jpg', '/mnt/data/13062025/05/37/image_13062025_05_37_24_9988.jpg', '/mnt/data/13062025/05/37/image_13062025_05_37_14_10012.jpg', '/mnt/data/13062025/05/36/image_13062025_05_36_54_10097.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/37/image_13062025_05_37_54_9938.jpg
/mnt/data/13062025/05/37/image_13062025_05_37_44_9945.jpg
/mnt/data/13062025/05/37/image_13062025_05_37_34_9992.jpg
/mnt/data/13062025/05/37/image_13062025_05_37_24_9988.jpg
/mnt/data/13062025/05/37/image_13062025_05_37_14_10012.jpg
/mnt/data/13062025/05/36/image_13062025_05_36_54_10097.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375717441","1375717435","1375717436","1375717439","1375717430","1375717433"],"photo_ids_order":["1375717430","1375717433","1375717435","1375717436","1375717439","1375717441"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/0d627f3b7d7ac2e44e0c41c6614253ca.jpg","text":"TemporaryFile(/tmp/multipartBody5029647535453859094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587760885,"filename":"image_13062025_05_36_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/7/63d83d91f3687a3da4badd120c50f859.jpg","text":"TemporaryFile(/tmp/multipartBody3722125858060843829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587760885,"filename":"image_13062025_05_37_34_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/7/3490252c4f78c69f349e1cb2c9785719.jpg","text":"TemporaryFile(/tmp/multipartBody6365913670654701906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587760885,"filename":"image_13062025_05_37_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/7/393e696953b512f138027191cdb88186.jpg","text":"TemporaryFile(/tmp/multipartBody4223388429789771892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587760885,"filename":"image_13062025_05_37_14_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/7/4970607011e72aab10168f3dacd5cf60.jpg","text":"TemporaryFile(/tmp/multipartBody9105953912093067698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587760885,"filename":"image_13062025_05_37_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/7/474fc430a2eb1f2583b71c8ac42c32fc.jpg","text":"TemporaryFile(/tmp/multipartBody1394834016224011768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587760885,"filename":"image_13062025_05_37_44_9945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375717435","file1":"1375717433","file0":"1375717430","file4":"1375717439","file5":"1375717441","file3":"1375717436"},"map_files_photo_id_array":[{"photo_id":"1375717441","filename":"file5"},{"photo_id":"1375717435","filename":"file2"},{"photo_id":"1375717439","filename":"file4"},{"photo_id":"1375717433","filename":"file1"},{"photo_id":"1375717430","filename":"file0"},{"photo_id":"1375717436","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375717441":["hashtag1","hashtag2"]},{"1375717435":["hashtag1","hashtag2"]},{"1375717436":["hashtag1","hashtag2"]},{"1375717439":["hashtag1","hashtag2"]},{"1375717430":["hashtag1","hashtag2"]},{"1375717433":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375717441, 1375717435, 1375717436, 1375717439, 1375717430, 1375717433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.089152812957764 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:29:03.424997
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/36/image_13062025_05_36_44_10101.jpg', 2), ('/mnt/data/13062025/05/36/image_13062025_05_36_34_10170.jpg', 2), ('/mnt/data/13062025/05/36/image_13062025_05_36_24_10223.jpg', 2), ('/mnt/data/13062025/05/36/image_13062025_05_36_14_10147.jpg', 2), ('/mnt/data/13062025/05/35/image_13062025_05_36_04_9220.jpg', 2), ('/mnt/data/13062025/05/35/image_13062025_05_35_54_10138.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/36/image_13062025_05_36_44_10101.jpg', '/mnt/data/13062025/05/36/image_13062025_05_36_34_10170.jpg', '/mnt/data/13062025/05/36/image_13062025_05_36_24_10223.jpg', '/mnt/data/13062025/05/36/image_13062025_05_36_14_10147.jpg', '/mnt/data/13062025/05/35/image_13062025_05_36_04_9220.jpg', '/mnt/data/13062025/05/35/image_13062025_05_35_54_10138.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/36/image_13062025_05_36_44_10101.jpg', '/mnt/data/13062025/05/36/image_13062025_05_36_34_10170.jpg', '/mnt/data/13062025/05/36/image_13062025_05_36_24_10223.jpg', '/mnt/data/13062025/05/36/image_13062025_05_36_14_10147.jpg', '/mnt/data/13062025/05/35/image_13062025_05_36_04_9220.jpg', '/mnt/data/13062025/05/35/image_13062025_05_35_54_10138.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/36/image_13062025_05_36_44_10101.jpg
/mnt/data/13062025/05/36/image_13062025_05_36_34_10170.jpg
/mnt/data/13062025/05/36/image_13062025_05_36_24_10223.jpg
/mnt/data/13062025/05/36/image_13062025_05_36_14_10147.jpg
/mnt/data/13062025/05/35/image_13062025_05_36_04_9220.jpg
/mnt/data/13062025/05/35/image_13062025_05_35_54_10138.jpg
uploaded 0 photos
time to upload: 30.462092399597168 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:30:02.880277
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/36/image_13062025_05_36_44_10101.jpg', 2), ('/mnt/data/13062025/05/36/image_13062025_05_36_34_10170.jpg', 2), ('/mnt/data/13062025/05/36/image_13062025_05_36_24_10223.jpg', 2), ('/mnt/data/13062025/05/36/image_13062025_05_36_14_10147.jpg', 2), ('/mnt/data/13062025/05/35/image_13062025_05_36_04_9220.jpg', 2), ('/mnt/data/13062025/05/35/image_13062025_05_35_54_10138.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/36/image_13062025_05_36_44_10101.jpg', '/mnt/data/13062025/05/36/image_13062025_05_36_34_10170.jpg', '/mnt/data/13062025/05/36/image_13062025_05_36_24_10223.jpg', '/mnt/data/13062025/05/36/image_13062025_05_36_14_10147.jpg', '/mnt/data/13062025/05/35/image_13062025_05_36_04_9220.jpg', '/mnt/data/13062025/05/35/image_13062025_05_35_54_10138.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/36/image_13062025_05_36_44_10101.jpg', '/mnt/data/13062025/05/36/image_13062025_05_36_34_10170.jpg', '/mnt/data/13062025/05/36/image_13062025_05_36_24_10223.jpg', '/mnt/data/13062025/05/36/image_13062025_05_36_14_10147.jpg', '/mnt/data/13062025/05/35/image_13062025_05_36_04_9220.jpg', '/mnt/data/13062025/05/35/image_13062025_05_35_54_10138.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/36/image_13062025_05_36_44_10101.jpg
/mnt/data/13062025/05/36/image_13062025_05_36_34_10170.jpg
/mnt/data/13062025/05/36/image_13062025_05_36_24_10223.jpg
/mnt/data/13062025/05/36/image_13062025_05_36_14_10147.jpg
/mnt/data/13062025/05/35/image_13062025_05_36_04_9220.jpg
/mnt/data/13062025/05/35/image_13062025_05_35_54_10138.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":["1375717492","1375717501","1375717488","1375717496","1375717495","1375717498"],"photo_ids_order":["1375717488","1375717492","1375717495","1375717496","1375717498","1375717501"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/a6756e0a46f14e533e5874e2fd644c6e.jpg","text":"TemporaryFile(/tmp/multipartBody3944051713888959651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587884866,"filename":"image_13062025_05_36_34_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/7/979e2f04bd5dcaa56b9b801a1c7ac4a6.jpg","text":"TemporaryFile(/tmp/multipartBody945144677913061303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587884866,"filename":"image_13062025_05_35_54_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/7/797d68e147ecc6bcff46307c5efecf40.jpg","text":"TemporaryFile(/tmp/multipartBody6104433306285622640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587884866,"filename":"image_13062025_05_36_44_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/7/311f5438a9bd0ac76511f63a194593db.jpg","text":"TemporaryFile(/tmp/multipartBody656040310377419437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587884866,"filename":"image_13062025_05_36_14_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/7/6907d33f0690cd8c08a849e0fe289d40.jpg","text":"TemporaryFile(/tmp/multipartBody6691020260196545100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587884866,"filename":"image_13062025_05_36_24_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/7/9031800da56967f68fc4ee7add37f667.jpg","text":"TemporaryFile(/tmp/multipartBody4752932054517050815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754587884866,"filename":"image_13062025_05_36_04_9220.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375717495","file1":"1375717492","file0":"1375717488","file4":"1375717498","file5":"1375717501","file3":"1375717496"},"map_files_photo_id_array":[{"photo_id":"1375717501","filename":"file5"},{"photo_id":"1375717495","filename":"file2"},{"photo_id":"1375717498","filename":"file4"},{"photo_id":"1375717492","filename":"file1"},{"photo_id":"1375717488","filename":"file0"},{"photo_id":"1375717496","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375717492":["hashtag1","hashtag2"]},{"1375717501":["hashtag1","hashtag2"]},{"1375717488":["hashtag1","hashtag2"]},{"1375717496":["hashtag1","hashtag2"]},{"1375717495":["hashtag1","hashtag2"]},{"1375717498":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375717492, 1375717501, 1375717488, 1375717496, 1375717495, 1375717498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.324931383132935 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:32:02.998552
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/35/image_13062025_05_35_44_10284.jpg', 2), ('/mnt/data/13062025/05/35/image_13062025_05_35_34_10151.jpg', 2), ('/mnt/data/13062025/05/35/image_13062025_05_35_24_10153.jpg', 2), ('/mnt/data/13062025/05/35/image_13062025_05_35_14_8898.jpg', 2), ('/mnt/data/13062025/05/34/image_13062025_05_35_05_10588.jpg', 2), ('/mnt/data/13062025/05/34/image_13062025_05_34_44_10210.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/35/image_13062025_05_35_44_10284.jpg', '/mnt/data/13062025/05/35/image_13062025_05_35_34_10151.jpg', '/mnt/data/13062025/05/35/image_13062025_05_35_24_10153.jpg', '/mnt/data/13062025/05/35/image_13062025_05_35_14_8898.jpg', '/mnt/data/13062025/05/34/image_13062025_05_35_05_10588.jpg', '/mnt/data/13062025/05/34/image_13062025_05_34_44_10210.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/35/image_13062025_05_35_44_10284.jpg', '/mnt/data/13062025/05/35/image_13062025_05_35_34_10151.jpg', '/mnt/data/13062025/05/35/image_13062025_05_35_24_10153.jpg', '/mnt/data/13062025/05/35/image_13062025_05_35_14_8898.jpg', '/mnt/data/13062025/05/34/image_13062025_05_35_05_10588.jpg', '/mnt/data/13062025/05/34/image_13062025_05_34_44_10210.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/35/image_13062025_05_35_44_10284.jpg
/mnt/data/13062025/05/35/image_13062025_05_35_34_10151.jpg
/mnt/data/13062025/05/35/image_13062025_05_35_24_10153.jpg
/mnt/data/13062025/05/35/image_13062025_05_35_14_8898.jpg
/mnt/data/13062025/05/34/image_13062025_05_35_05_10588.jpg
/mnt/data/13062025/05/34/image_13062025_05_34_44_10210.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 145.93533849716187 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-07 19:35:03.061927
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/35/image_13062025_05_35_44_10284.jpg', 2), ('/mnt/data/13062025/05/35/image_13062025_05_35_34_10151.jpg', 2), ('/mnt/data/13062025/05/35/image_13062025_05_35_24_10153.jpg', 2), ('/mnt/data/13062025/05/35/image_13062025_05_35_14_8898.jpg', 2), ('/mnt/data/13062025/05/34/image_13062025_05_35_05_10588.jpg', 2), ('/mnt/data/13062025/05/34/image_13062025_05_34_44_10210.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/35/image_13062025_05_35_44_10284.jpg', '/mnt/data/13062025/05/35/image_13062025_05_35_34_10151.jpg', '/mnt/data/13062025/05/35/image_13062025_05_35_24_10153.jpg', '/mnt/data/13062025/05/35/image_13062025_05_35_14_8898.jpg', '/mnt/data/13062025/05/34/image_13062025_05_35_05_10588.jpg', '/mnt/data/13062025/05/34/image_13062025_05_34_44_10210.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/35/image_13062025_05_35_44_10284.jpg', '/mnt/data/13062025/05/35/image_13062025_05_35_34_10151.jpg', '/mnt/data/13062025/05/35/image_13062025_05_35_24_10153.jpg', '/mnt/data/13062025/05/35/image_13062025_05_35_14_8898.jpg', '/mnt/data/13062025/05/34/image_13062025_05_35_05_10588.jpg', '/mnt/data/13062025/05/34/image_13062025_05_34_44_10210.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/35/image_13062025_05_35_44_10284.jpg
/mnt/data/13062025/05/35/image_13062025_05_35_34_10151.jpg
/mnt/data/13062025/05/35/image_13062025_05_35_24_10153.jpg
/mnt/data/13062025/05/35/image_13062025_05_35_14_8898.jpg
/mnt/data/13062025/05/34/image_13062025_05_35_05_10588.jpg
/mnt/data/13062025/05/34/image_13062025_05_34_44_10210.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375718271","1375718238","1375718172","1375718205","1375718152","1375718155"],"photo_ids_order":["1375718152","1375718155","1375718172","1375718205","1375718238","1375718271"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/6ee1090391184aeb72a0e383f7be14d5.jpg","text":"TemporaryFile(/tmp/multipartBody8760839906605518252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588178438,"filename":"image_13062025_05_34_44_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/7/4542cfdbded25da04227399810675983.jpg","text":"TemporaryFile(/tmp/multipartBody299048005028331782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588178438,"filename":"image_13062025_05_35_05_10588.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/3d3b23b365b5571705f2785fe0b8303a.jpg","text":"TemporaryFile(/tmp/multipartBody4712194428641740907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588178438,"filename":"image_13062025_05_35_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/7/c1de80dff6a5626c30cf990cc1b1eb54.jpg","text":"TemporaryFile(/tmp/multipartBody7160265659318060103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588178438,"filename":"image_13062025_05_35_14_8898.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/15a4407b036166f4bc50889d07e045bd.jpg","text":"TemporaryFile(/tmp/multipartBody3653318517904375291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588178438,"filename":"image_13062025_05_35_44_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/7/73d2eba19958926b2d2062011a91b3fe.jpg","text":"TemporaryFile(/tmp/multipartBody1120866083927797705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588178438,"filename":"image_13062025_05_35_34_10151.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375718172","file1":"1375718155","file0":"1375718152","file4":"1375718238","file5":"1375718271","file3":"1375718205"},"map_files_photo_id_array":[{"photo_id":"1375718271","filename":"file5"},{"photo_id":"1375718172","filename":"file2"},{"photo_id":"1375718238","filename":"file4"},{"photo_id":"1375718155","filename":"file1"},{"photo_id":"1375718152","filename":"file0"},{"photo_id":"1375718205","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375718271":["hashtag1","hashtag2"]},{"1375718238":["hashtag1","hashtag2"]},{"1375718172":["hashtag1","hashtag2"]},{"1375718205":["hashtag1","hashtag2"]},{"1375718152":["hashtag1","hashtag2"]},{"1375718155":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375718271, 1375718238, 1375718172, 1375718205, 1375718152, 1375718155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.129586935043335 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:36:03.279194
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/33/image_13062025_05_33_35_9981.jpg', 2), ('/mnt/data/13062025/05/33/image_13062025_05_33_25_10010.jpg', 2), ('/mnt/data/13062025/05/33/image_13062025_05_33_15_9945.jpg', 2), ('/mnt/data/13062025/05/32/image_13062025_05_33_05_9946.jpg', 2), ('/mnt/data/13062025/05/32/image_13062025_05_32_55_9975.jpg', 2), ('/mnt/data/13062025/05/32/image_13062025_05_32_45_9951.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/33/image_13062025_05_33_35_9981.jpg', '/mnt/data/13062025/05/33/image_13062025_05_33_25_10010.jpg', '/mnt/data/13062025/05/33/image_13062025_05_33_15_9945.jpg', '/mnt/data/13062025/05/32/image_13062025_05_33_05_9946.jpg', '/mnt/data/13062025/05/32/image_13062025_05_32_55_9975.jpg', '/mnt/data/13062025/05/32/image_13062025_05_32_45_9951.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/33/image_13062025_05_33_35_9981.jpg', '/mnt/data/13062025/05/33/image_13062025_05_33_25_10010.jpg', '/mnt/data/13062025/05/33/image_13062025_05_33_15_9945.jpg', '/mnt/data/13062025/05/32/image_13062025_05_33_05_9946.jpg', '/mnt/data/13062025/05/32/image_13062025_05_32_55_9975.jpg', '/mnt/data/13062025/05/32/image_13062025_05_32_45_9951.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/33/image_13062025_05_33_35_9981.jpg
/mnt/data/13062025/05/33/image_13062025_05_33_25_10010.jpg
/mnt/data/13062025/05/33/image_13062025_05_33_15_9945.jpg
/mnt/data/13062025/05/32/image_13062025_05_33_05_9946.jpg
/mnt/data/13062025/05/32/image_13062025_05_32_55_9975.jpg
/mnt/data/13062025/05/32/image_13062025_05_32_45_9951.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375718589","1375718469","1375718504","1375718575","1375718545","1375718431"],"photo_ids_order":["1375718431","1375718469","1375718504","1375718545","1375718575","1375718589"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/26dbf7d2e92602d64907ec779deb8aa9.jpg","text":"TemporaryFile(/tmp/multipartBody5705628801276566816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588230728,"filename":"image_13062025_05_32_45_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/7/ae31894679c77992fe52796784ea4625.jpg","text":"TemporaryFile(/tmp/multipartBody7218403264365135608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588230728,"filename":"image_13062025_05_33_25_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/7/a205c3a02e294f351a863809f78231fd.jpg","text":"TemporaryFile(/tmp/multipartBody1252371869025289758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588230728,"filename":"image_13062025_05_33_15_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/7/272d04aab8abfec9016834c448bee3ee.jpg","text":"TemporaryFile(/tmp/multipartBody5631192715299624386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588230728,"filename":"image_13062025_05_32_55_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/7/acbe54772d44eaa547f488307642602c.jpg","text":"TemporaryFile(/tmp/multipartBody2504940000795543534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588230728,"filename":"image_13062025_05_33_05_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/7/f51b2a811bb4dde155bc1d2a30412fbe.jpg","text":"TemporaryFile(/tmp/multipartBody5787238814453452415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588230728,"filename":"image_13062025_05_33_35_9981.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375718504","file1":"1375718469","file0":"1375718431","file4":"1375718575","file5":"1375718589","file3":"1375718545"},"map_files_photo_id_array":[{"photo_id":"1375718589","filename":"file5"},{"photo_id":"1375718504","filename":"file2"},{"photo_id":"1375718575","filename":"file4"},{"photo_id":"1375718469","filename":"file1"},{"photo_id":"1375718431","filename":"file0"},{"photo_id":"1375718545","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375718589":["hashtag1","hashtag2"]},{"1375718469":["hashtag1","hashtag2"]},{"1375718504":["hashtag1","hashtag2"]},{"1375718575":["hashtag1","hashtag2"]},{"1375718545":["hashtag1","hashtag2"]},{"1375718431":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375718589, 1375718469, 1375718504, 1375718575, 1375718545, 1375718431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.99976325035095 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:37:03.427506
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/32/image_13062025_05_32_35_9964.jpg', 2), ('/mnt/data/13062025/05/32/image_13062025_05_32_25_9936.jpg', 2), ('/mnt/data/13062025/05/32/image_13062025_05_32_15_11104.jpg', 2), ('/mnt/data/13062025/05/31/image_13062025_05_32_04_10038.jpg', 2), ('/mnt/data/13062025/05/31/image_13062025_05_31_54_9958.jpg', 2), ('/mnt/data/13062025/05/31/image_13062025_05_31_44_9919.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/32/image_13062025_05_32_35_9964.jpg', '/mnt/data/13062025/05/32/image_13062025_05_32_25_9936.jpg', '/mnt/data/13062025/05/32/image_13062025_05_32_15_11104.jpg', '/mnt/data/13062025/05/31/image_13062025_05_32_04_10038.jpg', '/mnt/data/13062025/05/31/image_13062025_05_31_54_9958.jpg', '/mnt/data/13062025/05/31/image_13062025_05_31_44_9919.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/32/image_13062025_05_32_35_9964.jpg', '/mnt/data/13062025/05/32/image_13062025_05_32_25_9936.jpg', '/mnt/data/13062025/05/32/image_13062025_05_32_15_11104.jpg', '/mnt/data/13062025/05/31/image_13062025_05_32_04_10038.jpg', '/mnt/data/13062025/05/31/image_13062025_05_31_54_9958.jpg', '/mnt/data/13062025/05/31/image_13062025_05_31_44_9919.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/32/image_13062025_05_32_35_9964.jpg
/mnt/data/13062025/05/32/image_13062025_05_32_25_9936.jpg
/mnt/data/13062025/05/32/image_13062025_05_32_15_11104.jpg
/mnt/data/13062025/05/31/image_13062025_05_32_04_10038.jpg
/mnt/data/13062025/05/31/image_13062025_05_31_54_9958.jpg
/mnt/data/13062025/05/31/image_13062025_05_31_44_9919.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375718728","1375718799","1375718724","1375718759","1375718720","1375718791"],"photo_ids_order":["1375718720","1375718724","1375718728","1375718759","1375718791","1375718799"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/2c01ac2bddb70d7c7885716d6ea9486b.jpg","text":"TemporaryFile(/tmp/multipartBody5001091816521418967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588296800,"filename":"image_13062025_05_32_15_11104.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/b3d227cda820c907b167684d79fb686d.jpg","text":"TemporaryFile(/tmp/multipartBody2045405604018954179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588296800,"filename":"image_13062025_05_31_44_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/7/ea262accf71aef06576fb4304273e2bc.jpg","text":"TemporaryFile(/tmp/multipartBody693454100918430780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588296800,"filename":"image_13062025_05_32_25_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/7/c2ccc406e8d6fba568e0aa73182339c7.jpg","text":"TemporaryFile(/tmp/multipartBody7513191840872525358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588296800,"filename":"image_13062025_05_32_04_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/7/c650426a62de5ca4cb9c1d49bc427468.jpg","text":"TemporaryFile(/tmp/multipartBody8360679948046099249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588296800,"filename":"image_13062025_05_32_35_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/7/4b2a5aacb3701e59484f4539208942be.jpg","text":"TemporaryFile(/tmp/multipartBody6307141182255784504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588296800,"filename":"image_13062025_05_31_54_9958.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375718728","file1":"1375718724","file0":"1375718720","file4":"1375718791","file5":"1375718799","file3":"1375718759"},"map_files_photo_id_array":[{"photo_id":"1375718799","filename":"file5"},{"photo_id":"1375718728","filename":"file2"},{"photo_id":"1375718791","filename":"file4"},{"photo_id":"1375718724","filename":"file1"},{"photo_id":"1375718720","filename":"file0"},{"photo_id":"1375718759","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375718728":["hashtag1","hashtag2"]},{"1375718799":["hashtag1","hashtag2"]},{"1375718724":["hashtag1","hashtag2"]},{"1375718759":["hashtag1","hashtag2"]},{"1375718720":["hashtag1","hashtag2"]},{"1375718791":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375718728, 1375718799, 1375718724, 1375718759, 1375718720, 1375718791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.04261493682861 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:38:03.286580
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/31/image_13062025_05_31_34_9979.jpg', 2), ('/mnt/data/13062025/05/31/image_13062025_05_31_24_10057.jpg', 2), ('/mnt/data/13062025/05/30/image_13062025_05_30_35_10065.jpg', 2), ('/mnt/data/13062025/05/27/image_13062025_05_27_54_9008.jpg', 2), ('/mnt/data/13062025/05/27/image_13062025_05_27_45_10164.jpg', 2), ('/mnt/data/13062025/05/27/image_13062025_05_27_35_10140.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/31/image_13062025_05_31_34_9979.jpg', '/mnt/data/13062025/05/31/image_13062025_05_31_24_10057.jpg', '/mnt/data/13062025/05/30/image_13062025_05_30_35_10065.jpg', '/mnt/data/13062025/05/27/image_13062025_05_27_54_9008.jpg', '/mnt/data/13062025/05/27/image_13062025_05_27_45_10164.jpg', '/mnt/data/13062025/05/27/image_13062025_05_27_35_10140.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/31/image_13062025_05_31_34_9979.jpg', '/mnt/data/13062025/05/31/image_13062025_05_31_24_10057.jpg', '/mnt/data/13062025/05/30/image_13062025_05_30_35_10065.jpg', '/mnt/data/13062025/05/27/image_13062025_05_27_54_9008.jpg', '/mnt/data/13062025/05/27/image_13062025_05_27_45_10164.jpg', '/mnt/data/13062025/05/27/image_13062025_05_27_35_10140.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/31/image_13062025_05_31_34_9979.jpg
/mnt/data/13062025/05/31/image_13062025_05_31_24_10057.jpg
/mnt/data/13062025/05/30/image_13062025_05_30_35_10065.jpg
/mnt/data/13062025/05/27/image_13062025_05_27_54_9008.jpg
/mnt/data/13062025/05/27/image_13062025_05_27_45_10164.jpg
/mnt/data/13062025/05/27/image_13062025_05_27_35_10140.jpg
uploaded 0 photos
time to upload: 30.440871953964233 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:39:03.478697
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/31/image_13062025_05_31_34_9979.jpg', 2), ('/mnt/data/13062025/05/31/image_13062025_05_31_24_10057.jpg', 2), ('/mnt/data/13062025/05/30/image_13062025_05_30_35_10065.jpg', 2), ('/mnt/data/13062025/05/27/image_13062025_05_27_54_9008.jpg', 2), ('/mnt/data/13062025/05/27/image_13062025_05_27_45_10164.jpg', 2), ('/mnt/data/13062025/05/27/image_13062025_05_27_35_10140.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/31/image_13062025_05_31_34_9979.jpg', '/mnt/data/13062025/05/31/image_13062025_05_31_24_10057.jpg', '/mnt/data/13062025/05/30/image_13062025_05_30_35_10065.jpg', '/mnt/data/13062025/05/27/image_13062025_05_27_54_9008.jpg', '/mnt/data/13062025/05/27/image_13062025_05_27_45_10164.jpg', '/mnt/data/13062025/05/27/image_13062025_05_27_35_10140.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/31/image_13062025_05_31_34_9979.jpg', '/mnt/data/13062025/05/31/image_13062025_05_31_24_10057.jpg', '/mnt/data/13062025/05/30/image_13062025_05_30_35_10065.jpg', '/mnt/data/13062025/05/27/image_13062025_05_27_54_9008.jpg', '/mnt/data/13062025/05/27/image_13062025_05_27_45_10164.jpg', '/mnt/data/13062025/05/27/image_13062025_05_27_35_10140.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/31/image_13062025_05_31_34_9979.jpg
/mnt/data/13062025/05/31/image_13062025_05_31_24_10057.jpg
/mnt/data/13062025/05/30/image_13062025_05_30_35_10065.jpg
/mnt/data/13062025/05/27/image_13062025_05_27_54_9008.jpg
/mnt/data/13062025/05/27/image_13062025_05_27_45_10164.jpg
/mnt/data/13062025/05/27/image_13062025_05_27_35_10140.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":["1375718988","1375719018","1375718999","1375718996","1375718992","1375719004"],"photo_ids_order":["1375718988","1375718992","1375718996","1375718999","1375719004","1375719018"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/4f49269f85896647f25e15b9d21b5fe4.jpg","text":"TemporaryFile(/tmp/multipartBody896210390900992672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588424611,"filename":"image_13062025_05_31_34_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/7/0a495abaaafde4fe7abdb3f1fb291c1e.jpg","text":"TemporaryFile(/tmp/multipartBody7867587406757483125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588424611,"filename":"image_13062025_05_27_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/7/b715a2836842f4b56f9986e83b6dc873.jpg","text":"TemporaryFile(/tmp/multipartBody4283579092772595660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588424611,"filename":"image_13062025_05_27_54_9008.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/367f10bc1ed1a6b060d2b39b42288602.jpg","text":"TemporaryFile(/tmp/multipartBody8090351539952579227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588424611,"filename":"image_13062025_05_30_35_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/7/2f980c2f95762b0bae00ca6f4c49feb6.jpg","text":"TemporaryFile(/tmp/multipartBody7946808579289074074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588424611,"filename":"image_13062025_05_31_24_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/7/5df09796697237f111c0789da3d80671.jpg","text":"TemporaryFile(/tmp/multipartBody2585942138091680836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588424611,"filename":"image_13062025_05_27_45_10164.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375718996","file1":"1375718992","file0":"1375718988","file4":"1375719004","file5":"1375719018","file3":"1375718999"},"map_files_photo_id_array":[{"photo_id":"1375719018","filename":"file5"},{"photo_id":"1375718996","filename":"file2"},{"photo_id":"1375719004","filename":"file4"},{"photo_id":"1375718992","filename":"file1"},{"photo_id":"1375718988","filename":"file0"},{"photo_id":"1375718999","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375718988":["hashtag1","hashtag2"]},{"1375719018":["hashtag1","hashtag2"]},{"1375718999":["hashtag1","hashtag2"]},{"1375718996":["hashtag1","hashtag2"]},{"1375718992":["hashtag1","hashtag2"]},{"1375719004":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375718988, 1375719018, 1375718999, 1375718996, 1375718992, 1375719004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.418025493621826 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:41:02.772044
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/27/image_13062025_05_27_25_10157.jpg', 2), ('/mnt/data/13062025/05/27/image_13062025_05_27_14_9763.jpg', 2), ('/mnt/data/13062025/05/26/image_13062025_05_27_05_10159.jpg', 2), ('/mnt/data/13062025/05/26/image_13062025_05_26_54_10057.jpg', 2), ('/mnt/data/13062025/05/26/image_13062025_05_26_44_9959.jpg', 2), ('/mnt/data/13062025/05/26/image_13062025_05_26_34_9922.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/27/image_13062025_05_27_25_10157.jpg', '/mnt/data/13062025/05/27/image_13062025_05_27_14_9763.jpg', '/mnt/data/13062025/05/26/image_13062025_05_27_05_10159.jpg', '/mnt/data/13062025/05/26/image_13062025_05_26_54_10057.jpg', '/mnt/data/13062025/05/26/image_13062025_05_26_44_9959.jpg', '/mnt/data/13062025/05/26/image_13062025_05_26_34_9922.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/27/image_13062025_05_27_25_10157.jpg', '/mnt/data/13062025/05/27/image_13062025_05_27_14_9763.jpg', '/mnt/data/13062025/05/26/image_13062025_05_27_05_10159.jpg', '/mnt/data/13062025/05/26/image_13062025_05_26_54_10057.jpg', '/mnt/data/13062025/05/26/image_13062025_05_26_44_9959.jpg', '/mnt/data/13062025/05/26/image_13062025_05_26_34_9922.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/27/image_13062025_05_27_25_10157.jpg
/mnt/data/13062025/05/27/image_13062025_05_27_14_9763.jpg
/mnt/data/13062025/05/26/image_13062025_05_27_05_10159.jpg
/mnt/data/13062025/05/26/image_13062025_05_26_54_10057.jpg
/mnt/data/13062025/05/26/image_13062025_05_26_44_9959.jpg
/mnt/data/13062025/05/26/image_13062025_05_26_34_9922.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":["1375719351","1375719321","1375719278","1375719364","1375719307","1375719301"],"photo_ids_order":["1375719278","1375719301","1375719307","1375719321","1375719351","1375719364"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/2c482b4c06ec5e4985ed25bfd1b87863.jpg","text":"TemporaryFile(/tmp/multipartBody5154512770660546914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588542535,"filename":"image_13062025_05_26_44_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/7/ba72d3211e7cfbe7fc333011e5599012.jpg","text":"TemporaryFile(/tmp/multipartBody7491427881833192084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588542535,"filename":"image_13062025_05_26_54_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/7/c3fa5897190f0ea5a7f9a374d8113581.jpg","text":"TemporaryFile(/tmp/multipartBody628095855150761582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588542535,"filename":"image_13062025_05_27_25_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/7/bcef7864e1503bfdd6ff33c47d5a8e4b.jpg","text":"TemporaryFile(/tmp/multipartBody8241486950897219615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588542535,"filename":"image_13062025_05_26_34_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/7/287ddafa819b931b19e44e58d1f79b09.jpg","text":"TemporaryFile(/tmp/multipartBody3546061638854008738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588542535,"filename":"image_13062025_05_27_05_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/7/482efb5617de92e61256a17b66c12939.jpg","text":"TemporaryFile(/tmp/multipartBody3053414714678172259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588542535,"filename":"image_13062025_05_27_14_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375719307","file1":"1375719301","file0":"1375719278","file4":"1375719351","file5":"1375719364","file3":"1375719321"},"map_files_photo_id_array":[{"photo_id":"1375719364","filename":"file5"},{"photo_id":"1375719307","filename":"file2"},{"photo_id":"1375719351","filename":"file4"},{"photo_id":"1375719301","filename":"file1"},{"photo_id":"1375719278","filename":"file0"},{"photo_id":"1375719321","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375719351":["hashtag1","hashtag2"]},{"1375719321":["hashtag1","hashtag2"]},{"1375719278":["hashtag1","hashtag2"]},{"1375719364":["hashtag1","hashtag2"]},{"1375719307":["hashtag1","hashtag2"]},{"1375719301":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375719351, 1375719321, 1375719278, 1375719364, 1375719307, 1375719301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.67448019981384 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:43:03.319519
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/26/image_13062025_05_26_25_9932.jpg', 2), ('/mnt/data/13062025/05/26/image_13062025_05_26_15_9971.jpg', 2), ('/mnt/data/13062025/05/25/image_13062025_05_26_05_10062.jpg', 2), ('/mnt/data/13062025/05/25/image_13062025_05_25_55_9979.jpg', 2), ('/mnt/data/13062025/05/25/image_13062025_05_25_45_9957.jpg', 2), ('/mnt/data/13062025/05/25/image_13062025_05_25_35_9962.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/26/image_13062025_05_26_25_9932.jpg', '/mnt/data/13062025/05/26/image_13062025_05_26_15_9971.jpg', '/mnt/data/13062025/05/25/image_13062025_05_26_05_10062.jpg', '/mnt/data/13062025/05/25/image_13062025_05_25_55_9979.jpg', '/mnt/data/13062025/05/25/image_13062025_05_25_45_9957.jpg', '/mnt/data/13062025/05/25/image_13062025_05_25_35_9962.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/26/image_13062025_05_26_25_9932.jpg', '/mnt/data/13062025/05/26/image_13062025_05_26_15_9971.jpg', '/mnt/data/13062025/05/25/image_13062025_05_26_05_10062.jpg', '/mnt/data/13062025/05/25/image_13062025_05_25_55_9979.jpg', '/mnt/data/13062025/05/25/image_13062025_05_25_45_9957.jpg', '/mnt/data/13062025/05/25/image_13062025_05_25_35_9962.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/26/image_13062025_05_26_25_9932.jpg
/mnt/data/13062025/05/26/image_13062025_05_26_15_9971.jpg
/mnt/data/13062025/05/25/image_13062025_05_26_05_10062.jpg
/mnt/data/13062025/05/25/image_13062025_05_25_55_9979.jpg
/mnt/data/13062025/05/25/image_13062025_05_25_45_9957.jpg
/mnt/data/13062025/05/25/image_13062025_05_25_35_9962.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 129.8937976360321 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-07 19:46:02.519220
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/26/image_13062025_05_26_25_9932.jpg', 2), ('/mnt/data/13062025/05/26/image_13062025_05_26_15_9971.jpg', 2), ('/mnt/data/13062025/05/25/image_13062025_05_26_05_10062.jpg', 2), ('/mnt/data/13062025/05/25/image_13062025_05_25_55_9979.jpg', 2), ('/mnt/data/13062025/05/25/image_13062025_05_25_45_9957.jpg', 2), ('/mnt/data/13062025/05/25/image_13062025_05_25_35_9962.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/26/image_13062025_05_26_25_9932.jpg', '/mnt/data/13062025/05/26/image_13062025_05_26_15_9971.jpg', '/mnt/data/13062025/05/25/image_13062025_05_26_05_10062.jpg', '/mnt/data/13062025/05/25/image_13062025_05_25_55_9979.jpg', '/mnt/data/13062025/05/25/image_13062025_05_25_45_9957.jpg', '/mnt/data/13062025/05/25/image_13062025_05_25_35_9962.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/26/image_13062025_05_26_25_9932.jpg', '/mnt/data/13062025/05/26/image_13062025_05_26_15_9971.jpg', '/mnt/data/13062025/05/25/image_13062025_05_26_05_10062.jpg', '/mnt/data/13062025/05/25/image_13062025_05_25_55_9979.jpg', '/mnt/data/13062025/05/25/image_13062025_05_25_45_9957.jpg', '/mnt/data/13062025/05/25/image_13062025_05_25_35_9962.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/26/image_13062025_05_26_25_9932.jpg
/mnt/data/13062025/05/26/image_13062025_05_26_15_9971.jpg
/mnt/data/13062025/05/25/image_13062025_05_26_05_10062.jpg
/mnt/data/13062025/05/25/image_13062025_05_25_55_9979.jpg
/mnt/data/13062025/05/25/image_13062025_05_25_45_9957.jpg
/mnt/data/13062025/05/25/image_13062025_05_25_35_9962.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375719639","1375719630","1375719633","1375719627","1375719623","1375719637"],"photo_ids_order":["1375719623","1375719627","1375719630","1375719633","1375719637","1375719639"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/738cac9e80076264e73d1730339a717a.jpg","text":"TemporaryFile(/tmp/multipartBody6240835010743043826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588827090,"filename":"image_13062025_05_25_35_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/7/2388f841285fec6f86b075ba36106207.jpg","text":"TemporaryFile(/tmp/multipartBody6979967497180814174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588827090,"filename":"image_13062025_05_26_05_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/7/229377763ce1d8a307c18084caa40f69.jpg","text":"TemporaryFile(/tmp/multipartBody8923464288363912791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588827090,"filename":"image_13062025_05_25_55_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/7/180c0233d000bf51dba8ede3ffb74335.jpg","text":"TemporaryFile(/tmp/multipartBody7349891599801839232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588827090,"filename":"image_13062025_05_26_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/7/349f745a858d24ecb97d3892fe02b144.jpg","text":"TemporaryFile(/tmp/multipartBody7060740589928872055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588827090,"filename":"image_13062025_05_26_25_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/7/35969f8082271530b0f91dd57754f501.jpg","text":"TemporaryFile(/tmp/multipartBody2973178359624308053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588827090,"filename":"image_13062025_05_25_45_9957.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375719630","file1":"1375719627","file0":"1375719623","file4":"1375719637","file5":"1375719639","file3":"1375719633"},"map_files_photo_id_array":[{"photo_id":"1375719639","filename":"file5"},{"photo_id":"1375719630","filename":"file2"},{"photo_id":"1375719637","filename":"file4"},{"photo_id":"1375719627","filename":"file1"},{"photo_id":"1375719623","filename":"file0"},{"photo_id":"1375719633","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375719639":["hashtag1","hashtag2"]},{"1375719630":["hashtag1","hashtag2"]},{"1375719633":["hashtag1","hashtag2"]},{"1375719627":["hashtag1","hashtag2"]},{"1375719623":["hashtag1","hashtag2"]},{"1375719637":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375719639, 1375719630, 1375719633, 1375719627, 1375719623, 1375719637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.317118644714355 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:47:03.184896
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/25/image_13062025_05_25_25_9986.jpg', 2), ('/mnt/data/13062025/05/25/image_13062025_05_25_15_9965.jpg', 2), ('/mnt/data/13062025/05/24/image_13062025_05_25_05_9928.jpg', 2), ('/mnt/data/13062025/05/24/image_13062025_05_24_55_9952.jpg', 2), ('/mnt/data/13062025/05/24/image_13062025_05_24_45_9987.jpg', 2), ('/mnt/data/13062025/05/24/image_13062025_05_24_35_10176.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/25/image_13062025_05_25_25_9986.jpg', '/mnt/data/13062025/05/25/image_13062025_05_25_15_9965.jpg', '/mnt/data/13062025/05/24/image_13062025_05_25_05_9928.jpg', '/mnt/data/13062025/05/24/image_13062025_05_24_55_9952.jpg', '/mnt/data/13062025/05/24/image_13062025_05_24_45_9987.jpg', '/mnt/data/13062025/05/24/image_13062025_05_24_35_10176.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/25/image_13062025_05_25_25_9986.jpg', '/mnt/data/13062025/05/25/image_13062025_05_25_15_9965.jpg', '/mnt/data/13062025/05/24/image_13062025_05_25_05_9928.jpg', '/mnt/data/13062025/05/24/image_13062025_05_24_55_9952.jpg', '/mnt/data/13062025/05/24/image_13062025_05_24_45_9987.jpg', '/mnt/data/13062025/05/24/image_13062025_05_24_35_10176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/25/image_13062025_05_25_25_9986.jpg
/mnt/data/13062025/05/25/image_13062025_05_25_15_9965.jpg
/mnt/data/13062025/05/24/image_13062025_05_25_05_9928.jpg
/mnt/data/13062025/05/24/image_13062025_05_24_55_9952.jpg
/mnt/data/13062025/05/24/image_13062025_05_24_45_9987.jpg
/mnt/data/13062025/05/24/image_13062025_05_24_35_10176.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375719672","1375719677","1375719656","1375719679","1375719658","1375719681"],"photo_ids_order":["1375719656","1375719658","1375719672","1375719677","1375719679","1375719681"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/9aa494901334f17259f3c2825e705fc8.jpg","text":"TemporaryFile(/tmp/multipartBody6136625828360175371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588892151,"filename":"image_13062025_05_25_05_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/7/c18173e9894697102cd258b518aeee36.jpg","text":"TemporaryFile(/tmp/multipartBody4945939215765536965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588892151,"filename":"image_13062025_05_24_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/7/a4547e92d433a78d315facab1f826d2f.jpg","text":"TemporaryFile(/tmp/multipartBody5011113307047066526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588892151,"filename":"image_13062025_05_25_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/7/ce1fe3e6136f425b96a80c60b5e1677c.jpg","text":"TemporaryFile(/tmp/multipartBody7147495932466244126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588892151,"filename":"image_13062025_05_24_45_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/7/edb09004428ccbc82206c4015f1d8c50.jpg","text":"TemporaryFile(/tmp/multipartBody1461598428662609192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588892151,"filename":"image_13062025_05_25_15_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/7/b6ad2677a353bfbf97233398db3bfc68.jpg","text":"TemporaryFile(/tmp/multipartBody7695177727688080746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588892151,"filename":"image_13062025_05_24_35_10176.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375719672","file1":"1375719658","file0":"1375719656","file4":"1375719679","file5":"1375719681","file3":"1375719677"},"map_files_photo_id_array":[{"photo_id":"1375719681","filename":"file5"},{"photo_id":"1375719672","filename":"file2"},{"photo_id":"1375719679","filename":"file4"},{"photo_id":"1375719658","filename":"file1"},{"photo_id":"1375719656","filename":"file0"},{"photo_id":"1375719677","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375719672":["hashtag1","hashtag2"]},{"1375719677":["hashtag1","hashtag2"]},{"1375719656":["hashtag1","hashtag2"]},{"1375719679":["hashtag1","hashtag2"]},{"1375719658":["hashtag1","hashtag2"]},{"1375719681":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375719672, 1375719677, 1375719656, 1375719679, 1375719658, 1375719681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.43647789955139 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:48:02.908270
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/24/image_13062025_05_24_25_10038.jpg', 2), ('/mnt/data/13062025/05/24/image_13062025_05_24_15_9981.jpg', 2), ('/mnt/data/13062025/05/23/image_13062025_05_24_05_9953.jpg', 2), ('/mnt/data/13062025/05/23/image_13062025_05_23_55_9956.jpg', 2), ('/mnt/data/13062025/05/23/image_13062025_05_23_45_10115.jpg', 2), ('/mnt/data/13062025/05/23/image_13062025_05_23_35_10091.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/24/image_13062025_05_24_25_10038.jpg', '/mnt/data/13062025/05/24/image_13062025_05_24_15_9981.jpg', '/mnt/data/13062025/05/23/image_13062025_05_24_05_9953.jpg', '/mnt/data/13062025/05/23/image_13062025_05_23_55_9956.jpg', '/mnt/data/13062025/05/23/image_13062025_05_23_45_10115.jpg', '/mnt/data/13062025/05/23/image_13062025_05_23_35_10091.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/24/image_13062025_05_24_25_10038.jpg', '/mnt/data/13062025/05/24/image_13062025_05_24_15_9981.jpg', '/mnt/data/13062025/05/23/image_13062025_05_24_05_9953.jpg', '/mnt/data/13062025/05/23/image_13062025_05_23_55_9956.jpg', '/mnt/data/13062025/05/23/image_13062025_05_23_45_10115.jpg', '/mnt/data/13062025/05/23/image_13062025_05_23_35_10091.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/24/image_13062025_05_24_25_10038.jpg
/mnt/data/13062025/05/24/image_13062025_05_24_15_9981.jpg
/mnt/data/13062025/05/23/image_13062025_05_24_05_9953.jpg
/mnt/data/13062025/05/23/image_13062025_05_23_55_9956.jpg
/mnt/data/13062025/05/23/image_13062025_05_23_45_10115.jpg
/mnt/data/13062025/05/23/image_13062025_05_23_35_10091.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375719711","1375719708","1375719717","1375719705","1375719697","1375719700"],"photo_ids_order":["1375719697","1375719700","1375719705","1375719708","1375719711","1375719717"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/cfe3abe62fe9b42d8629908153a94552.jpg","text":"TemporaryFile(/tmp/multipartBody8650238608039260407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588960659,"filename":"image_13062025_05_23_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/7/2b110074b11ac4c27bb82c801aa79b81.jpg","text":"TemporaryFile(/tmp/multipartBody4195818062837366928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588960659,"filename":"image_13062025_05_23_55_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/7/d4709aebc7d6209184dc4cc33af04cab.jpg","text":"TemporaryFile(/tmp/multipartBody9096440241741771122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588960659,"filename":"image_13062025_05_23_35_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/7/a3f6a2f9db4ee62dc2671b47c32fc265.jpg","text":"TemporaryFile(/tmp/multipartBody4894926099255189667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588960659,"filename":"image_13062025_05_24_05_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/7/3f6fe7a33a3e709c3c5dc3a65b05334b.jpg","text":"TemporaryFile(/tmp/multipartBody7056459613777603021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588960659,"filename":"image_13062025_05_24_25_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/7/737afe867850d78d0a4f59dee0c0ff0c.jpg","text":"TemporaryFile(/tmp/multipartBody2250263684209420407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754588960659,"filename":"image_13062025_05_24_15_9981.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375719705","file1":"1375719700","file0":"1375719697","file4":"1375719711","file5":"1375719717","file3":"1375719708"},"map_files_photo_id_array":[{"photo_id":"1375719717","filename":"file5"},{"photo_id":"1375719705","filename":"file2"},{"photo_id":"1375719711","filename":"file4"},{"photo_id":"1375719700","filename":"file1"},{"photo_id":"1375719697","filename":"file0"},{"photo_id":"1375719708","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375719711":["hashtag1","hashtag2"]},{"1375719708":["hashtag1","hashtag2"]},{"1375719717":["hashtag1","hashtag2"]},{"1375719705":["hashtag1","hashtag2"]},{"1375719697":["hashtag1","hashtag2"]},{"1375719700":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375719711, 1375719708, 1375719717, 1375719705, 1375719697, 1375719700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.522573471069336 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:49:02.871246
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/23/image_13062025_05_23_25_9963.jpg', 2), ('/mnt/data/13062025/05/23/image_13062025_05_23_14_10139.jpg', 2), ('/mnt/data/13062025/05/22/image_13062025_05_23_04_10361.jpg', 2), ('/mnt/data/13062025/05/22/image_13062025_05_22_54_10355.jpg', 2), ('/mnt/data/13062025/05/22/image_13062025_05_22_44_8948.jpg', 2), ('/mnt/data/13062025/05/22/image_13062025_05_22_35_10200.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/23/image_13062025_05_23_25_9963.jpg', '/mnt/data/13062025/05/23/image_13062025_05_23_14_10139.jpg', '/mnt/data/13062025/05/22/image_13062025_05_23_04_10361.jpg', '/mnt/data/13062025/05/22/image_13062025_05_22_54_10355.jpg', '/mnt/data/13062025/05/22/image_13062025_05_22_44_8948.jpg', '/mnt/data/13062025/05/22/image_13062025_05_22_35_10200.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/23/image_13062025_05_23_25_9963.jpg', '/mnt/data/13062025/05/23/image_13062025_05_23_14_10139.jpg', '/mnt/data/13062025/05/22/image_13062025_05_23_04_10361.jpg', '/mnt/data/13062025/05/22/image_13062025_05_22_54_10355.jpg', '/mnt/data/13062025/05/22/image_13062025_05_22_44_8948.jpg', '/mnt/data/13062025/05/22/image_13062025_05_22_35_10200.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/23/image_13062025_05_23_25_9963.jpg
/mnt/data/13062025/05/23/image_13062025_05_23_14_10139.jpg
/mnt/data/13062025/05/22/image_13062025_05_23_04_10361.jpg
/mnt/data/13062025/05/22/image_13062025_05_22_54_10355.jpg
/mnt/data/13062025/05/22/image_13062025_05_22_44_8948.jpg
/mnt/data/13062025/05/22/image_13062025_05_22_35_10200.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":["1375719804","1375719785","1375719770","1375719773","1375719800","1375719775"],"photo_ids_order":["1375719770","1375719773","1375719775","1375719785","1375719800","1375719804"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/4ebabe7df92bd5286cccd036e35da245.jpg","text":"TemporaryFile(/tmp/multipartBody1098833103699592833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589031438,"filename":"image_13062025_05_22_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/7/e207930bb4c838161549b42a74116871.jpg","text":"TemporaryFile(/tmp/multipartBody1522867464626361950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589031438,"filename":"image_13062025_05_22_54_10355.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/255cd152edce2a40a47befa61390c2e2.jpg","text":"TemporaryFile(/tmp/multipartBody3632715937819441668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589031438,"filename":"image_13062025_05_23_25_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/7/3b5dbf20fdc18b2973f899add7650576.jpg","text":"TemporaryFile(/tmp/multipartBody1461421263696801039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589031438,"filename":"image_13062025_05_23_14_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/7/3565799998bdcc75ec6c4235aeaf8c9c.jpg","text":"TemporaryFile(/tmp/multipartBody5582885852467735854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589031438,"filename":"image_13062025_05_22_44_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/7/04a26f773c2eec3c5265c61b30bada52.jpg","text":"TemporaryFile(/tmp/multipartBody4110533680967737527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589031438,"filename":"image_13062025_05_23_04_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375719775","file1":"1375719773","file0":"1375719770","file4":"1375719800","file5":"1375719804","file3":"1375719785"},"map_files_photo_id_array":[{"photo_id":"1375719804","filename":"file5"},{"photo_id":"1375719775","filename":"file2"},{"photo_id":"1375719800","filename":"file4"},{"photo_id":"1375719773","filename":"file1"},{"photo_id":"1375719770","filename":"file0"},{"photo_id":"1375719785","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375719804":["hashtag1","hashtag2"]},{"1375719785":["hashtag1","hashtag2"]},{"1375719770":["hashtag1","hashtag2"]},{"1375719773":["hashtag1","hashtag2"]},{"1375719800":["hashtag1","hashtag2"]},{"1375719775":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375719804, 1375719785, 1375719770, 1375719773, 1375719800, 1375719775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.41138625144958 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:51:02.702640
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/22/image_13062025_05_22_25_10199.jpg', 2), ('/mnt/data/13062025/05/22/image_13062025_05_22_14_10243.jpg', 2), ('/mnt/data/13062025/05/21/image_13062025_05_22_04_10342.jpg', 2), ('/mnt/data/13062025/05/21/image_13062025_05_21_54_8945.jpg', 2), ('/mnt/data/13062025/05/21/image_13062025_05_21_45_10126.jpg', 2), ('/mnt/data/13062025/05/21/image_13062025_05_21_35_10120.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/22/image_13062025_05_22_25_10199.jpg', '/mnt/data/13062025/05/22/image_13062025_05_22_14_10243.jpg', '/mnt/data/13062025/05/21/image_13062025_05_22_04_10342.jpg', '/mnt/data/13062025/05/21/image_13062025_05_21_54_8945.jpg', '/mnt/data/13062025/05/21/image_13062025_05_21_45_10126.jpg', '/mnt/data/13062025/05/21/image_13062025_05_21_35_10120.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/22/image_13062025_05_22_25_10199.jpg', '/mnt/data/13062025/05/22/image_13062025_05_22_14_10243.jpg', '/mnt/data/13062025/05/21/image_13062025_05_22_04_10342.jpg', '/mnt/data/13062025/05/21/image_13062025_05_21_54_8945.jpg', '/mnt/data/13062025/05/21/image_13062025_05_21_45_10126.jpg', '/mnt/data/13062025/05/21/image_13062025_05_21_35_10120.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/22/image_13062025_05_22_25_10199.jpg
/mnt/data/13062025/05/22/image_13062025_05_22_14_10243.jpg
/mnt/data/13062025/05/21/image_13062025_05_22_04_10342.jpg
/mnt/data/13062025/05/21/image_13062025_05_21_54_8945.jpg
/mnt/data/13062025/05/21/image_13062025_05_21_45_10126.jpg
/mnt/data/13062025/05/21/image_13062025_05_21_35_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":["1375719879","1375719896","1375719884","1375719959","1375719875","1375719883"],"photo_ids_order":["1375719875","1375719879","1375719883","1375719884","1375719896","1375719959"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/a4f62c2680d8c92aed57efceee9597e3.jpg","text":"TemporaryFile(/tmp/multipartBody398342900444774373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589144905,"filename":"image_13062025_05_22_14_10243.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/c79cc714b8608b7d25f2ff3f2398d41c.jpg","text":"TemporaryFile(/tmp/multipartBody3844581421283617687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589144905,"filename":"image_13062025_05_21_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/7/722812c532566a5e1ae771d35592b72d.jpg","text":"TemporaryFile(/tmp/multipartBody8873664329381034022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589144905,"filename":"image_13062025_05_21_54_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/7/40a3d49c10444b195a1620b33f22ec8f.jpg","text":"TemporaryFile(/tmp/multipartBody3563521874677101072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589144905,"filename":"image_13062025_05_21_35_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/7/e6e033037196ff1b0c9b5e23dd0b9b28.jpg","text":"TemporaryFile(/tmp/multipartBody8618290579499768077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589144905,"filename":"image_13062025_05_22_25_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/7/c44d57b23130da7045613a9803f9eb0f.jpg","text":"TemporaryFile(/tmp/multipartBody5492301327928411712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589144905,"filename":"image_13062025_05_22_04_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375719883","file1":"1375719879","file0":"1375719875","file4":"1375719896","file5":"1375719959","file3":"1375719884"},"map_files_photo_id_array":[{"photo_id":"1375719959","filename":"file5"},{"photo_id":"1375719883","filename":"file2"},{"photo_id":"1375719896","filename":"file4"},{"photo_id":"1375719879","filename":"file1"},{"photo_id":"1375719875","filename":"file0"},{"photo_id":"1375719884","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375719879":["hashtag1","hashtag2"]},{"1375719896":["hashtag1","hashtag2"]},{"1375719884":["hashtag1","hashtag2"]},{"1375719959":["hashtag1","hashtag2"]},{"1375719875":["hashtag1","hashtag2"]},{"1375719883":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375719879, 1375719896, 1375719884, 1375719959, 1375719875, 1375719883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.59131956100464 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:53:03.280568
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/21/image_13062025_05_21_25_10214.jpg', 2), ('/mnt/data/13062025/05/21/image_13062025_05_21_14_10084.jpg', 2), ('/mnt/data/13062025/05/20/image_13062025_05_21_04_10276.jpg', 2), ('/mnt/data/13062025/05/20/image_13062025_05_20_54_9972.jpg', 2), ('/mnt/data/13062025/05/20/image_13062025_05_20_44_10121.jpg', 2), ('/mnt/data/13062025/05/20/image_13062025_05_20_34_10171.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/21/image_13062025_05_21_25_10214.jpg', '/mnt/data/13062025/05/21/image_13062025_05_21_14_10084.jpg', '/mnt/data/13062025/05/20/image_13062025_05_21_04_10276.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_54_9972.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_44_10121.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_34_10171.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/21/image_13062025_05_21_25_10214.jpg', '/mnt/data/13062025/05/21/image_13062025_05_21_14_10084.jpg', '/mnt/data/13062025/05/20/image_13062025_05_21_04_10276.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_54_9972.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_44_10121.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_34_10171.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/21/image_13062025_05_21_25_10214.jpg
/mnt/data/13062025/05/21/image_13062025_05_21_14_10084.jpg
/mnt/data/13062025/05/20/image_13062025_05_21_04_10276.jpg
/mnt/data/13062025/05/20/image_13062025_05_20_54_9972.jpg
/mnt/data/13062025/05/20/image_13062025_05_20_44_10121.jpg
/mnt/data/13062025/05/20/image_13062025_05_20_34_10171.jpg
uploaded 0 photos
time to upload: 19.680299043655396 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-07 19:54:03.318192
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/21/image_13062025_05_21_25_10214.jpg', 2), ('/mnt/data/13062025/05/21/image_13062025_05_21_14_10084.jpg', 2), ('/mnt/data/13062025/05/20/image_13062025_05_21_04_10276.jpg', 2), ('/mnt/data/13062025/05/20/image_13062025_05_20_54_9972.jpg', 2), ('/mnt/data/13062025/05/20/image_13062025_05_20_44_10121.jpg', 2), ('/mnt/data/13062025/05/20/image_13062025_05_20_34_10171.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/21/image_13062025_05_21_25_10214.jpg', '/mnt/data/13062025/05/21/image_13062025_05_21_14_10084.jpg', '/mnt/data/13062025/05/20/image_13062025_05_21_04_10276.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_54_9972.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_44_10121.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_34_10171.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/21/image_13062025_05_21_25_10214.jpg', '/mnt/data/13062025/05/21/image_13062025_05_21_14_10084.jpg', '/mnt/data/13062025/05/20/image_13062025_05_21_04_10276.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_54_9972.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_44_10121.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_34_10171.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/21/image_13062025_05_21_25_10214.jpg
/mnt/data/13062025/05/21/image_13062025_05_21_14_10084.jpg
/mnt/data/13062025/05/20/image_13062025_05_21_04_10276.jpg
/mnt/data/13062025/05/20/image_13062025_05_20_54_9972.jpg
/mnt/data/13062025/05/20/image_13062025_05_20_44_10121.jpg
/mnt/data/13062025/05/20/image_13062025_05_20_34_10171.jpg
uploaded 0 photos
time to upload: 30.34673309326172 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:55:03.266804
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/21/image_13062025_05_21_25_10214.jpg', 2), ('/mnt/data/13062025/05/21/image_13062025_05_21_14_10084.jpg', 2), ('/mnt/data/13062025/05/20/image_13062025_05_21_04_10276.jpg', 2), ('/mnt/data/13062025/05/20/image_13062025_05_20_54_9972.jpg', 2), ('/mnt/data/13062025/05/20/image_13062025_05_20_44_10121.jpg', 2), ('/mnt/data/13062025/05/20/image_13062025_05_20_34_10171.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/21/image_13062025_05_21_25_10214.jpg', '/mnt/data/13062025/05/21/image_13062025_05_21_14_10084.jpg', '/mnt/data/13062025/05/20/image_13062025_05_21_04_10276.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_54_9972.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_44_10121.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_34_10171.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/21/image_13062025_05_21_25_10214.jpg', '/mnt/data/13062025/05/21/image_13062025_05_21_14_10084.jpg', '/mnt/data/13062025/05/20/image_13062025_05_21_04_10276.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_54_9972.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_44_10121.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_34_10171.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/21/image_13062025_05_21_25_10214.jpg
/mnt/data/13062025/05/21/image_13062025_05_21_14_10084.jpg
/mnt/data/13062025/05/20/image_13062025_05_21_04_10276.jpg
/mnt/data/13062025/05/20/image_13062025_05_20_54_9972.jpg
/mnt/data/13062025/05/20/image_13062025_05_20_44_10121.jpg
/mnt/data/13062025/05/20/image_13062025_05_20_34_10171.jpg
uploaded 0 photos
time to upload: 31.446397304534912 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:56:02.519295
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/21/image_13062025_05_21_25_10214.jpg', 2), ('/mnt/data/13062025/05/21/image_13062025_05_21_14_10084.jpg', 2), ('/mnt/data/13062025/05/20/image_13062025_05_21_04_10276.jpg', 2), ('/mnt/data/13062025/05/20/image_13062025_05_20_54_9972.jpg', 2), ('/mnt/data/13062025/05/20/image_13062025_05_20_44_10121.jpg', 2), ('/mnt/data/13062025/05/20/image_13062025_05_20_34_10171.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/21/image_13062025_05_21_25_10214.jpg', '/mnt/data/13062025/05/21/image_13062025_05_21_14_10084.jpg', '/mnt/data/13062025/05/20/image_13062025_05_21_04_10276.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_54_9972.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_44_10121.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_34_10171.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/21/image_13062025_05_21_25_10214.jpg', '/mnt/data/13062025/05/21/image_13062025_05_21_14_10084.jpg', '/mnt/data/13062025/05/20/image_13062025_05_21_04_10276.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_54_9972.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_44_10121.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_34_10171.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/21/image_13062025_05_21_25_10214.jpg
/mnt/data/13062025/05/21/image_13062025_05_21_14_10084.jpg
/mnt/data/13062025/05/20/image_13062025_05_21_04_10276.jpg
/mnt/data/13062025/05/20/image_13062025_05_20_54_9972.jpg
/mnt/data/13062025/05/20/image_13062025_05_20_44_10121.jpg
/mnt/data/13062025/05/20/image_13062025_05_20_34_10171.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":["1375720126","1375720134","1375720122","1375720131","1375720119","1375720124"],"photo_ids_order":["1375720119","1375720122","1375720124","1375720126","1375720131","1375720134"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/184f286a0e95c7ba9b47dba19a7bebed.jpg","text":"TemporaryFile(/tmp/multipartBody4879873238186830749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589444452,"filename":"image_13062025_05_20_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/7/97845305a93f034caccfe3c8bd7a8634.jpg","text":"TemporaryFile(/tmp/multipartBody4367140994394340606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589444452,"filename":"image_13062025_05_20_34_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/7/b0d35e1fe4f7da35fbeff0130cb501f0.jpg","text":"TemporaryFile(/tmp/multipartBody3201656727738721792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589444452,"filename":"image_13062025_05_21_14_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/7/d3579270739ef4c1e23316eabbed4112.jpg","text":"TemporaryFile(/tmp/multipartBody8083451781249765307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589444452,"filename":"image_13062025_05_20_44_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/7/25d0cf0e396f461e3eebe8553ab6a5a2.jpg","text":"TemporaryFile(/tmp/multipartBody2883978925599877338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589444452,"filename":"image_13062025_05_21_25_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/7/ebcf766e793824d0f1552bd3473fff6a.jpg","text":"TemporaryFile(/tmp/multipartBody8089680683622004602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589444452,"filename":"image_13062025_05_21_04_10276.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375720124","file1":"1375720122","file0":"1375720119","file4":"1375720131","file5":"1375720134","file3":"1375720126"},"map_files_photo_id_array":[{"photo_id":"1375720134","filename":"file5"},{"photo_id":"1375720124","filename":"file2"},{"photo_id":"1375720131","filename":"file4"},{"photo_id":"1375720122","filename":"file1"},{"photo_id":"1375720119","filename":"file0"},{"photo_id":"1375720126","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375720126":["hashtag1","hashtag2"]},{"1375720134":["hashtag1","hashtag2"]},{"1375720122":["hashtag1","hashtag2"]},{"1375720131":["hashtag1","hashtag2"]},{"1375720119":["hashtag1","hashtag2"]},{"1375720124":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375720126, 1375720134, 1375720122, 1375720131, 1375720119, 1375720124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.251793384552 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 19:59:03.340153
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/20/image_13062025_05_20_24_8984.jpg', 2), ('/mnt/data/13062025/05/20/image_13062025_05_20_15_10186.jpg', 2), ('/mnt/data/13062025/05/19/image_13062025_05_20_05_10249.jpg', 2), ('/mnt/data/13062025/05/19/image_13062025_05_19_54_9972.jpg', 2), ('/mnt/data/13062025/05/19/image_13062025_05_19_44_10032.jpg', 2), ('/mnt/data/13062025/05/19/image_13062025_05_19_34_10014.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/20/image_13062025_05_20_24_8984.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_15_10186.jpg', '/mnt/data/13062025/05/19/image_13062025_05_20_05_10249.jpg', '/mnt/data/13062025/05/19/image_13062025_05_19_54_9972.jpg', '/mnt/data/13062025/05/19/image_13062025_05_19_44_10032.jpg', '/mnt/data/13062025/05/19/image_13062025_05_19_34_10014.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/20/image_13062025_05_20_24_8984.jpg', '/mnt/data/13062025/05/20/image_13062025_05_20_15_10186.jpg', '/mnt/data/13062025/05/19/image_13062025_05_20_05_10249.jpg', '/mnt/data/13062025/05/19/image_13062025_05_19_54_9972.jpg', '/mnt/data/13062025/05/19/image_13062025_05_19_44_10032.jpg', '/mnt/data/13062025/05/19/image_13062025_05_19_34_10014.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/20/image_13062025_05_20_24_8984.jpg
/mnt/data/13062025/05/20/image_13062025_05_20_15_10186.jpg
/mnt/data/13062025/05/19/image_13062025_05_20_05_10249.jpg
/mnt/data/13062025/05/19/image_13062025_05_19_54_9972.jpg
/mnt/data/13062025/05/19/image_13062025_05_19_44_10032.jpg
/mnt/data/13062025/05/19/image_13062025_05_19_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":["1375720788","1375720677","1375720725","1375720614","1375720646","1375720582"],"photo_ids_order":["1375720582","1375720614","1375720646","1375720677","1375720725","1375720788"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/4695fb9a3dfc5c90675c8d2a4e7571ab.jpg","text":"TemporaryFile(/tmp/multipartBody7753816059292180860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589626162,"filename":"image_13062025_05_19_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/7/3a64aa335a85a510ef1a7cbe3a7234f7.jpg","text":"TemporaryFile(/tmp/multipartBody600022807725956565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589626162,"filename":"image_13062025_05_19_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/7/9d8223f3764aa1191c7b127f6b604e20.jpg","text":"TemporaryFile(/tmp/multipartBody8677818666769590961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589626162,"filename":"image_13062025_05_19_44_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/7/41095230b1dfe2f06da7041f24258256.jpg","text":"TemporaryFile(/tmp/multipartBody290304995924197348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589626162,"filename":"image_13062025_05_20_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/7/2703ff9b191c306d3e69d1f65d495c72.jpg","text":"TemporaryFile(/tmp/multipartBody8976769114925942327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589626162,"filename":"image_13062025_05_20_05_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/7/c33b6d276ebdd275e56b8674cac65626.jpg","text":"TemporaryFile(/tmp/multipartBody7229092594388692734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589626162,"filename":"image_13062025_05_20_24_8984.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375720646","file1":"1375720614","file0":"1375720582","file4":"1375720725","file5":"1375720788","file3":"1375720677"},"map_files_photo_id_array":[{"photo_id":"1375720788","filename":"file5"},{"photo_id":"1375720646","filename":"file2"},{"photo_id":"1375720725","filename":"file4"},{"photo_id":"1375720614","filename":"file1"},{"photo_id":"1375720582","filename":"file0"},{"photo_id":"1375720677","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375720788":["hashtag1","hashtag2"]},{"1375720677":["hashtag1","hashtag2"]},{"1375720725":["hashtag1","hashtag2"]},{"1375720614":["hashtag1","hashtag2"]},{"1375720646":["hashtag1","hashtag2"]},{"1375720582":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375720788, 1375720677, 1375720725, 1375720614, 1375720646, 1375720582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.24739336967468 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:01:02.676769
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/19/image_13062025_05_19_24_10593.jpg', 2), ('/mnt/data/13062025/05/19/image_13062025_05_19_14_9960.jpg', 2), ('/mnt/data/13062025/05/18/image_13062025_05_19_04_9188.jpg', 2), ('/mnt/data/13062025/05/18/image_13062025_05_18_55_9949.jpg', 2), ('/mnt/data/13062025/05/17/image_13062025_05_17_44_9982.jpg', 2), ('/mnt/data/13062025/05/17/image_13062025_05_17_34_10166.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/19/image_13062025_05_19_24_10593.jpg', '/mnt/data/13062025/05/19/image_13062025_05_19_14_9960.jpg', '/mnt/data/13062025/05/18/image_13062025_05_19_04_9188.jpg', '/mnt/data/13062025/05/18/image_13062025_05_18_55_9949.jpg', '/mnt/data/13062025/05/17/image_13062025_05_17_44_9982.jpg', '/mnt/data/13062025/05/17/image_13062025_05_17_34_10166.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/19/image_13062025_05_19_24_10593.jpg', '/mnt/data/13062025/05/19/image_13062025_05_19_14_9960.jpg', '/mnt/data/13062025/05/18/image_13062025_05_19_04_9188.jpg', '/mnt/data/13062025/05/18/image_13062025_05_18_55_9949.jpg', '/mnt/data/13062025/05/17/image_13062025_05_17_44_9982.jpg', '/mnt/data/13062025/05/17/image_13062025_05_17_34_10166.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/19/image_13062025_05_19_24_10593.jpg
/mnt/data/13062025/05/19/image_13062025_05_19_14_9960.jpg
/mnt/data/13062025/05/18/image_13062025_05_19_04_9188.jpg
/mnt/data/13062025/05/18/image_13062025_05_18_55_9949.jpg
/mnt/data/13062025/05/17/image_13062025_05_17_44_9982.jpg
/mnt/data/13062025/05/17/image_13062025_05_17_34_10166.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375721469","1375721645","1375721831","1375721732","1375721575","1375721512"],"photo_ids_order":["1375721469","1375721512","1375721575","1375721645","1375721732","1375721831"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/0a98d2178d9f6fbd373a5dab9ab71d49.jpg","text":"TemporaryFile(/tmp/multipartBody1781589774910697065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589732072,"filename":"image_13062025_05_19_24_10593.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/6b6def6df3461eebbca6f048f11a9dbe.jpg","text":"TemporaryFile(/tmp/multipartBody1216093790269930436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589732072,"filename":"image_13062025_05_18_55_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/7/b6c3b5103ab740d542c1ffb26bfec7ee.jpg","text":"TemporaryFile(/tmp/multipartBody1361289315823682339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589732072,"filename":"image_13062025_05_17_34_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/7/bb9102f6399a5c08cc36dd4f5e62aed8.jpg","text":"TemporaryFile(/tmp/multipartBody5771426509055322725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589732072,"filename":"image_13062025_05_17_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/7/cbed1e9aeb047a75640085659cada8b6.jpg","text":"TemporaryFile(/tmp/multipartBody4155180763677372387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589732072,"filename":"image_13062025_05_19_04_9188.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d6ab481c8f7e231edbd8d6e0aafe1745.jpg","text":"TemporaryFile(/tmp/multipartBody3694015853969198606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754589732072,"filename":"image_13062025_05_19_14_9960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375721575","file1":"1375721512","file0":"1375721469","file4":"1375721732","file5":"1375721831","file3":"1375721645"},"map_files_photo_id_array":[{"photo_id":"1375721831","filename":"file5"},{"photo_id":"1375721575","filename":"file2"},{"photo_id":"1375721732","filename":"file4"},{"photo_id":"1375721512","filename":"file1"},{"photo_id":"1375721469","filename":"file0"},{"photo_id":"1375721645","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375721469":["hashtag1","hashtag2"]},{"1375721645":["hashtag1","hashtag2"]},{"1375721831":["hashtag1","hashtag2"]},{"1375721732":["hashtag1","hashtag2"]},{"1375721575":["hashtag1","hashtag2"]},{"1375721512":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375721469, 1375721645, 1375721831, 1375721732, 1375721575, 1375721512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.60439157485962 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:02:02.640565
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/17/image_13062025_05_17_24_10189.jpg', 2), ('/mnt/data/13062025/05/17/image_13062025_05_17_14_10109.jpg', 2), ('/mnt/data/13062025/05/16/image_13062025_05_17_04_9205.jpg', 2), ('/mnt/data/13062025/05/16/image_13062025_05_16_55_10169.jpg', 2), ('/mnt/data/13062025/05/15/image_13062025_05_15_45_9995.jpg', 2), ('/mnt/data/13062025/05/15/image_13062025_05_15_35_10030.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/17/image_13062025_05_17_24_10189.jpg', '/mnt/data/13062025/05/17/image_13062025_05_17_14_10109.jpg', '/mnt/data/13062025/05/16/image_13062025_05_17_04_9205.jpg', '/mnt/data/13062025/05/16/image_13062025_05_16_55_10169.jpg', '/mnt/data/13062025/05/15/image_13062025_05_15_45_9995.jpg', '/mnt/data/13062025/05/15/image_13062025_05_15_35_10030.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/17/image_13062025_05_17_24_10189.jpg', '/mnt/data/13062025/05/17/image_13062025_05_17_14_10109.jpg', '/mnt/data/13062025/05/16/image_13062025_05_17_04_9205.jpg', '/mnt/data/13062025/05/16/image_13062025_05_16_55_10169.jpg', '/mnt/data/13062025/05/15/image_13062025_05_15_45_9995.jpg', '/mnt/data/13062025/05/15/image_13062025_05_15_35_10030.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/17/image_13062025_05_17_24_10189.jpg
/mnt/data/13062025/05/17/image_13062025_05_17_14_10109.jpg
/mnt/data/13062025/05/16/image_13062025_05_17_04_9205.jpg
/mnt/data/13062025/05/16/image_13062025_05_16_55_10169.jpg
/mnt/data/13062025/05/15/image_13062025_05_15_45_9995.jpg
/mnt/data/13062025/05/15/image_13062025_05_15_35_10030.jpg
uploaded 0 photos
time to upload: 30.431520462036133 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:03:02.818147
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/17/image_13062025_05_17_24_10189.jpg', 2), ('/mnt/data/13062025/05/17/image_13062025_05_17_14_10109.jpg', 2), ('/mnt/data/13062025/05/16/image_13062025_05_17_04_9205.jpg', 2), ('/mnt/data/13062025/05/16/image_13062025_05_16_55_10169.jpg', 2), ('/mnt/data/13062025/05/15/image_13062025_05_15_45_9995.jpg', 2), ('/mnt/data/13062025/05/15/image_13062025_05_15_35_10030.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/17/image_13062025_05_17_24_10189.jpg', '/mnt/data/13062025/05/17/image_13062025_05_17_14_10109.jpg', '/mnt/data/13062025/05/16/image_13062025_05_17_04_9205.jpg', '/mnt/data/13062025/05/16/image_13062025_05_16_55_10169.jpg', '/mnt/data/13062025/05/15/image_13062025_05_15_45_9995.jpg', '/mnt/data/13062025/05/15/image_13062025_05_15_35_10030.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/17/image_13062025_05_17_24_10189.jpg', '/mnt/data/13062025/05/17/image_13062025_05_17_14_10109.jpg', '/mnt/data/13062025/05/16/image_13062025_05_17_04_9205.jpg', '/mnt/data/13062025/05/16/image_13062025_05_16_55_10169.jpg', '/mnt/data/13062025/05/15/image_13062025_05_15_45_9995.jpg', '/mnt/data/13062025/05/15/image_13062025_05_15_35_10030.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/17/image_13062025_05_17_24_10189.jpg
/mnt/data/13062025/05/17/image_13062025_05_17_14_10109.jpg
/mnt/data/13062025/05/16/image_13062025_05_17_04_9205.jpg
/mnt/data/13062025/05/16/image_13062025_05_16_55_10169.jpg
/mnt/data/13062025/05/15/image_13062025_05_15_45_9995.jpg
/mnt/data/13062025/05/15/image_13062025_05_15_35_10030.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 136.5035970211029 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-07 20:06:03.170015
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/17/image_13062025_05_17_24_10189.jpg', 2), ('/mnt/data/13062025/05/17/image_13062025_05_17_14_10109.jpg', 2), ('/mnt/data/13062025/05/16/image_13062025_05_17_04_9205.jpg', 2), ('/mnt/data/13062025/05/16/image_13062025_05_16_55_10169.jpg', 2), ('/mnt/data/13062025/05/15/image_13062025_05_15_45_9995.jpg', 2), ('/mnt/data/13062025/05/15/image_13062025_05_15_35_10030.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/17/image_13062025_05_17_24_10189.jpg', '/mnt/data/13062025/05/17/image_13062025_05_17_14_10109.jpg', '/mnt/data/13062025/05/16/image_13062025_05_17_04_9205.jpg', '/mnt/data/13062025/05/16/image_13062025_05_16_55_10169.jpg', '/mnt/data/13062025/05/15/image_13062025_05_15_45_9995.jpg', '/mnt/data/13062025/05/15/image_13062025_05_15_35_10030.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/17/image_13062025_05_17_24_10189.jpg', '/mnt/data/13062025/05/17/image_13062025_05_17_14_10109.jpg', '/mnt/data/13062025/05/16/image_13062025_05_17_04_9205.jpg', '/mnt/data/13062025/05/16/image_13062025_05_16_55_10169.jpg', '/mnt/data/13062025/05/15/image_13062025_05_15_45_9995.jpg', '/mnt/data/13062025/05/15/image_13062025_05_15_35_10030.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/17/image_13062025_05_17_24_10189.jpg
/mnt/data/13062025/05/17/image_13062025_05_17_14_10109.jpg
/mnt/data/13062025/05/16/image_13062025_05_17_04_9205.jpg
/mnt/data/13062025/05/16/image_13062025_05_16_55_10169.jpg
/mnt/data/13062025/05/15/image_13062025_05_15_45_9995.jpg
/mnt/data/13062025/05/15/image_13062025_05_15_35_10030.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":["1375724615","1375724434","1375724568","1375724520","1375724489","1375724384"],"photo_ids_order":["1375724384","1375724434","1375724489","1375724520","1375724568","1375724615"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/edf5b407435838e820716e5a30b8c418.jpg","text":"TemporaryFile(/tmp/multipartBody2674535695254398428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754590044490,"filename":"image_13062025_05_15_35_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/7/547da320a21e5ea16e42312d3c815e91.jpg","text":"TemporaryFile(/tmp/multipartBody4594059211915372763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754590044490,"filename":"image_13062025_05_17_14_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/7/5c1e61652952cda05f41853c71a014a0.jpg","text":"TemporaryFile(/tmp/multipartBody5741553429608101479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754590044490,"filename":"image_13062025_05_15_45_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/7/ad7f6578957f8108fa469761e5ba4ded.jpg","text":"TemporaryFile(/tmp/multipartBody3228193706137519592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754590044490,"filename":"image_13062025_05_16_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/7/574d61630e73b9b646e14693ced1712f.jpg","text":"TemporaryFile(/tmp/multipartBody7899077772324723265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754590044490,"filename":"image_13062025_05_17_04_9205.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/45a6cee9376e0ba87e25d10ed64ff0d8.jpg","text":"TemporaryFile(/tmp/multipartBody4919221472111011090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754590044490,"filename":"image_13062025_05_17_24_10189.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375724489","file1":"1375724434","file0":"1375724384","file4":"1375724568","file5":"1375724615","file3":"1375724520"},"map_files_photo_id_array":[{"photo_id":"1375724615","filename":"file5"},{"photo_id":"1375724489","filename":"file2"},{"photo_id":"1375724568","filename":"file4"},{"photo_id":"1375724434","filename":"file1"},{"photo_id":"1375724384","filename":"file0"},{"photo_id":"1375724520","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375724615":["hashtag1","hashtag2"]},{"1375724434":["hashtag1","hashtag2"]},{"1375724568":["hashtag1","hashtag2"]},{"1375724520":["hashtag1","hashtag2"]},{"1375724489":["hashtag1","hashtag2"]},{"1375724384":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375724615, 1375724434, 1375724568, 1375724520, 1375724489, 1375724384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.52224016189575 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:08:02.819490
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/15/image_13062025_05_15_25_9996.jpg', 2), ('/mnt/data/13062025/05/15/image_13062025_05_15_15_9995.jpg', 2), ('/mnt/data/13062025/05/14/image_13062025_05_15_05_10190.jpg', 2), ('/mnt/data/13062025/05/14/image_13062025_05_14_55_9939.jpg', 2), ('/mnt/data/13062025/05/13/image_13062025_05_13_45_9940.jpg', 2), ('/mnt/data/13062025/05/13/image_13062025_05_13_35_10167.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/15/image_13062025_05_15_25_9996.jpg', '/mnt/data/13062025/05/15/image_13062025_05_15_15_9995.jpg', '/mnt/data/13062025/05/14/image_13062025_05_15_05_10190.jpg', '/mnt/data/13062025/05/14/image_13062025_05_14_55_9939.jpg', '/mnt/data/13062025/05/13/image_13062025_05_13_45_9940.jpg', '/mnt/data/13062025/05/13/image_13062025_05_13_35_10167.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/15/image_13062025_05_15_25_9996.jpg', '/mnt/data/13062025/05/15/image_13062025_05_15_15_9995.jpg', '/mnt/data/13062025/05/14/image_13062025_05_15_05_10190.jpg', '/mnt/data/13062025/05/14/image_13062025_05_14_55_9939.jpg', '/mnt/data/13062025/05/13/image_13062025_05_13_45_9940.jpg', '/mnt/data/13062025/05/13/image_13062025_05_13_35_10167.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/15/image_13062025_05_15_25_9996.jpg
/mnt/data/13062025/05/15/image_13062025_05_15_15_9995.jpg
/mnt/data/13062025/05/14/image_13062025_05_15_05_10190.jpg
/mnt/data/13062025/05/14/image_13062025_05_14_55_9939.jpg
/mnt/data/13062025/05/13/image_13062025_05_13_45_9940.jpg
/mnt/data/13062025/05/13/image_13062025_05_13_35_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":["1375724677","1375724685","1375724687","1375724681","1375724684","1375724672"],"photo_ids_order":["1375724672","1375724677","1375724681","1375724684","1375724685","1375724687"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/12c63105a6a20783303ac4a98bd1e06d.jpg","text":"TemporaryFile(/tmp/multipartBody6854672840857145785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754590162505,"filename":"image_13062025_05_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/7/af8f029971793bc02abcbdb1797af99a.jpg","text":"TemporaryFile(/tmp/multipartBody3431773028543512945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754590162505,"filename":"image_13062025_05_13_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/7/a496c452ad925887d9c2daa5166bb52d.jpg","text":"TemporaryFile(/tmp/multipartBody7204616217840498738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754590162505,"filename":"image_13062025_05_13_35_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/7/c5be8a86f088bfc8b1d86410b26c273a.jpg","text":"TemporaryFile(/tmp/multipartBody3496744631278990715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754590162505,"filename":"image_13062025_05_15_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/7/7ee013e6266a1bf76a02af744e059cdd.jpg","text":"TemporaryFile(/tmp/multipartBody1872461536373320524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754590162505,"filename":"image_13062025_05_14_55_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/7/0695ed1cfface12e330691b1381f5a85.jpg","text":"TemporaryFile(/tmp/multipartBody5468890302075663837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754590162505,"filename":"image_13062025_05_15_25_9996.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375724681","file1":"1375724677","file0":"1375724672","file4":"1375724685","file5":"1375724687","file3":"1375724684"},"map_files_photo_id_array":[{"photo_id":"1375724687","filename":"file5"},{"photo_id":"1375724681","filename":"file2"},{"photo_id":"1375724685","filename":"file4"},{"photo_id":"1375724677","filename":"file1"},{"photo_id":"1375724672","filename":"file0"},{"photo_id":"1375724684","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375724677":["hashtag1","hashtag2"]},{"1375724685":["hashtag1","hashtag2"]},{"1375724687":["hashtag1","hashtag2"]},{"1375724681":["hashtag1","hashtag2"]},{"1375724684":["hashtag1","hashtag2"]},{"1375724672":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375724677, 1375724685, 1375724687, 1375724681, 1375724684, 1375724672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.24961543083191 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:10:03.330125
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/13/image_13062025_05_13_25_10219.jpg', 2), ('/mnt/data/13062025/05/10/image_13062025_05_10_15_10180.jpg', 2), ('/mnt/data/13062025/05/05/image_13062025_05_05_55_10108.jpg', 2), ('/mnt/data/13062025/05/05/image_13062025_05_05_35_10133.jpg', 2), ('/mnt/data/13062025/05/03/image_13062025_05_04_04_10355.jpg', 2), ('/mnt/data/13062025/05/03/image_13062025_05_03_54_10114.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/13/image_13062025_05_13_25_10219.jpg', '/mnt/data/13062025/05/10/image_13062025_05_10_15_10180.jpg', '/mnt/data/13062025/05/05/image_13062025_05_05_55_10108.jpg', '/mnt/data/13062025/05/05/image_13062025_05_05_35_10133.jpg', '/mnt/data/13062025/05/03/image_13062025_05_04_04_10355.jpg', '/mnt/data/13062025/05/03/image_13062025_05_03_54_10114.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/13/image_13062025_05_13_25_10219.jpg', '/mnt/data/13062025/05/10/image_13062025_05_10_15_10180.jpg', '/mnt/data/13062025/05/05/image_13062025_05_05_55_10108.jpg', '/mnt/data/13062025/05/05/image_13062025_05_05_35_10133.jpg', '/mnt/data/13062025/05/03/image_13062025_05_04_04_10355.jpg', '/mnt/data/13062025/05/03/image_13062025_05_03_54_10114.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/13/image_13062025_05_13_25_10219.jpg
/mnt/data/13062025/05/10/image_13062025_05_10_15_10180.jpg
/mnt/data/13062025/05/05/image_13062025_05_05_55_10108.jpg
/mnt/data/13062025/05/05/image_13062025_05_05_35_10133.jpg
/mnt/data/13062025/05/03/image_13062025_05_04_04_10355.jpg
/mnt/data/13062025/05/03/image_13062025_05_03_54_10114.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":["1375724896","1375724892","1375724955","1375724868","1375724928","1375724903"],"photo_ids_order":["1375724868","1375724892","1375724896","1375724903","1375724928","1375724955"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/592533954d0345a4886e396c28f3a582.jpg","text":"TemporaryFile(/tmp/multipartBody8237173116821020687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754590293429,"filename":"image_13062025_05_05_55_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/7/9b7a74aecb44f70dae96476d7e3c549d.jpg","text":"TemporaryFile(/tmp/multipartBody6658228293559271580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754590293429,"filename":"image_13062025_05_10_15_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/7/f6b7407e6182ead69069b191f28eeb68.jpg","text":"TemporaryFile(/tmp/multipartBody4005977768837042498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754590293429,"filename":"image_13062025_05_03_54_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/7/29f3e7ac8f0e2390a8f853b1ee98956a.jpg","text":"TemporaryFile(/tmp/multipartBody8225282768154999373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754590293429,"filename":"image_13062025_05_13_25_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/7/7d52f68f04fd7c70164892909d808d17.jpg","text":"TemporaryFile(/tmp/multipartBody4112127883236594006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754590293429,"filename":"image_13062025_05_04_04_10355.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/9c6ac7aa3ce087b1680515c1b3c7c00b.jpg","text":"TemporaryFile(/tmp/multipartBody2455757904483764841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754590293429,"filename":"image_13062025_05_05_35_10133.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375724896","file1":"1375724892","file0":"1375724868","file4":"1375724928","file5":"1375724955","file3":"1375724903"},"map_files_photo_id_array":[{"photo_id":"1375724955","filename":"file5"},{"photo_id":"1375724896","filename":"file2"},{"photo_id":"1375724928","filename":"file4"},{"photo_id":"1375724892","filename":"file1"},{"photo_id":"1375724868","filename":"file0"},{"photo_id":"1375724903","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375724896":["hashtag1","hashtag2"]},{"1375724892":["hashtag1","hashtag2"]},{"1375724955":["hashtag1","hashtag2"]},{"1375724868":["hashtag1","hashtag2"]},{"1375724928":["hashtag1","hashtag2"]},{"1375724903":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375724896, 1375724892, 1375724955, 1375724868, 1375724928, 1375724903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.82650256156921 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:12:02.698457
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/03/image_13062025_05_03_34_10186.jpg', 2), ('/mnt/data/13062025/05/02/image_13062025_05_02_54_10135.jpg', 2), ('/mnt/data/13062025/05/01/image_13062025_05_01_14_10181.jpg', 2), ('/mnt/data/13062025/05/00/image_13062025_05_01_04_8998.jpg', 2), ('/mnt/data/13062025/05/00/image_13062025_05_00_55_10167.jpg', 2), ('/mnt/data/13062025/05/00/image_13062025_05_00_34_10205.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/03/image_13062025_05_03_34_10186.jpg', '/mnt/data/13062025/05/02/image_13062025_05_02_54_10135.jpg', '/mnt/data/13062025/05/01/image_13062025_05_01_14_10181.jpg', '/mnt/data/13062025/05/00/image_13062025_05_01_04_8998.jpg', '/mnt/data/13062025/05/00/image_13062025_05_00_55_10167.jpg', '/mnt/data/13062025/05/00/image_13062025_05_00_34_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/03/image_13062025_05_03_34_10186.jpg', '/mnt/data/13062025/05/02/image_13062025_05_02_54_10135.jpg', '/mnt/data/13062025/05/01/image_13062025_05_01_14_10181.jpg', '/mnt/data/13062025/05/00/image_13062025_05_01_04_8998.jpg', '/mnt/data/13062025/05/00/image_13062025_05_00_55_10167.jpg', '/mnt/data/13062025/05/00/image_13062025_05_00_34_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/03/image_13062025_05_03_34_10186.jpg
/mnt/data/13062025/05/02/image_13062025_05_02_54_10135.jpg
/mnt/data/13062025/05/01/image_13062025_05_01_14_10181.jpg
/mnt/data/13062025/05/00/image_13062025_05_01_04_8998.jpg
/mnt/data/13062025/05/00/image_13062025_05_00_55_10167.jpg
/mnt/data/13062025/05/00/image_13062025_05_00_34_10205.jpg
uploaded 0 photos
time to upload: 30.44981837272644 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:13:02.791422
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/03/image_13062025_05_03_34_10186.jpg', 2), ('/mnt/data/13062025/05/02/image_13062025_05_02_54_10135.jpg', 2), ('/mnt/data/13062025/05/01/image_13062025_05_01_14_10181.jpg', 2), ('/mnt/data/13062025/05/00/image_13062025_05_01_04_8998.jpg', 2), ('/mnt/data/13062025/05/00/image_13062025_05_00_55_10167.jpg', 2), ('/mnt/data/13062025/05/00/image_13062025_05_00_34_10205.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/03/image_13062025_05_03_34_10186.jpg', '/mnt/data/13062025/05/02/image_13062025_05_02_54_10135.jpg', '/mnt/data/13062025/05/01/image_13062025_05_01_14_10181.jpg', '/mnt/data/13062025/05/00/image_13062025_05_01_04_8998.jpg', '/mnt/data/13062025/05/00/image_13062025_05_00_55_10167.jpg', '/mnt/data/13062025/05/00/image_13062025_05_00_34_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/03/image_13062025_05_03_34_10186.jpg', '/mnt/data/13062025/05/02/image_13062025_05_02_54_10135.jpg', '/mnt/data/13062025/05/01/image_13062025_05_01_14_10181.jpg', '/mnt/data/13062025/05/00/image_13062025_05_01_04_8998.jpg', '/mnt/data/13062025/05/00/image_13062025_05_00_55_10167.jpg', '/mnt/data/13062025/05/00/image_13062025_05_00_34_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/03/image_13062025_05_03_34_10186.jpg
/mnt/data/13062025/05/02/image_13062025_05_02_54_10135.jpg
/mnt/data/13062025/05/01/image_13062025_05_01_14_10181.jpg
/mnt/data/13062025/05/00/image_13062025_05_01_04_8998.jpg
/mnt/data/13062025/05/00/image_13062025_05_00_55_10167.jpg
/mnt/data/13062025/05/00/image_13062025_05_00_34_10205.jpg
uploaded 0 photos
time to upload: 20.32955026626587 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-07 20:14:02.472878
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/03/image_13062025_05_03_34_10186.jpg', 2), ('/mnt/data/13062025/05/02/image_13062025_05_02_54_10135.jpg', 2), ('/mnt/data/13062025/05/01/image_13062025_05_01_14_10181.jpg', 2), ('/mnt/data/13062025/05/00/image_13062025_05_01_04_8998.jpg', 2), ('/mnt/data/13062025/05/00/image_13062025_05_00_55_10167.jpg', 2), ('/mnt/data/13062025/05/00/image_13062025_05_00_34_10205.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/03/image_13062025_05_03_34_10186.jpg', '/mnt/data/13062025/05/02/image_13062025_05_02_54_10135.jpg', '/mnt/data/13062025/05/01/image_13062025_05_01_14_10181.jpg', '/mnt/data/13062025/05/00/image_13062025_05_01_04_8998.jpg', '/mnt/data/13062025/05/00/image_13062025_05_00_55_10167.jpg', '/mnt/data/13062025/05/00/image_13062025_05_00_34_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/03/image_13062025_05_03_34_10186.jpg', '/mnt/data/13062025/05/02/image_13062025_05_02_54_10135.jpg', '/mnt/data/13062025/05/01/image_13062025_05_01_14_10181.jpg', '/mnt/data/13062025/05/00/image_13062025_05_01_04_8998.jpg', '/mnt/data/13062025/05/00/image_13062025_05_00_55_10167.jpg', '/mnt/data/13062025/05/00/image_13062025_05_00_34_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/03/image_13062025_05_03_34_10186.jpg
/mnt/data/13062025/05/02/image_13062025_05_02_54_10135.jpg
/mnt/data/13062025/05/01/image_13062025_05_01_14_10181.jpg
/mnt/data/13062025/05/00/image_13062025_05_01_04_8998.jpg
/mnt/data/13062025/05/00/image_13062025_05_00_55_10167.jpg
/mnt/data/13062025/05/00/image_13062025_05_00_34_10205.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":["1375725379","1375725396","1375725390","1375725374","1375725385","1375725367"],"photo_ids_order":["1375725367","1375725374","1375725379","1375725385","1375725390","1375725396"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/8e695cbb2bf98794bcb29a484935cf64.jpg","text":"TemporaryFile(/tmp/multipartBody5091875153191093652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754590524326,"filename":"image_13062025_05_01_14_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/7/6b78e8e870dd00aa85abdfe33f31364d.jpg","text":"TemporaryFile(/tmp/multipartBody6385809966558118657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754590524326,"filename":"image_13062025_05_00_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/7/101350bf011e36d13b3ea81cb0473bab.jpg","text":"TemporaryFile(/tmp/multipartBody3581371301063655017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754590524326,"filename":"image_13062025_05_00_55_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/7/e22a5117190f7ca73ff562e2a62de57b.jpg","text":"TemporaryFile(/tmp/multipartBody475414324859756494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754590524326,"filename":"image_13062025_05_02_54_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/7/763a12ddebc74dbbbebcea57e3227a92.jpg","text":"TemporaryFile(/tmp/multipartBody7689568519129024746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754590524326,"filename":"image_13062025_05_01_04_8998.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/8547742a0173c06ae6b293ed5949f754.jpg","text":"TemporaryFile(/tmp/multipartBody6453471630571897130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754590524326,"filename":"image_13062025_05_03_34_10186.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375725379","file1":"1375725374","file0":"1375725367","file4":"1375725390","file5":"1375725396","file3":"1375725385"},"map_files_photo_id_array":[{"photo_id":"1375725396","filename":"file5"},{"photo_id":"1375725379","filename":"file2"},{"photo_id":"1375725390","filename":"file4"},{"photo_id":"1375725374","filename":"file1"},{"photo_id":"1375725367","filename":"file0"},{"photo_id":"1375725385","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375725379":["hashtag1","hashtag2"]},{"1375725396":["hashtag1","hashtag2"]},{"1375725390":["hashtag1","hashtag2"]},{"1375725374":["hashtag1","hashtag2"]},{"1375725385":["hashtag1","hashtag2"]},{"1375725367":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375725379, 1375725396, 1375725390, 1375725374, 1375725385, 1375725367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.49925780296326 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:16:02.455539
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg', 2), ('/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg', 2), ('/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg', 2), ('/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg', 2), ('/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg', 2), ('/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg', '/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg', '/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg', '/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg', '/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg', '/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg', '/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg
/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg
/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg
/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg
/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg
/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg
uploaded 0 photos
time to upload: 30.44519019126892 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:17:02.885559
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg', 2), ('/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg', 2), ('/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg', 2), ('/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg', 2), ('/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg', 2), ('/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg', '/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg', '/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg', '/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg', '/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg', '/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg', '/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg
/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg
/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg
/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg
/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg
/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg
uploaded 0 photos
time to upload: 30.623796463012695 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:18:02.999541
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg', 2), ('/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg', 2), ('/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg', 2), ('/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg', 2), ('/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg', 2), ('/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg', '/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg', '/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg', '/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg', '/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg', '/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg', '/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg
/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg
/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg
/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg
/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg
/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg
uploaded 0 photos
time to upload: 30.36461615562439 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:19:03.133753
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg', 2), ('/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg', 2), ('/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg', 2), ('/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg', 2), ('/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg', 2), ('/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg', '/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg', '/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg', '/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg', '/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg', '/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg', '/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg
/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg
/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg
/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg
/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg
/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg
uploaded 0 photos
time to upload: 30.458295822143555 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:20:02.815362
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg', 2), ('/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg', 2), ('/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg', 2), ('/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg', 2), ('/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg', 2), ('/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg', '/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg', '/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg', '/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg', '/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg', '/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg', '/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg
/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg
/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg
/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg
/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg
/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg
uploaded 0 photos
time to upload: 30.352380752563477 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:21:02.907580
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg', 2), ('/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg', 2), ('/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg', 2), ('/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg', 2), ('/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg', 2), ('/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg', '/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg', '/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg', '/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg', '/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg', '/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg', '/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg
/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg
/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg
/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg
/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg
/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg
uploaded 0 photos
time to upload: 30.37634539604187 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:22:02.391645
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg', 2), ('/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg', 2), ('/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg', 2), ('/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg', 2), ('/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg', 2), ('/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg', '/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg', '/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg', '/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg', '/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg', '/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg', '/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg', '/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/05/00/image_13062025_05_00_14_10195.jpg
/mnt/data/13062025/04/52/image_13062025_04_52_14_10175.jpg
/mnt/data/13062025/04/51/image_13062025_04_51_24_10230.jpg
/mnt/data/13062025/04/50/image_13062025_04_50_45_10235.jpg
/mnt/data/13062025/04/50/image_13062025_04_50_14_10252.jpg
/mnt/data/13062025/04/49/image_13062025_04_50_04_9130.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":["1375726281","1375726290","1375726284","1375726278","1375726287","1375726289"],"photo_ids_order":["1375726278","1375726281","1375726284","1375726287","1375726289","1375726290"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/c5e6330560303b566031fedfcda8b0b4.jpg","text":"TemporaryFile(/tmp/multipartBody5342474390192795685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591014334,"filename":"image_13062025_04_52_14_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/7/201495db202a6669649237c6211514c8.jpg","text":"TemporaryFile(/tmp/multipartBody2267403806979798311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591014334,"filename":"image_13062025_04_50_04_9130.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/98371bd98bb82205171d475c7d3386d5.jpg","text":"TemporaryFile(/tmp/multipartBody2979871406876501796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591014334,"filename":"image_13062025_04_51_24_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/7/85c255bfdae91311eb593db8a323809f.jpg","text":"TemporaryFile(/tmp/multipartBody4288409767656085076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591014334,"filename":"image_13062025_05_00_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/7/757b8c9102b8c69b86d176930a70760c.jpg","text":"TemporaryFile(/tmp/multipartBody318133482237863646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591014334,"filename":"image_13062025_04_50_45_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/7/52d1f26ec406c5d66f892869f1c0f562.jpg","text":"TemporaryFile(/tmp/multipartBody6330407421213340273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591014334,"filename":"image_13062025_04_50_14_10252.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375726284","file1":"1375726281","file0":"1375726278","file4":"1375726289","file5":"1375726290","file3":"1375726287"},"map_files_photo_id_array":[{"photo_id":"1375726290","filename":"file5"},{"photo_id":"1375726284","filename":"file2"},{"photo_id":"1375726289","filename":"file4"},{"photo_id":"1375726281","filename":"file1"},{"photo_id":"1375726278","filename":"file0"},{"photo_id":"1375726287","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375726281":["hashtag1","hashtag2"]},{"1375726290":["hashtag1","hashtag2"]},{"1375726284":["hashtag1","hashtag2"]},{"1375726278":["hashtag1","hashtag2"]},{"1375726287":["hashtag1","hashtag2"]},{"1375726289":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375726281, 1375726290, 1375726284, 1375726278, 1375726287, 1375726289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.24685978889465 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:24:03.239547
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/49/image_13062025_04_49_44_10270.jpg', 2), ('/mnt/data/13062025/04/49/image_13062025_04_49_34_10295.jpg', 2), ('/mnt/data/13062025/04/49/image_13062025_04_49_24_9059.jpg', 2), ('/mnt/data/13062025/04/49/image_13062025_04_49_15_10243.jpg', 2), ('/mnt/data/13062025/04/48/image_13062025_04_49_05_10417.jpg', 2), ('/mnt/data/13062025/04/48/image_13062025_04_48_54_10286.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/49/image_13062025_04_49_44_10270.jpg', '/mnt/data/13062025/04/49/image_13062025_04_49_34_10295.jpg', '/mnt/data/13062025/04/49/image_13062025_04_49_24_9059.jpg', '/mnt/data/13062025/04/49/image_13062025_04_49_15_10243.jpg', '/mnt/data/13062025/04/48/image_13062025_04_49_05_10417.jpg', '/mnt/data/13062025/04/48/image_13062025_04_48_54_10286.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/49/image_13062025_04_49_44_10270.jpg', '/mnt/data/13062025/04/49/image_13062025_04_49_34_10295.jpg', '/mnt/data/13062025/04/49/image_13062025_04_49_24_9059.jpg', '/mnt/data/13062025/04/49/image_13062025_04_49_15_10243.jpg', '/mnt/data/13062025/04/48/image_13062025_04_49_05_10417.jpg', '/mnt/data/13062025/04/48/image_13062025_04_48_54_10286.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/49/image_13062025_04_49_44_10270.jpg
/mnt/data/13062025/04/49/image_13062025_04_49_34_10295.jpg
/mnt/data/13062025/04/49/image_13062025_04_49_24_9059.jpg
/mnt/data/13062025/04/49/image_13062025_04_49_15_10243.jpg
/mnt/data/13062025/04/48/image_13062025_04_49_05_10417.jpg
/mnt/data/13062025/04/48/image_13062025_04_48_54_10286.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":["1375726371","1375726379","1375726373","1375726376","1375726381","1375726378"],"photo_ids_order":["1375726371","1375726373","1375726376","1375726378","1375726379","1375726381"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/0d218d9eb8e2becc8aca16197c46bd26.jpg","text":"TemporaryFile(/tmp/multipartBody3581076005998653021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591132522,"filename":"image_13062025_04_49_44_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/7/691f39973baa3eca8621e547f64b6bb7.jpg","text":"TemporaryFile(/tmp/multipartBody3620332390616070097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591132522,"filename":"image_13062025_04_49_05_10417.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/2649743b027ed809bcb718c1678ebb76.jpg","text":"TemporaryFile(/tmp/multipartBody2703352811407235596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591132522,"filename":"image_13062025_04_49_34_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/7/ce5b8652a9791854e1c6ffbd0f82a837.jpg","text":"TemporaryFile(/tmp/multipartBody1149988208460745781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591132522,"filename":"image_13062025_04_49_24_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/7/69b9c8c24586f5f2c2b3c67bc939837a.jpg","text":"TemporaryFile(/tmp/multipartBody2588574068975322043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591132522,"filename":"image_13062025_04_48_54_10286.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/dcf67bf04eb1abd71b6d5dab87ca7e3a.jpg","text":"TemporaryFile(/tmp/multipartBody8062383864524648880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591132522,"filename":"image_13062025_04_49_15_10243.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375726376","file1":"1375726373","file0":"1375726371","file4":"1375726379","file5":"1375726381","file3":"1375726378"},"map_files_photo_id_array":[{"photo_id":"1375726381","filename":"file5"},{"photo_id":"1375726376","filename":"file2"},{"photo_id":"1375726379","filename":"file4"},{"photo_id":"1375726373","filename":"file1"},{"photo_id":"1375726371","filename":"file0"},{"photo_id":"1375726378","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375726371":["hashtag1","hashtag2"]},{"1375726379":["hashtag1","hashtag2"]},{"1375726373":["hashtag1","hashtag2"]},{"1375726376":["hashtag1","hashtag2"]},{"1375726381":["hashtag1","hashtag2"]},{"1375726378":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375726371, 1375726379, 1375726373, 1375726376, 1375726381, 1375726378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.1517391204834 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:26:02.749410
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/48/image_13062025_04_48_24_10582.jpg', 2), ('/mnt/data/13062025/04/48/image_13062025_04_48_14_9059.jpg', 2), ('/mnt/data/13062025/04/47/image_13062025_04_48_05_10291.jpg', 2), ('/mnt/data/13062025/04/47/image_13062025_04_47_55_10227.jpg', 2), ('/mnt/data/13062025/04/47/image_13062025_04_47_34_10222.jpg', 2), ('/mnt/data/13062025/04/47/image_13062025_04_47_24_8994.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/48/image_13062025_04_48_24_10582.jpg', '/mnt/data/13062025/04/48/image_13062025_04_48_14_9059.jpg', '/mnt/data/13062025/04/47/image_13062025_04_48_05_10291.jpg', '/mnt/data/13062025/04/47/image_13062025_04_47_55_10227.jpg', '/mnt/data/13062025/04/47/image_13062025_04_47_34_10222.jpg', '/mnt/data/13062025/04/47/image_13062025_04_47_24_8994.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/48/image_13062025_04_48_24_10582.jpg', '/mnt/data/13062025/04/48/image_13062025_04_48_14_9059.jpg', '/mnt/data/13062025/04/47/image_13062025_04_48_05_10291.jpg', '/mnt/data/13062025/04/47/image_13062025_04_47_55_10227.jpg', '/mnt/data/13062025/04/47/image_13062025_04_47_34_10222.jpg', '/mnt/data/13062025/04/47/image_13062025_04_47_24_8994.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/48/image_13062025_04_48_24_10582.jpg
/mnt/data/13062025/04/48/image_13062025_04_48_14_9059.jpg
/mnt/data/13062025/04/47/image_13062025_04_48_05_10291.jpg
/mnt/data/13062025/04/47/image_13062025_04_47_55_10227.jpg
/mnt/data/13062025/04/47/image_13062025_04_47_34_10222.jpg
/mnt/data/13062025/04/47/image_13062025_04_47_24_8994.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":["1375726621","1375726702","1375726659","1375726704","1375726697","1375726699"],"photo_ids_order":["1375726621","1375726659","1375726697","1375726699","1375726702","1375726704"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/42e8edf214d5326e25a007e797aa1edf.jpg","text":"TemporaryFile(/tmp/multipartBody697324347181739637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591249071,"filename":"image_13062025_04_48_24_10582.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/cb1b049575623a80c41e86e68e6aea80.jpg","text":"TemporaryFile(/tmp/multipartBody1187055509691441957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591249071,"filename":"image_13062025_04_47_34_10222.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/b49623884076e410294c058c9f3e79cb.jpg","text":"TemporaryFile(/tmp/multipartBody300128534814784450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591249071,"filename":"image_13062025_04_48_14_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/7/325fbac34772ba2fe69ee89712a2bf3b.jpg","text":"TemporaryFile(/tmp/multipartBody5384458130504899409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591249071,"filename":"image_13062025_04_47_24_8994.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/2d5d91515b030026a744ee7a875c0cbf.jpg","text":"TemporaryFile(/tmp/multipartBody2386922498742207288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591249071,"filename":"image_13062025_04_48_05_10291.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/32a6660c08d9de52d10fbe547c4cb236.jpg","text":"TemporaryFile(/tmp/multipartBody2102111151392099270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591249071,"filename":"image_13062025_04_47_55_10227.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375726697","file1":"1375726659","file0":"1375726621","file4":"1375726702","file5":"1375726704","file3":"1375726699"},"map_files_photo_id_array":[{"photo_id":"1375726704","filename":"file5"},{"photo_id":"1375726697","filename":"file2"},{"photo_id":"1375726702","filename":"file4"},{"photo_id":"1375726659","filename":"file1"},{"photo_id":"1375726621","filename":"file0"},{"photo_id":"1375726699","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375726621":["hashtag1","hashtag2"]},{"1375726702":["hashtag1","hashtag2"]},{"1375726659":["hashtag1","hashtag2"]},{"1375726704":["hashtag1","hashtag2"]},{"1375726697":["hashtag1","hashtag2"]},{"1375726699":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375726621, 1375726702, 1375726659, 1375726704, 1375726697, 1375726699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.51130151748657 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:28:02.794054
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/46/image_13062025_04_47_05_10275.jpg', 2), ('/mnt/data/13062025/04/46/image_13062025_04_46_54_10231.jpg', 2), ('/mnt/data/13062025/04/46/image_13062025_04_46_44_10260.jpg', 2), ('/mnt/data/13062025/04/46/image_13062025_04_46_34_9055.jpg', 2), ('/mnt/data/13062025/04/46/image_13062025_04_46_25_10309.jpg', 2), ('/mnt/data/13062025/04/46/image_13062025_04_46_14_10267.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/46/image_13062025_04_47_05_10275.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_54_10231.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_44_10260.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_34_9055.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_25_10309.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_14_10267.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/46/image_13062025_04_47_05_10275.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_54_10231.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_44_10260.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_34_9055.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_25_10309.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_14_10267.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/46/image_13062025_04_47_05_10275.jpg
/mnt/data/13062025/04/46/image_13062025_04_46_54_10231.jpg
/mnt/data/13062025/04/46/image_13062025_04_46_44_10260.jpg
/mnt/data/13062025/04/46/image_13062025_04_46_34_9055.jpg
/mnt/data/13062025/04/46/image_13062025_04_46_25_10309.jpg
/mnt/data/13062025/04/46/image_13062025_04_46_14_10267.jpg
uploaded 0 photos
time to upload: 30.45453143119812 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:29:02.971034
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/46/image_13062025_04_47_05_10275.jpg', 2), ('/mnt/data/13062025/04/46/image_13062025_04_46_54_10231.jpg', 2), ('/mnt/data/13062025/04/46/image_13062025_04_46_44_10260.jpg', 2), ('/mnt/data/13062025/04/46/image_13062025_04_46_34_9055.jpg', 2), ('/mnt/data/13062025/04/46/image_13062025_04_46_25_10309.jpg', 2), ('/mnt/data/13062025/04/46/image_13062025_04_46_14_10267.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/46/image_13062025_04_47_05_10275.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_54_10231.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_44_10260.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_34_9055.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_25_10309.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_14_10267.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/46/image_13062025_04_47_05_10275.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_54_10231.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_44_10260.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_34_9055.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_25_10309.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_14_10267.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/46/image_13062025_04_47_05_10275.jpg
/mnt/data/13062025/04/46/image_13062025_04_46_54_10231.jpg
/mnt/data/13062025/04/46/image_13062025_04_46_44_10260.jpg
/mnt/data/13062025/04/46/image_13062025_04_46_34_9055.jpg
/mnt/data/13062025/04/46/image_13062025_04_46_25_10309.jpg
/mnt/data/13062025/04/46/image_13062025_04_46_14_10267.jpg
uploaded 0 photos
time to upload: 30.369861602783203 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:30:02.693651
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/46/image_13062025_04_47_05_10275.jpg', 2), ('/mnt/data/13062025/04/46/image_13062025_04_46_54_10231.jpg', 2), ('/mnt/data/13062025/04/46/image_13062025_04_46_44_10260.jpg', 2), ('/mnt/data/13062025/04/46/image_13062025_04_46_34_9055.jpg', 2), ('/mnt/data/13062025/04/46/image_13062025_04_46_25_10309.jpg', 2), ('/mnt/data/13062025/04/46/image_13062025_04_46_14_10267.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/46/image_13062025_04_47_05_10275.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_54_10231.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_44_10260.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_34_9055.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_25_10309.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_14_10267.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/46/image_13062025_04_47_05_10275.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_54_10231.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_44_10260.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_34_9055.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_25_10309.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_14_10267.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/46/image_13062025_04_47_05_10275.jpg
/mnt/data/13062025/04/46/image_13062025_04_46_54_10231.jpg
/mnt/data/13062025/04/46/image_13062025_04_46_44_10260.jpg
/mnt/data/13062025/04/46/image_13062025_04_46_34_9055.jpg
/mnt/data/13062025/04/46/image_13062025_04_46_25_10309.jpg
/mnt/data/13062025/04/46/image_13062025_04_46_14_10267.jpg
uploaded 0 photos
time to upload: 30.367149591445923 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:31:02.769227
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/46/image_13062025_04_47_05_10275.jpg', 2), ('/mnt/data/13062025/04/46/image_13062025_04_46_54_10231.jpg', 2), ('/mnt/data/13062025/04/46/image_13062025_04_46_44_10260.jpg', 2), ('/mnt/data/13062025/04/46/image_13062025_04_46_34_9055.jpg', 2), ('/mnt/data/13062025/04/46/image_13062025_04_46_25_10309.jpg', 2), ('/mnt/data/13062025/04/46/image_13062025_04_46_14_10267.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/46/image_13062025_04_47_05_10275.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_54_10231.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_44_10260.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_34_9055.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_25_10309.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_14_10267.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/46/image_13062025_04_47_05_10275.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_54_10231.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_44_10260.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_34_9055.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_25_10309.jpg', '/mnt/data/13062025/04/46/image_13062025_04_46_14_10267.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/46/image_13062025_04_47_05_10275.jpg
/mnt/data/13062025/04/46/image_13062025_04_46_54_10231.jpg
/mnt/data/13062025/04/46/image_13062025_04_46_44_10260.jpg
/mnt/data/13062025/04/46/image_13062025_04_46_34_9055.jpg
/mnt/data/13062025/04/46/image_13062025_04_46_25_10309.jpg
/mnt/data/13062025/04/46/image_13062025_04_46_14_10267.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":["1375726899","1375726914","1375726905","1375726874","1375726882","1375726876"],"photo_ids_order":["1375726874","1375726876","1375726882","1375726899","1375726905","1375726914"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/a1ba1941b037a367e2bb80766d31db3c.jpg","text":"TemporaryFile(/tmp/multipartBody6108097614073189851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591550566,"filename":"image_13062025_04_46_34_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/7/02e9ac36100bbc5d7dea0f188a87d933.jpg","text":"TemporaryFile(/tmp/multipartBody4434317751501246070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591550566,"filename":"image_13062025_04_46_14_10267.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/dc0f91d2d849c9a72ae73cac1bc1a9ce.jpg","text":"TemporaryFile(/tmp/multipartBody1146741432594194260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591550566,"filename":"image_13062025_04_46_25_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/7/94d455c72ddf0fd934e6d017bbe42efd.jpg","text":"TemporaryFile(/tmp/multipartBody8903920828509519712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591550566,"filename":"image_13062025_04_47_05_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/7/7e9a62dd27c5d26dacfb036aeeaf94c0.jpg","text":"TemporaryFile(/tmp/multipartBody2839714761852391547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591550566,"filename":"image_13062025_04_46_44_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/7/b0bb90c996feb7b63d65373f3d72bb2f.jpg","text":"TemporaryFile(/tmp/multipartBody7367489021190447061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591550566,"filename":"image_13062025_04_46_54_10231.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375726882","file1":"1375726876","file0":"1375726874","file4":"1375726905","file5":"1375726914","file3":"1375726899"},"map_files_photo_id_array":[{"photo_id":"1375726914","filename":"file5"},{"photo_id":"1375726882","filename":"file2"},{"photo_id":"1375726905","filename":"file4"},{"photo_id":"1375726876","filename":"file1"},{"photo_id":"1375726874","filename":"file0"},{"photo_id":"1375726899","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375726899":["hashtag1","hashtag2"]},{"1375726914":["hashtag1","hashtag2"]},{"1375726905":["hashtag1","hashtag2"]},{"1375726874":["hashtag1","hashtag2"]},{"1375726882":["hashtag1","hashtag2"]},{"1375726876":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375726899, 1375726914, 1375726905, 1375726874, 1375726882, 1375726876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.02610564231873 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:33:02.988202
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/45/image_13062025_04_46_04_10524.jpg', 2), ('/mnt/data/13062025/04/45/image_13062025_04_45_54_9039.jpg', 2), ('/mnt/data/13062025/04/45/image_13062025_04_45_45_10242.jpg', 2), ('/mnt/data/13062025/04/45/image_13062025_04_45_34_10342.jpg', 2), ('/mnt/data/13062025/04/45/image_13062025_04_45_24_10361.jpg', 2), ('/mnt/data/13062025/04/45/image_13062025_04_45_14_9106.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/45/image_13062025_04_46_04_10524.jpg', '/mnt/data/13062025/04/45/image_13062025_04_45_54_9039.jpg', '/mnt/data/13062025/04/45/image_13062025_04_45_45_10242.jpg', '/mnt/data/13062025/04/45/image_13062025_04_45_34_10342.jpg', '/mnt/data/13062025/04/45/image_13062025_04_45_24_10361.jpg', '/mnt/data/13062025/04/45/image_13062025_04_45_14_9106.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/45/image_13062025_04_46_04_10524.jpg', '/mnt/data/13062025/04/45/image_13062025_04_45_54_9039.jpg', '/mnt/data/13062025/04/45/image_13062025_04_45_45_10242.jpg', '/mnt/data/13062025/04/45/image_13062025_04_45_34_10342.jpg', '/mnt/data/13062025/04/45/image_13062025_04_45_24_10361.jpg', '/mnt/data/13062025/04/45/image_13062025_04_45_14_9106.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/45/image_13062025_04_46_04_10524.jpg
/mnt/data/13062025/04/45/image_13062025_04_45_54_9039.jpg
/mnt/data/13062025/04/45/image_13062025_04_45_45_10242.jpg
/mnt/data/13062025/04/45/image_13062025_04_45_34_10342.jpg
/mnt/data/13062025/04/45/image_13062025_04_45_24_10361.jpg
/mnt/data/13062025/04/45/image_13062025_04_45_14_9106.jpg
uploaded 0 photos
time to upload: 30.476146697998047 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:34:03.465207
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/45/image_13062025_04_46_04_10524.jpg', 2), ('/mnt/data/13062025/04/45/image_13062025_04_45_54_9039.jpg', 2), ('/mnt/data/13062025/04/45/image_13062025_04_45_45_10242.jpg', 2), ('/mnt/data/13062025/04/45/image_13062025_04_45_34_10342.jpg', 2), ('/mnt/data/13062025/04/45/image_13062025_04_45_24_10361.jpg', 2), ('/mnt/data/13062025/04/45/image_13062025_04_45_14_9106.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/45/image_13062025_04_46_04_10524.jpg', '/mnt/data/13062025/04/45/image_13062025_04_45_54_9039.jpg', '/mnt/data/13062025/04/45/image_13062025_04_45_45_10242.jpg', '/mnt/data/13062025/04/45/image_13062025_04_45_34_10342.jpg', '/mnt/data/13062025/04/45/image_13062025_04_45_24_10361.jpg', '/mnt/data/13062025/04/45/image_13062025_04_45_14_9106.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/45/image_13062025_04_46_04_10524.jpg', '/mnt/data/13062025/04/45/image_13062025_04_45_54_9039.jpg', '/mnt/data/13062025/04/45/image_13062025_04_45_45_10242.jpg', '/mnt/data/13062025/04/45/image_13062025_04_45_34_10342.jpg', '/mnt/data/13062025/04/45/image_13062025_04_45_24_10361.jpg', '/mnt/data/13062025/04/45/image_13062025_04_45_14_9106.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/45/image_13062025_04_46_04_10524.jpg
/mnt/data/13062025/04/45/image_13062025_04_45_54_9039.jpg
/mnt/data/13062025/04/45/image_13062025_04_45_45_10242.jpg
/mnt/data/13062025/04/45/image_13062025_04_45_34_10342.jpg
/mnt/data/13062025/04/45/image_13062025_04_45_24_10361.jpg
/mnt/data/13062025/04/45/image_13062025_04_45_14_9106.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":["1375726998","1375727006","1375727000","1375727003","1375726999","1375727008"],"photo_ids_order":["1375726998","1375726999","1375727000","1375727003","1375727006","1375727008"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/0627fdf85a303990898478a29aef7abd.jpg","text":"TemporaryFile(/tmp/multipartBody6882228192695111874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591731616,"filename":"image_13062025_04_46_04_10524.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/28011319850a0dc33909aa1d1467f250.jpg","text":"TemporaryFile(/tmp/multipartBody5664420553495805834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591731616,"filename":"image_13062025_04_45_24_10361.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/81d074d0aa7c51f77d7f6219b2d2d50c.jpg","text":"TemporaryFile(/tmp/multipartBody6406953466425927498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591731616,"filename":"image_13062025_04_45_45_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/7/883fca063463b5cfa7307a33fec64cc9.jpg","text":"TemporaryFile(/tmp/multipartBody5786749019645283298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591731616,"filename":"image_13062025_04_45_34_10342.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/9d246aff1d339bb86b789f4752840ba5.jpg","text":"TemporaryFile(/tmp/multipartBody7386335285126966314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591731616,"filename":"image_13062025_04_45_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/7/239b4df9fe165cf6f310d7af0d3055af.jpg","text":"TemporaryFile(/tmp/multipartBody3958844928813046902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754591731616,"filename":"image_13062025_04_45_14_9106.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375727000","file1":"1375726999","file0":"1375726998","file4":"1375727006","file5":"1375727008","file3":"1375727003"},"map_files_photo_id_array":[{"photo_id":"1375727008","filename":"file5"},{"photo_id":"1375727000","filename":"file2"},{"photo_id":"1375727006","filename":"file4"},{"photo_id":"1375726999","filename":"file1"},{"photo_id":"1375726998","filename":"file0"},{"photo_id":"1375727003","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375726998":["hashtag1","hashtag2"]},{"1375727006":["hashtag1","hashtag2"]},{"1375727000":["hashtag1","hashtag2"]},{"1375727003":["hashtag1","hashtag2"]},{"1375726999":["hashtag1","hashtag2"]},{"1375727008":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375726998, 1375727006, 1375727000, 1375727003, 1375726999, 1375727008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.27374339103699 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:36:02.629836
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.465595483779907 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:37:02.670365
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.394197702407837 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:38:03.365938
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.382851362228394 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:39:03.318568
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.37905502319336 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:40:02.979604
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.377230405807495 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:41:02.862698
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.38262438774109 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:42:02.692215
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.37938117980957 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:43:02.844422
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 20.476425886154175 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-07 20:44:02.484766
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.37588858604431 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:45:03.434783
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.39315629005432 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:46:02.484532
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.379934072494507 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:47:03.603213
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.381641149520874 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:48:03.261822
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.386500120162964 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:49:03.392216
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.396663904190063 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:50:02.996523
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.383489847183228 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:51:03.026474
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.39480686187744 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:52:03.491185
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.373162269592285 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:53:03.437001
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.409170627593994 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:54:03.256718
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.37540602684021 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:55:03.182533
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.387014150619507 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:56:02.856255
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.372495651245117 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:57:02.886083
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.416252374649048 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 20:59:03.388899
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.41459894180298 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:00:03.047687
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.36893105506897 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:01:03.093621
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.46365189552307 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:02:02.939396
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.3729887008667 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:03:02.996049
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.356037855148315 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:04:02.592452
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.37128448486328 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:05:02.699770
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg
uploaded 0 photos
time to upload: 30.392777919769287 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:06:03.357001
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', 2), ('/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg', '/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg', '/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/44/image_13062025_04_45_05_10389.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_54_10299.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_44_9063.jpg
/mnt/data/13062025/04/44/image_13062025_04_44_14_10263.jpg
/mnt/data/13062025/04/43/image_13062025_04_44_04_9209.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_55_10276.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":["1375733694","1375733679","1375733672","1375733684","1375733692","1375733668"],"photo_ids_order":["1375733668","1375733672","1375733679","1375733684","1375733692","1375733694"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/9254c54cbe0ef4b5dc5a755aaf33dd60.jpg","text":"TemporaryFile(/tmp/multipartBody2598030494927323840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754593648269,"filename":"image_13062025_04_43_55_10276.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/9b1d5bf905a986b07f1b7ebdc8dd09f0.jpg","text":"TemporaryFile(/tmp/multipartBody5488765440664065394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754593648269,"filename":"image_13062025_04_44_44_9063.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/3c29f4620172a8f62125c05a0d451fb7.jpg","text":"TemporaryFile(/tmp/multipartBody1727968702574462852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754593648269,"filename":"image_13062025_04_44_54_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/7/52c0c4d79d249c2f37f6d604dea15887.jpg","text":"TemporaryFile(/tmp/multipartBody832044158757482489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754593648269,"filename":"image_13062025_04_44_14_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/7/eeecf62c0d72f68309a2e972324467d8.jpg","text":"TemporaryFile(/tmp/multipartBody5443732865211879291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754593648269,"filename":"image_13062025_04_44_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/7/7d146b475c077cb891634455389eea0a.jpg","text":"TemporaryFile(/tmp/multipartBody4540537606155513608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754593648269,"filename":"image_13062025_04_45_05_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375733679","file1":"1375733672","file0":"1375733668","file4":"1375733692","file5":"1375733694","file3":"1375733684"},"map_files_photo_id_array":[{"photo_id":"1375733694","filename":"file5"},{"photo_id":"1375733679","filename":"file2"},{"photo_id":"1375733692","filename":"file4"},{"photo_id":"1375733672","filename":"file1"},{"photo_id":"1375733668","filename":"file0"},{"photo_id":"1375733684","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375733694":["hashtag1","hashtag2"]},{"1375733679":["hashtag1","hashtag2"]},{"1375733672":["hashtag1","hashtag2"]},{"1375733684":["hashtag1","hashtag2"]},{"1375733692":["hashtag1","hashtag2"]},{"1375733668":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375733694, 1375733679, 1375733672, 1375733684, 1375733692, 1375733668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.0594413280487 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:08:02.698614
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg
/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg
uploaded 0 photos
time to upload: 30.45424199104309 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:09:03.791389
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg
/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg
uploaded 0 photos
time to upload: 30.36867642402649 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:10:03.215394
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg
/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg
uploaded 0 photos
time to upload: 30.384265422821045 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:11:03.306762
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg
/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg
uploaded 0 photos
time to upload: 30.37278914451599 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:12:02.953409
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg
/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg
uploaded 0 photos
time to upload: 30.3836030960083 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:13:03.024081
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg
/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg
uploaded 0 photos
time to upload: 19.68049168586731 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-07 21:14:03.156084
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg
/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg
uploaded 0 photos
time to upload: 30.380431175231934 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:15:02.942342
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg
/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg
uploaded 0 photos
time to upload: 30.3744056224823 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:16:02.727785
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg
/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg
uploaded 0 photos
time to upload: 30.38127851486206 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:17:02.842376
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg
/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg
uploaded 0 photos
time to upload: 30.397987842559814 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:18:02.596545
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg
/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg
uploaded 0 photos
time to upload: 30.36718988418579 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:19:02.649502
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg
/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg
uploaded 0 photos
time to upload: 30.367518424987793 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:20:03.180582
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg
/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg
uploaded 0 photos
time to upload: 30.35636854171753 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:21:03.233721
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg
/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg
uploaded 0 photos
time to upload: 30.3546404838562 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:22:02.529394
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg
/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg
uploaded 0 photos
time to upload: 30.371105670928955 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:23:02.972178
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg
/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg
uploaded 0 photos
time to upload: 30.37928819656372 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:24:03.474655
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg
/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 137.73510193824768 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-07 21:27:02.732314
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg
/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg
 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-07 21:29:03.461520
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg
/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg
uploaded 0 photos
time to upload: 30.407228231430054 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:30:02.603380
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', 2), ('/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg', '/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg', '/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/43/image_13062025_04_43_45_10227.jpg
/mnt/data/13062025/04/43/image_13062025_04_43_24_10215.jpg
/mnt/data/13062025/04/42/image_13062025_04_43_04_9025.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_55_10228.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_44_10221.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_34_10226.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":["1375735953","1375735955","1375735940","1375735945","1375735948","1375735950"],"photo_ids_order":["1375735940","1375735945","1375735948","1375735950","1375735953","1375735955"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/30e8fb43293c562b59041978271f71ef.jpg","text":"TemporaryFile(/tmp/multipartBody1349641375415961300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754595089463,"filename":"image_13062025_04_42_44_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/7/6f426dc71b1a2cc740172a287301b5bc.jpg","text":"TemporaryFile(/tmp/multipartBody5174556749610023823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754595089463,"filename":"image_13062025_04_42_34_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/7/161441b03ee75479039a770489a0a2d9.jpg","text":"TemporaryFile(/tmp/multipartBody1474149783120082797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754595089463,"filename":"image_13062025_04_43_45_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/7/4e2fdb5fc39a20337d7f6385b5bfa6d6.jpg","text":"TemporaryFile(/tmp/multipartBody4310867382305679716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754595089463,"filename":"image_13062025_04_43_24_10215.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/85afc84cca21b2fbdc1f14eb72f9c8c4.jpg","text":"TemporaryFile(/tmp/multipartBody6910350372012323061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754595089463,"filename":"image_13062025_04_43_04_9025.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/519580c79e1d2a552961ac52c41e47de.jpg","text":"TemporaryFile(/tmp/multipartBody7520476720560148745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754595089463,"filename":"image_13062025_04_42_55_10228.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375735948","file1":"1375735945","file0":"1375735940","file4":"1375735953","file5":"1375735955","file3":"1375735950"},"map_files_photo_id_array":[{"photo_id":"1375735955","filename":"file5"},{"photo_id":"1375735948","filename":"file2"},{"photo_id":"1375735953","filename":"file4"},{"photo_id":"1375735945","filename":"file1"},{"photo_id":"1375735940","filename":"file0"},{"photo_id":"1375735950","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375735953":["hashtag1","hashtag2"]},{"1375735955":["hashtag1","hashtag2"]},{"1375735940":["hashtag1","hashtag2"]},{"1375735945":["hashtag1","hashtag2"]},{"1375735948":["hashtag1","hashtag2"]},{"1375735950":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375735953, 1375735955, 1375735940, 1375735945, 1375735948, 1375735950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.45091366767883 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:32:02.741456
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/42/image_13062025_04_42_24_10245.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_14_9017.jpg', 2), ('/mnt/data/13062025/04/41/image_13062025_04_41_54_10232.jpg', 2), ('/mnt/data/13062025/04/41/image_13062025_04_41_25_10237.jpg', 2), ('/mnt/data/13062025/04/41/image_13062025_04_41_15_10258.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_41_04_10543.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/42/image_13062025_04_42_24_10245.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_14_9017.jpg', '/mnt/data/13062025/04/41/image_13062025_04_41_54_10232.jpg', '/mnt/data/13062025/04/41/image_13062025_04_41_25_10237.jpg', '/mnt/data/13062025/04/41/image_13062025_04_41_15_10258.jpg', '/mnt/data/13062025/04/40/image_13062025_04_41_04_10543.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/42/image_13062025_04_42_24_10245.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_14_9017.jpg', '/mnt/data/13062025/04/41/image_13062025_04_41_54_10232.jpg', '/mnt/data/13062025/04/41/image_13062025_04_41_25_10237.jpg', '/mnt/data/13062025/04/41/image_13062025_04_41_15_10258.jpg', '/mnt/data/13062025/04/40/image_13062025_04_41_04_10543.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/42/image_13062025_04_42_24_10245.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_14_9017.jpg
/mnt/data/13062025/04/41/image_13062025_04_41_54_10232.jpg
/mnt/data/13062025/04/41/image_13062025_04_41_25_10237.jpg
/mnt/data/13062025/04/41/image_13062025_04_41_15_10258.jpg
/mnt/data/13062025/04/40/image_13062025_04_41_04_10543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 140.24032306671143 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-07 21:35:03.286610
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/42/image_13062025_04_42_24_10245.jpg', 2), ('/mnt/data/13062025/04/42/image_13062025_04_42_14_9017.jpg', 2), ('/mnt/data/13062025/04/41/image_13062025_04_41_54_10232.jpg', 2), ('/mnt/data/13062025/04/41/image_13062025_04_41_25_10237.jpg', 2), ('/mnt/data/13062025/04/41/image_13062025_04_41_15_10258.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_41_04_10543.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/42/image_13062025_04_42_24_10245.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_14_9017.jpg', '/mnt/data/13062025/04/41/image_13062025_04_41_54_10232.jpg', '/mnt/data/13062025/04/41/image_13062025_04_41_25_10237.jpg', '/mnt/data/13062025/04/41/image_13062025_04_41_15_10258.jpg', '/mnt/data/13062025/04/40/image_13062025_04_41_04_10543.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/42/image_13062025_04_42_24_10245.jpg', '/mnt/data/13062025/04/42/image_13062025_04_42_14_9017.jpg', '/mnt/data/13062025/04/41/image_13062025_04_41_54_10232.jpg', '/mnt/data/13062025/04/41/image_13062025_04_41_25_10237.jpg', '/mnt/data/13062025/04/41/image_13062025_04_41_15_10258.jpg', '/mnt/data/13062025/04/40/image_13062025_04_41_04_10543.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/42/image_13062025_04_42_24_10245.jpg
/mnt/data/13062025/04/42/image_13062025_04_42_14_9017.jpg
/mnt/data/13062025/04/41/image_13062025_04_41_54_10232.jpg
/mnt/data/13062025/04/41/image_13062025_04_41_25_10237.jpg
/mnt/data/13062025/04/41/image_13062025_04_41_15_10258.jpg
/mnt/data/13062025/04/40/image_13062025_04_41_04_10543.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":["1375736901","1375736893","1375736896","1375736905","1375736908","1375736898"],"photo_ids_order":["1375736893","1375736896","1375736898","1375736901","1375736905","1375736908"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/0a39b436b53837a70d2e4e343f7b56bf.jpg","text":"TemporaryFile(/tmp/multipartBody1905387970847658013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754595384200,"filename":"image_13062025_04_41_25_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/7/7d30781c60c92c72ab89a939e499ba51.jpg","text":"TemporaryFile(/tmp/multipartBody2861228559400210090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754595384200,"filename":"image_13062025_04_42_24_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/7/df2ed810a30434fca0b528a74ab6180a.jpg","text":"TemporaryFile(/tmp/multipartBody1239481634286256624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754595384200,"filename":"image_13062025_04_42_14_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/7/25a0f39f0d3c09d62bd440eb613fb74b.jpg","text":"TemporaryFile(/tmp/multipartBody7362557468231379672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754595384200,"filename":"image_13062025_04_41_15_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/7/478f5103aac661ab091f6fbb6c54ba21.jpg","text":"TemporaryFile(/tmp/multipartBody3151212548171980693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754595384200,"filename":"image_13062025_04_41_04_10543.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/2c686505189a28452572fdc6d22bf744.jpg","text":"TemporaryFile(/tmp/multipartBody1783092554593525628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754595384200,"filename":"image_13062025_04_41_54_10232.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375736898","file1":"1375736896","file0":"1375736893","file4":"1375736905","file5":"1375736908","file3":"1375736901"},"map_files_photo_id_array":[{"photo_id":"1375736908","filename":"file5"},{"photo_id":"1375736898","filename":"file2"},{"photo_id":"1375736905","filename":"file4"},{"photo_id":"1375736896","filename":"file1"},{"photo_id":"1375736893","filename":"file0"},{"photo_id":"1375736901","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375736901":["hashtag1","hashtag2"]},{"1375736893":["hashtag1","hashtag2"]},{"1375736896":["hashtag1","hashtag2"]},{"1375736905":["hashtag1","hashtag2"]},{"1375736908":["hashtag1","hashtag2"]},{"1375736898":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375736901, 1375736893, 1375736896, 1375736905, 1375736908, 1375736898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.76067352294922 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:37:02.900736
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg
uploaded 0 photos
time to upload: 14.6400785446167 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-07 21:38:02.471893
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg
uploaded 0 photos
time to upload: 30.364727020263672 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:39:02.679222
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg
uploaded 0 photos
time to upload: 30.38910746574402 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:40:03.261688
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg
uploaded 0 photos
time to upload: 30.359697341918945 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:41:03.372400
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg
uploaded 0 photos
time to upload: 30.377986192703247 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:42:03.081317
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg
uploaded 0 photos
time to upload: 30.394329071044922 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:43:03.073186
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg
uploaded 0 photos
time to upload: 30.375333786010742 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:44:02.654722
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg
uploaded 0 photos
time to upload: 30.362146377563477 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:45:02.502429
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg
uploaded 0 photos
time to upload: 30.386996746063232 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:46:03.321414
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg
uploaded 0 photos
time to upload: 30.36352515220642 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:47:03.368513
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg
uploaded 0 photos
time to upload: 13.406170845031738 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-07 21:48:03.017313
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg
uploaded 0 photos
time to upload: 30.372179746627808 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:49:03.257688
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', 2), ('/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', 2), ('/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg', '/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg', '/mnt/data/13062025/04/35/image_13062025_04_35_24_10164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/40/image_13062025_04_40_54_9018.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_45_10289.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_24_10305.jpg
/mnt/data/13062025/04/40/image_13062025_04_40_14_9056.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_34_10166.jpg
/mnt/data/13062025/04/35/image_13062025_04_35_24_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":["1375737895","1375737882","1375737885","1375737879","1375737888","1375737906"],"photo_ids_order":["1375737879","1375737882","1375737885","1375737888","1375737895","1375737906"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/986cd240dd660f046e31eda8a5794e6e.jpg","text":"TemporaryFile(/tmp/multipartBody4463277563896760353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596224154,"filename":"image_13062025_04_35_34_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/7/c8e4a5f207f7e4749876eb43602d9ff1.jpg","text":"TemporaryFile(/tmp/multipartBody8157574217319189597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596224154,"filename":"image_13062025_04_40_45_10289.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/8b49ce4d90959423a67df9d37c7db728.jpg","text":"TemporaryFile(/tmp/multipartBody1200018444371036017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596224154,"filename":"image_13062025_04_40_24_10305.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/3a2ab99a9c3674d4df74bc70d65195f6.jpg","text":"TemporaryFile(/tmp/multipartBody2785390039246954422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596224154,"filename":"image_13062025_04_40_54_9018.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/30c7dd6facff2ba88941584189677344.jpg","text":"TemporaryFile(/tmp/multipartBody2823603323468039935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596224154,"filename":"image_13062025_04_40_14_9056.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/46ec86285a3b83f572a6fa5f3b0e0502.jpg","text":"TemporaryFile(/tmp/multipartBody5104717531625709895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596224154,"filename":"image_13062025_04_35_24_10164.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375737885","file1":"1375737882","file0":"1375737879","file4":"1375737895","file5":"1375737906","file3":"1375737888"},"map_files_photo_id_array":[{"photo_id":"1375737906","filename":"file5"},{"photo_id":"1375737885","filename":"file2"},{"photo_id":"1375737895","filename":"file4"},{"photo_id":"1375737882","filename":"file1"},{"photo_id":"1375737879","filename":"file0"},{"photo_id":"1375737888","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375737895":["hashtag1","hashtag2"]},{"1375737882":["hashtag1","hashtag2"]},{"1375737885":["hashtag1","hashtag2"]},{"1375737879":["hashtag1","hashtag2"]},{"1375737888":["hashtag1","hashtag2"]},{"1375737906":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375737895, 1375737882, 1375737885, 1375737879, 1375737888, 1375737906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.39722561836243 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:51:02.715500
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/34/image_13062025_04_34_45_10160.jpg', 2), ('/mnt/data/13062025/04/13/image_13062025_04_13_55_10128.jpg', 2), ('/mnt/data/13062025/04/12/image_13062025_04_13_05_10175.jpg', 2), ('/mnt/data/13062025/04/12/image_13062025_04_12_54_10219.jpg', 2), ('/mnt/data/13062025/04/12/image_13062025_04_12_44_10277.jpg', 2), ('/mnt/data/13062025/04/12/image_13062025_04_12_34_10056.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/34/image_13062025_04_34_45_10160.jpg', '/mnt/data/13062025/04/13/image_13062025_04_13_55_10128.jpg', '/mnt/data/13062025/04/12/image_13062025_04_13_05_10175.jpg', '/mnt/data/13062025/04/12/image_13062025_04_12_54_10219.jpg', '/mnt/data/13062025/04/12/image_13062025_04_12_44_10277.jpg', '/mnt/data/13062025/04/12/image_13062025_04_12_34_10056.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/34/image_13062025_04_34_45_10160.jpg', '/mnt/data/13062025/04/13/image_13062025_04_13_55_10128.jpg', '/mnt/data/13062025/04/12/image_13062025_04_13_05_10175.jpg', '/mnt/data/13062025/04/12/image_13062025_04_12_54_10219.jpg', '/mnt/data/13062025/04/12/image_13062025_04_12_44_10277.jpg', '/mnt/data/13062025/04/12/image_13062025_04_12_34_10056.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/34/image_13062025_04_34_45_10160.jpg
/mnt/data/13062025/04/13/image_13062025_04_13_55_10128.jpg
/mnt/data/13062025/04/12/image_13062025_04_13_05_10175.jpg
/mnt/data/13062025/04/12/image_13062025_04_12_54_10219.jpg
/mnt/data/13062025/04/12/image_13062025_04_12_44_10277.jpg
/mnt/data/13062025/04/12/image_13062025_04_12_34_10056.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":["1375738006","1375738032","1375738073","1375738076","1375738070","1375738043"],"photo_ids_order":["1375738006","1375738032","1375738043","1375738070","1375738073","1375738076"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/e2fe4adb0421de3826dd15aef55205a1.jpg","text":"TemporaryFile(/tmp/multipartBody773347650796511882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596345061,"filename":"image_13062025_04_34_45_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/7/bcea1ee2531047fc1e6d402703639b1c.jpg","text":"TemporaryFile(/tmp/multipartBody2038793021228143701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596345061,"filename":"image_13062025_04_13_55_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/7/957170d1d23f435a565ad10d1b811533.jpg","text":"TemporaryFile(/tmp/multipartBody7685255655248171968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596345061,"filename":"image_13062025_04_12_44_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/7/22cdca2b2ea44cb74ba386ea2dbf7d2e.jpg","text":"TemporaryFile(/tmp/multipartBody8045306474179434164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596345061,"filename":"image_13062025_04_12_34_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/7/40c38882346ef8fc45b11bbe35c3a3c8.jpg","text":"TemporaryFile(/tmp/multipartBody7952537522864155035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596345061,"filename":"image_13062025_04_12_54_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/7/a280dce000aee40f9edc4bf4ac90f9f1.jpg","text":"TemporaryFile(/tmp/multipartBody4014945966036357009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596345061,"filename":"image_13062025_04_13_05_10175.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375738043","file1":"1375738032","file0":"1375738006","file4":"1375738073","file5":"1375738076","file3":"1375738070"},"map_files_photo_id_array":[{"photo_id":"1375738076","filename":"file5"},{"photo_id":"1375738043","filename":"file2"},{"photo_id":"1375738073","filename":"file4"},{"photo_id":"1375738032","filename":"file1"},{"photo_id":"1375738006","filename":"file0"},{"photo_id":"1375738070","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375738006":["hashtag1","hashtag2"]},{"1375738032":["hashtag1","hashtag2"]},{"1375738073":["hashtag1","hashtag2"]},{"1375738076":["hashtag1","hashtag2"]},{"1375738070":["hashtag1","hashtag2"]},{"1375738043":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375738006, 1375738032, 1375738073, 1375738076, 1375738070, 1375738043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.142934799194336 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:53:03.444562
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/12/image_13062025_04_12_24_9936.jpg', 2), ('/mnt/data/13062025/04/12/image_13062025_04_12_14_10024.jpg', 2), ('/mnt/data/13062025/04/11/image_13062025_04_12_04_9046.jpg', 2), ('/mnt/data/13062025/04/11/image_13062025_04_11_55_9971.jpg', 2), ('/mnt/data/13062025/04/11/image_13062025_04_11_45_11168.jpg', 2), ('/mnt/data/13062025/04/11/image_13062025_04_11_34_9962.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/12/image_13062025_04_12_24_9936.jpg', '/mnt/data/13062025/04/12/image_13062025_04_12_14_10024.jpg', '/mnt/data/13062025/04/11/image_13062025_04_12_04_9046.jpg', '/mnt/data/13062025/04/11/image_13062025_04_11_55_9971.jpg', '/mnt/data/13062025/04/11/image_13062025_04_11_45_11168.jpg', '/mnt/data/13062025/04/11/image_13062025_04_11_34_9962.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/12/image_13062025_04_12_24_9936.jpg', '/mnt/data/13062025/04/12/image_13062025_04_12_14_10024.jpg', '/mnt/data/13062025/04/11/image_13062025_04_12_04_9046.jpg', '/mnt/data/13062025/04/11/image_13062025_04_11_55_9971.jpg', '/mnt/data/13062025/04/11/image_13062025_04_11_45_11168.jpg', '/mnt/data/13062025/04/11/image_13062025_04_11_34_9962.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/12/image_13062025_04_12_24_9936.jpg
/mnt/data/13062025/04/12/image_13062025_04_12_14_10024.jpg
/mnt/data/13062025/04/11/image_13062025_04_12_04_9046.jpg
/mnt/data/13062025/04/11/image_13062025_04_11_55_9971.jpg
/mnt/data/13062025/04/11/image_13062025_04_11_45_11168.jpg
/mnt/data/13062025/04/11/image_13062025_04_11_34_9962.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 134.59716486930847 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-07 21:56:02.470994
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/12/image_13062025_04_12_24_9936.jpg', 2), ('/mnt/data/13062025/04/12/image_13062025_04_12_14_10024.jpg', 2), ('/mnt/data/13062025/04/11/image_13062025_04_12_04_9046.jpg', 2), ('/mnt/data/13062025/04/11/image_13062025_04_11_55_9971.jpg', 2), ('/mnt/data/13062025/04/11/image_13062025_04_11_45_11168.jpg', 2), ('/mnt/data/13062025/04/11/image_13062025_04_11_34_9962.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/12/image_13062025_04_12_24_9936.jpg', '/mnt/data/13062025/04/12/image_13062025_04_12_14_10024.jpg', '/mnt/data/13062025/04/11/image_13062025_04_12_04_9046.jpg', '/mnt/data/13062025/04/11/image_13062025_04_11_55_9971.jpg', '/mnt/data/13062025/04/11/image_13062025_04_11_45_11168.jpg', '/mnt/data/13062025/04/11/image_13062025_04_11_34_9962.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/12/image_13062025_04_12_24_9936.jpg', '/mnt/data/13062025/04/12/image_13062025_04_12_14_10024.jpg', '/mnt/data/13062025/04/11/image_13062025_04_12_04_9046.jpg', '/mnt/data/13062025/04/11/image_13062025_04_11_55_9971.jpg', '/mnt/data/13062025/04/11/image_13062025_04_11_45_11168.jpg', '/mnt/data/13062025/04/11/image_13062025_04_11_34_9962.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/12/image_13062025_04_12_24_9936.jpg
/mnt/data/13062025/04/12/image_13062025_04_12_14_10024.jpg
/mnt/data/13062025/04/11/image_13062025_04_12_04_9046.jpg
/mnt/data/13062025/04/11/image_13062025_04_11_55_9971.jpg
/mnt/data/13062025/04/11/image_13062025_04_11_45_11168.jpg
/mnt/data/13062025/04/11/image_13062025_04_11_34_9962.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":["1375738604","1375738621","1375738612","1375738614","1375738608","1375738617"],"photo_ids_order":["1375738604","1375738608","1375738612","1375738614","1375738617","1375738621"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/ca9e2b3781067b190c51fd8825c7955b.jpg","text":"TemporaryFile(/tmp/multipartBody7552965619434779484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596644236,"filename":"image_13062025_04_12_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/7/af4ca380e0d1a8855be68bb4fedd85c6.jpg","text":"TemporaryFile(/tmp/multipartBody6356311190773136115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596644236,"filename":"image_13062025_04_11_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/7/36f50c401fd22acac4ff09d54c6b66c4.jpg","text":"TemporaryFile(/tmp/multipartBody1362653274765579438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596644236,"filename":"image_13062025_04_12_04_9046.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/44f887991646be2de4b550a5a62dabf2.jpg","text":"TemporaryFile(/tmp/multipartBody6983964384084525859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596644236,"filename":"image_13062025_04_11_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/7/917f7b6ef436f4ed39ee2529f6b7cf5d.jpg","text":"TemporaryFile(/tmp/multipartBody1803649105937938762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596644236,"filename":"image_13062025_04_12_14_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/7/e759f422a6dd91da7dbab532c73c7fff.jpg","text":"TemporaryFile(/tmp/multipartBody2011066685143790072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596644236,"filename":"image_13062025_04_11_45_11168.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375738612","file1":"1375738608","file0":"1375738604","file4":"1375738617","file5":"1375738621","file3":"1375738614"},"map_files_photo_id_array":[{"photo_id":"1375738621","filename":"file5"},{"photo_id":"1375738612","filename":"file2"},{"photo_id":"1375738617","filename":"file4"},{"photo_id":"1375738608","filename":"file1"},{"photo_id":"1375738604","filename":"file0"},{"photo_id":"1375738614","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375738604":["hashtag1","hashtag2"]},{"1375738621":["hashtag1","hashtag2"]},{"1375738612":["hashtag1","hashtag2"]},{"1375738614":["hashtag1","hashtag2"]},{"1375738608":["hashtag1","hashtag2"]},{"1375738617":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375738604, 1375738621, 1375738612, 1375738614, 1375738608, 1375738617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.2556586265564 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 21:59:02.727100
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/11/image_13062025_04_11_24_9967.jpg', 2), ('/mnt/data/13062025/04/11/image_13062025_04_11_14_8953.jpg', 2), ('/mnt/data/13062025/04/10/image_13062025_04_10_54_10089.jpg', 2), ('/mnt/data/13062025/04/10/image_13062025_04_10_44_9990.jpg', 2), ('/mnt/data/13062025/04/10/image_13062025_04_10_34_9962.jpg', 2), ('/mnt/data/13062025/04/10/image_13062025_04_10_24_9998.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/11/image_13062025_04_11_24_9967.jpg', '/mnt/data/13062025/04/11/image_13062025_04_11_14_8953.jpg', '/mnt/data/13062025/04/10/image_13062025_04_10_54_10089.jpg', '/mnt/data/13062025/04/10/image_13062025_04_10_44_9990.jpg', '/mnt/data/13062025/04/10/image_13062025_04_10_34_9962.jpg', '/mnt/data/13062025/04/10/image_13062025_04_10_24_9998.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/11/image_13062025_04_11_24_9967.jpg', '/mnt/data/13062025/04/11/image_13062025_04_11_14_8953.jpg', '/mnt/data/13062025/04/10/image_13062025_04_10_54_10089.jpg', '/mnt/data/13062025/04/10/image_13062025_04_10_44_9990.jpg', '/mnt/data/13062025/04/10/image_13062025_04_10_34_9962.jpg', '/mnt/data/13062025/04/10/image_13062025_04_10_24_9998.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/11/image_13062025_04_11_24_9967.jpg
/mnt/data/13062025/04/11/image_13062025_04_11_14_8953.jpg
/mnt/data/13062025/04/10/image_13062025_04_10_54_10089.jpg
/mnt/data/13062025/04/10/image_13062025_04_10_44_9990.jpg
/mnt/data/13062025/04/10/image_13062025_04_10_34_9962.jpg
/mnt/data/13062025/04/10/image_13062025_04_10_24_9998.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375739183","1375739115","1375739150","1375739051","1375738997","1375739222"],"photo_ids_order":["1375738997","1375739051","1375739115","1375739150","1375739183","1375739222"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/18489e9bd105bf0bbbfdc130cb912c56.jpg","text":"TemporaryFile(/tmp/multipartBody3605395744517229311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596816925,"filename":"image_13062025_04_10_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/7/398be9f7e689ec698fcb291b140265e3.jpg","text":"TemporaryFile(/tmp/multipartBody8100635522146580107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596816925,"filename":"image_13062025_04_10_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/7/bd31e8ae4234b722a87472e24c599356.jpg","text":"TemporaryFile(/tmp/multipartBody5962243595009700323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596816925,"filename":"image_13062025_04_10_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/7/5d2c65c426cc39998a43b16d9ee534c7.jpg","text":"TemporaryFile(/tmp/multipartBody847977111763082518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596816925,"filename":"image_13062025_04_11_14_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/7/d1f1e10b6b9664659f04f9159c40fa0e.jpg","text":"TemporaryFile(/tmp/multipartBody8251886152417711057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596816925,"filename":"image_13062025_04_11_24_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/7/2d323b76b8550adce9268991e821bae4.jpg","text":"TemporaryFile(/tmp/multipartBody8988456602692231119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596816925,"filename":"image_13062025_04_10_24_9998.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375739115","file1":"1375739051","file0":"1375738997","file4":"1375739183","file5":"1375739222","file3":"1375739150"},"map_files_photo_id_array":[{"photo_id":"1375739222","filename":"file5"},{"photo_id":"1375739115","filename":"file2"},{"photo_id":"1375739183","filename":"file4"},{"photo_id":"1375739051","filename":"file1"},{"photo_id":"1375738997","filename":"file0"},{"photo_id":"1375739150","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375739183":["hashtag1","hashtag2"]},{"1375739115":["hashtag1","hashtag2"]},{"1375739150":["hashtag1","hashtag2"]},{"1375739051":["hashtag1","hashtag2"]},{"1375738997":["hashtag1","hashtag2"]},{"1375739222":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375739183, 1375739115, 1375739150, 1375739051, 1375738997, 1375739222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.60210156440735 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:00:02.650276
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/10/image_13062025_04_10_14_10077.jpg', 2), ('/mnt/data/13062025/04/09/image_13062025_04_10_04_10254.jpg', 2), ('/mnt/data/13062025/04/09/image_13062025_04_09_54_10039.jpg', 2), ('/mnt/data/13062025/04/09/image_13062025_04_09_44_10082.jpg', 2), ('/mnt/data/13062025/04/09/image_13062025_04_09_34_10186.jpg', 2), ('/mnt/data/13062025/04/09/image_13062025_04_09_24_8880.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/10/image_13062025_04_10_14_10077.jpg', '/mnt/data/13062025/04/09/image_13062025_04_10_04_10254.jpg', '/mnt/data/13062025/04/09/image_13062025_04_09_54_10039.jpg', '/mnt/data/13062025/04/09/image_13062025_04_09_44_10082.jpg', '/mnt/data/13062025/04/09/image_13062025_04_09_34_10186.jpg', '/mnt/data/13062025/04/09/image_13062025_04_09_24_8880.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/10/image_13062025_04_10_14_10077.jpg', '/mnt/data/13062025/04/09/image_13062025_04_10_04_10254.jpg', '/mnt/data/13062025/04/09/image_13062025_04_09_54_10039.jpg', '/mnt/data/13062025/04/09/image_13062025_04_09_44_10082.jpg', '/mnt/data/13062025/04/09/image_13062025_04_09_34_10186.jpg', '/mnt/data/13062025/04/09/image_13062025_04_09_24_8880.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/10/image_13062025_04_10_14_10077.jpg
/mnt/data/13062025/04/09/image_13062025_04_10_04_10254.jpg
/mnt/data/13062025/04/09/image_13062025_04_09_54_10039.jpg
/mnt/data/13062025/04/09/image_13062025_04_09_44_10082.jpg
/mnt/data/13062025/04/09/image_13062025_04_09_34_10186.jpg
/mnt/data/13062025/04/09/image_13062025_04_09_24_8880.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":["1375740181","1375739982","1375739796","1375740112","1375740048","1375739884"],"photo_ids_order":["1375739796","1375739884","1375739982","1375740048","1375740112","1375740181"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/2d126d4e384d0137f036d4a79f264859.jpg","text":"TemporaryFile(/tmp/multipartBody1126849700532335075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596882097,"filename":"image_13062025_04_09_24_8880.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/bd0c523929475091ecc183c05548ae26.jpg","text":"TemporaryFile(/tmp/multipartBody4629968149479732710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596882097,"filename":"image_13062025_04_09_54_10039.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/5dceccbaeb6a88c58c90c709ade927ce.jpg","text":"TemporaryFile(/tmp/multipartBody3250022851156982431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596882097,"filename":"image_13062025_04_10_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/7/fda094a302b43e55c4f9b2759b723780.jpg","text":"TemporaryFile(/tmp/multipartBody9092088782237481005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596882097,"filename":"image_13062025_04_09_34_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/7/e5d6ccafbc82ef1cb5cf0a90674b3aac.jpg","text":"TemporaryFile(/tmp/multipartBody3408664913987910710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596882097,"filename":"image_13062025_04_09_44_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/7/81887bd4d2c58a2bca61500e9ab70fa3.jpg","text":"TemporaryFile(/tmp/multipartBody8807742362221581547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754596882097,"filename":"image_13062025_04_10_04_10254.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375739982","file1":"1375739884","file0":"1375739796","file4":"1375740112","file5":"1375740181","file3":"1375740048"},"map_files_photo_id_array":[{"photo_id":"1375740181","filename":"file5"},{"photo_id":"1375739982","filename":"file2"},{"photo_id":"1375740112","filename":"file4"},{"photo_id":"1375739884","filename":"file1"},{"photo_id":"1375739796","filename":"file0"},{"photo_id":"1375740048","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375740181":["hashtag1","hashtag2"]},{"1375739982":["hashtag1","hashtag2"]},{"1375739796":["hashtag1","hashtag2"]},{"1375740112":["hashtag1","hashtag2"]},{"1375740048":["hashtag1","hashtag2"]},{"1375739884":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375740181, 1375739982, 1375739796, 1375740112, 1375740048, 1375739884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.93452525138855 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:02:02.915301
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/09/image_13062025_04_09_15_10079.jpg', 2), ('/mnt/data/13062025/04/08/image_13062025_04_09_05_10114.jpg', 2), ('/mnt/data/13062025/04/08/image_13062025_04_08_55_10201.jpg', 2), ('/mnt/data/13062025/04/08/image_13062025_04_08_44_10085.jpg', 2), ('/mnt/data/13062025/04/08/image_13062025_04_08_34_10116.jpg', 2), ('/mnt/data/13062025/04/08/image_13062025_04_08_24_10156.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/09/image_13062025_04_09_15_10079.jpg', '/mnt/data/13062025/04/08/image_13062025_04_09_05_10114.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_55_10201.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_44_10085.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_34_10116.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_24_10156.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/09/image_13062025_04_09_15_10079.jpg', '/mnt/data/13062025/04/08/image_13062025_04_09_05_10114.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_55_10201.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_44_10085.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_34_10116.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_24_10156.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/09/image_13062025_04_09_15_10079.jpg
/mnt/data/13062025/04/08/image_13062025_04_09_05_10114.jpg
/mnt/data/13062025/04/08/image_13062025_04_08_55_10201.jpg
/mnt/data/13062025/04/08/image_13062025_04_08_44_10085.jpg
/mnt/data/13062025/04/08/image_13062025_04_08_34_10116.jpg
/mnt/data/13062025/04/08/image_13062025_04_08_24_10156.jpg
uploaded 0 photos
time to upload: 30.441022396087646 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:03:03.025450
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/09/image_13062025_04_09_15_10079.jpg', 2), ('/mnt/data/13062025/04/08/image_13062025_04_09_05_10114.jpg', 2), ('/mnt/data/13062025/04/08/image_13062025_04_08_55_10201.jpg', 2), ('/mnt/data/13062025/04/08/image_13062025_04_08_44_10085.jpg', 2), ('/mnt/data/13062025/04/08/image_13062025_04_08_34_10116.jpg', 2), ('/mnt/data/13062025/04/08/image_13062025_04_08_24_10156.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/09/image_13062025_04_09_15_10079.jpg', '/mnt/data/13062025/04/08/image_13062025_04_09_05_10114.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_55_10201.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_44_10085.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_34_10116.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_24_10156.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/09/image_13062025_04_09_15_10079.jpg', '/mnt/data/13062025/04/08/image_13062025_04_09_05_10114.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_55_10201.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_44_10085.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_34_10116.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_24_10156.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/09/image_13062025_04_09_15_10079.jpg
/mnt/data/13062025/04/08/image_13062025_04_09_05_10114.jpg
/mnt/data/13062025/04/08/image_13062025_04_08_55_10201.jpg
/mnt/data/13062025/04/08/image_13062025_04_08_44_10085.jpg
/mnt/data/13062025/04/08/image_13062025_04_08_34_10116.jpg
/mnt/data/13062025/04/08/image_13062025_04_08_24_10156.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 144.1284818649292 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-07 22:06:02.477323
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/09/image_13062025_04_09_15_10079.jpg', 2), ('/mnt/data/13062025/04/08/image_13062025_04_09_05_10114.jpg', 2), ('/mnt/data/13062025/04/08/image_13062025_04_08_55_10201.jpg', 2), ('/mnt/data/13062025/04/08/image_13062025_04_08_44_10085.jpg', 2), ('/mnt/data/13062025/04/08/image_13062025_04_08_34_10116.jpg', 2), ('/mnt/data/13062025/04/08/image_13062025_04_08_24_10156.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/09/image_13062025_04_09_15_10079.jpg', '/mnt/data/13062025/04/08/image_13062025_04_09_05_10114.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_55_10201.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_44_10085.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_34_10116.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_24_10156.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/09/image_13062025_04_09_15_10079.jpg', '/mnt/data/13062025/04/08/image_13062025_04_09_05_10114.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_55_10201.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_44_10085.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_34_10116.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_24_10156.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/09/image_13062025_04_09_15_10079.jpg
/mnt/data/13062025/04/08/image_13062025_04_09_05_10114.jpg
/mnt/data/13062025/04/08/image_13062025_04_08_55_10201.jpg
/mnt/data/13062025/04/08/image_13062025_04_08_44_10085.jpg
/mnt/data/13062025/04/08/image_13062025_04_08_34_10116.jpg
/mnt/data/13062025/04/08/image_13062025_04_08_24_10156.jpg
uploaded 0 photos
time to upload: 30.37418508529663 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:07:03.652471
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/09/image_13062025_04_09_15_10079.jpg', 2), ('/mnt/data/13062025/04/08/image_13062025_04_09_05_10114.jpg', 2), ('/mnt/data/13062025/04/08/image_13062025_04_08_55_10201.jpg', 2), ('/mnt/data/13062025/04/08/image_13062025_04_08_44_10085.jpg', 2), ('/mnt/data/13062025/04/08/image_13062025_04_08_34_10116.jpg', 2), ('/mnt/data/13062025/04/08/image_13062025_04_08_24_10156.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/09/image_13062025_04_09_15_10079.jpg', '/mnt/data/13062025/04/08/image_13062025_04_09_05_10114.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_55_10201.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_44_10085.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_34_10116.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_24_10156.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/09/image_13062025_04_09_15_10079.jpg', '/mnt/data/13062025/04/08/image_13062025_04_09_05_10114.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_55_10201.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_44_10085.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_34_10116.jpg', '/mnt/data/13062025/04/08/image_13062025_04_08_24_10156.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/09/image_13062025_04_09_15_10079.jpg
/mnt/data/13062025/04/08/image_13062025_04_09_05_10114.jpg
/mnt/data/13062025/04/08/image_13062025_04_08_55_10201.jpg
/mnt/data/13062025/04/08/image_13062025_04_08_44_10085.jpg
/mnt/data/13062025/04/08/image_13062025_04_08_34_10116.jpg
/mnt/data/13062025/04/08/image_13062025_04_08_24_10156.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":["1375741953","1375741920","1375741781","1375741850","1375741814","1375741885"],"photo_ids_order":["1375741781","1375741814","1375741850","1375741885","1375741920","1375741953"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/4ef584ec9717cd1d49d2df38bd18f3a4.jpg","text":"TemporaryFile(/tmp/multipartBody7727685838283675410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597308607,"filename":"image_13062025_04_08_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/7/59b2c68a70019d6d6fecf8a37347bfd9.jpg","text":"TemporaryFile(/tmp/multipartBody4955763288205355320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597308607,"filename":"image_13062025_04_08_34_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/7/d25fb1df93f44755176fe43b87f03b27.jpg","text":"TemporaryFile(/tmp/multipartBody8190458614577716303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597308607,"filename":"image_13062025_04_09_15_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/7/f47d486f90a39592b562634e486fb3a9.jpg","text":"TemporaryFile(/tmp/multipartBody4666941988585523688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597308607,"filename":"image_13062025_04_08_55_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/7/93f22dd2918ed259e7b516b2da6baf1b.jpg","text":"TemporaryFile(/tmp/multipartBody6305145866537281227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597308607,"filename":"image_13062025_04_09_05_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/7/523bfe833c2bb4dadfb418278d40e81f.jpg","text":"TemporaryFile(/tmp/multipartBody2283031067676760565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597308607,"filename":"image_13062025_04_08_44_10085.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375741850","file1":"1375741814","file0":"1375741781","file4":"1375741920","file5":"1375741953","file3":"1375741885"},"map_files_photo_id_array":[{"photo_id":"1375741953","filename":"file5"},{"photo_id":"1375741850","filename":"file2"},{"photo_id":"1375741920","filename":"file4"},{"photo_id":"1375741814","filename":"file1"},{"photo_id":"1375741781","filename":"file0"},{"photo_id":"1375741885","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375741953":["hashtag1","hashtag2"]},{"1375741920":["hashtag1","hashtag2"]},{"1375741781":["hashtag1","hashtag2"]},{"1375741850":["hashtag1","hashtag2"]},{"1375741814":["hashtag1","hashtag2"]},{"1375741885":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375741953, 1375741920, 1375741781, 1375741850, 1375741814, 1375741885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.95948362350464 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:09:02.978097
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/08/image_13062025_04_08_14_10110.jpg', 2), ('/mnt/data/13062025/04/07/image_13062025_04_07_55_10080.jpg', 2), ('/mnt/data/13062025/04/07/image_13062025_04_07_45_10059.jpg', 2), ('/mnt/data/13062025/04/07/image_13062025_04_07_35_10069.jpg', 2), ('/mnt/data/13062025/04/07/image_13062025_04_07_25_10123.jpg', 2), ('/mnt/data/13062025/04/07/image_13062025_04_07_15_10162.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/08/image_13062025_04_08_14_10110.jpg', '/mnt/data/13062025/04/07/image_13062025_04_07_55_10080.jpg', '/mnt/data/13062025/04/07/image_13062025_04_07_45_10059.jpg', '/mnt/data/13062025/04/07/image_13062025_04_07_35_10069.jpg', '/mnt/data/13062025/04/07/image_13062025_04_07_25_10123.jpg', '/mnt/data/13062025/04/07/image_13062025_04_07_15_10162.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/08/image_13062025_04_08_14_10110.jpg', '/mnt/data/13062025/04/07/image_13062025_04_07_55_10080.jpg', '/mnt/data/13062025/04/07/image_13062025_04_07_45_10059.jpg', '/mnt/data/13062025/04/07/image_13062025_04_07_35_10069.jpg', '/mnt/data/13062025/04/07/image_13062025_04_07_25_10123.jpg', '/mnt/data/13062025/04/07/image_13062025_04_07_15_10162.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/08/image_13062025_04_08_14_10110.jpg
/mnt/data/13062025/04/07/image_13062025_04_07_55_10080.jpg
/mnt/data/13062025/04/07/image_13062025_04_07_45_10059.jpg
/mnt/data/13062025/04/07/image_13062025_04_07_35_10069.jpg
/mnt/data/13062025/04/07/image_13062025_04_07_25_10123.jpg
/mnt/data/13062025/04/07/image_13062025_04_07_15_10162.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":["1375742271","1375742172","1375742322","1375742139","1375742205","1375742236"],"photo_ids_order":["1375742139","1375742172","1375742205","1375742236","1375742271","1375742322"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/60f55844766194761caf99f31ee31d30.jpg","text":"TemporaryFile(/tmp/multipartBody8330312674203334629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597426406,"filename":"image_13062025_04_07_25_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/7/fe964cb4ac3f542b247f478f6dd5692d.jpg","text":"TemporaryFile(/tmp/multipartBody6559636361390242002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597426406,"filename":"image_13062025_04_07_55_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/7/30c05d7a00e18e647d7caa1cf82336ec.jpg","text":"TemporaryFile(/tmp/multipartBody5105576756331246837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597426406,"filename":"image_13062025_04_07_15_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/7/c619011af9b7be68a7604afa4986e57f.jpg","text":"TemporaryFile(/tmp/multipartBody8132266964824009201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597426406,"filename":"image_13062025_04_08_14_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/7/96acf3f5673e7e49b0986d24eff82399.jpg","text":"TemporaryFile(/tmp/multipartBody863654592209222283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597426406,"filename":"image_13062025_04_07_45_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/7/cac5c51f25b8f9f48a66cded3584c704.jpg","text":"TemporaryFile(/tmp/multipartBody9181073283600176614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597426406,"filename":"image_13062025_04_07_35_10069.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375742205","file1":"1375742172","file0":"1375742139","file4":"1375742271","file5":"1375742322","file3":"1375742236"},"map_files_photo_id_array":[{"photo_id":"1375742322","filename":"file5"},{"photo_id":"1375742205","filename":"file2"},{"photo_id":"1375742271","filename":"file4"},{"photo_id":"1375742172","filename":"file1"},{"photo_id":"1375742139","filename":"file0"},{"photo_id":"1375742236","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375742271":["hashtag1","hashtag2"]},{"1375742172":["hashtag1","hashtag2"]},{"1375742322":["hashtag1","hashtag2"]},{"1375742139":["hashtag1","hashtag2"]},{"1375742205":["hashtag1","hashtag2"]},{"1375742236":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375742271, 1375742172, 1375742322, 1375742139, 1375742205, 1375742236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.374855756759644 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:11:02.778411
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/06/image_13062025_04_07_04_10254.jpg', 2), ('/mnt/data/13062025/04/06/image_13062025_04_06_54_9986.jpg', 2), ('/mnt/data/13062025/04/06/image_13062025_04_06_44_10110.jpg', 2), ('/mnt/data/13062025/04/06/image_13062025_04_06_24_10149.jpg', 2), ('/mnt/data/13062025/04/06/image_13062025_04_06_14_8969.jpg', 2), ('/mnt/data/13062025/04/05/image_13062025_04_06_05_10066.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/06/image_13062025_04_07_04_10254.jpg', '/mnt/data/13062025/04/06/image_13062025_04_06_54_9986.jpg', '/mnt/data/13062025/04/06/image_13062025_04_06_44_10110.jpg', '/mnt/data/13062025/04/06/image_13062025_04_06_24_10149.jpg', '/mnt/data/13062025/04/06/image_13062025_04_06_14_8969.jpg', '/mnt/data/13062025/04/05/image_13062025_04_06_05_10066.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/06/image_13062025_04_07_04_10254.jpg', '/mnt/data/13062025/04/06/image_13062025_04_06_54_9986.jpg', '/mnt/data/13062025/04/06/image_13062025_04_06_44_10110.jpg', '/mnt/data/13062025/04/06/image_13062025_04_06_24_10149.jpg', '/mnt/data/13062025/04/06/image_13062025_04_06_14_8969.jpg', '/mnt/data/13062025/04/05/image_13062025_04_06_05_10066.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/06/image_13062025_04_07_04_10254.jpg
/mnt/data/13062025/04/06/image_13062025_04_06_54_9986.jpg
/mnt/data/13062025/04/06/image_13062025_04_06_44_10110.jpg
/mnt/data/13062025/04/06/image_13062025_04_06_24_10149.jpg
/mnt/data/13062025/04/06/image_13062025_04_06_14_8969.jpg
/mnt/data/13062025/04/05/image_13062025_04_06_05_10066.jpg
uploaded 0 photos
time to upload: 30.42498540878296 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:12:03.509416
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/06/image_13062025_04_07_04_10254.jpg', 2), ('/mnt/data/13062025/04/06/image_13062025_04_06_54_9986.jpg', 2), ('/mnt/data/13062025/04/06/image_13062025_04_06_44_10110.jpg', 2), ('/mnt/data/13062025/04/06/image_13062025_04_06_24_10149.jpg', 2), ('/mnt/data/13062025/04/06/image_13062025_04_06_14_8969.jpg', 2), ('/mnt/data/13062025/04/05/image_13062025_04_06_05_10066.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/06/image_13062025_04_07_04_10254.jpg', '/mnt/data/13062025/04/06/image_13062025_04_06_54_9986.jpg', '/mnt/data/13062025/04/06/image_13062025_04_06_44_10110.jpg', '/mnt/data/13062025/04/06/image_13062025_04_06_24_10149.jpg', '/mnt/data/13062025/04/06/image_13062025_04_06_14_8969.jpg', '/mnt/data/13062025/04/05/image_13062025_04_06_05_10066.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/06/image_13062025_04_07_04_10254.jpg', '/mnt/data/13062025/04/06/image_13062025_04_06_54_9986.jpg', '/mnt/data/13062025/04/06/image_13062025_04_06_44_10110.jpg', '/mnt/data/13062025/04/06/image_13062025_04_06_24_10149.jpg', '/mnt/data/13062025/04/06/image_13062025_04_06_14_8969.jpg', '/mnt/data/13062025/04/05/image_13062025_04_06_05_10066.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/06/image_13062025_04_07_04_10254.jpg
/mnt/data/13062025/04/06/image_13062025_04_06_54_9986.jpg
/mnt/data/13062025/04/06/image_13062025_04_06_44_10110.jpg
/mnt/data/13062025/04/06/image_13062025_04_06_24_10149.jpg
/mnt/data/13062025/04/06/image_13062025_04_06_14_8969.jpg
/mnt/data/13062025/04/05/image_13062025_04_06_05_10066.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":["1375742976","1375742877","1375742942","1375742983","1375742845","1375742911"],"photo_ids_order":["1375742845","1375742877","1375742911","1375742942","1375742976","1375742983"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/28c16200b6df5209c8de74519178dc30.jpg","text":"TemporaryFile(/tmp/multipartBody4186960425990002717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597606027,"filename":"image_13062025_04_06_14_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/7/8ad37fe7c1b02db69e4003b793909c0f.jpg","text":"TemporaryFile(/tmp/multipartBody4273521965711467546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597606027,"filename":"image_13062025_04_06_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/7/231a3a22021f8c78e43930351a7d43a3.jpg","text":"TemporaryFile(/tmp/multipartBody5611956752745577231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597606027,"filename":"image_13062025_04_06_24_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/7/a974dde1f9216989dd10c4c393fda5ae.jpg","text":"TemporaryFile(/tmp/multipartBody7086427663273357382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597606027,"filename":"image_13062025_04_06_05_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/7/2c1372329370bf0d3334a1199bca3a75.jpg","text":"TemporaryFile(/tmp/multipartBody7033661411255146562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597606027,"filename":"image_13062025_04_07_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/7/24b9822724b9e90f9740a0e4ed6daa3d.jpg","text":"TemporaryFile(/tmp/multipartBody2049794512160427362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597606027,"filename":"image_13062025_04_06_44_10110.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375742911","file1":"1375742877","file0":"1375742845","file4":"1375742976","file5":"1375742983","file3":"1375742942"},"map_files_photo_id_array":[{"photo_id":"1375742983","filename":"file5"},{"photo_id":"1375742911","filename":"file2"},{"photo_id":"1375742976","filename":"file4"},{"photo_id":"1375742877","filename":"file1"},{"photo_id":"1375742845","filename":"file0"},{"photo_id":"1375742942","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375742976":["hashtag1","hashtag2"]},{"1375742877":["hashtag1","hashtag2"]},{"1375742942":["hashtag1","hashtag2"]},{"1375742983":["hashtag1","hashtag2"]},{"1375742845":["hashtag1","hashtag2"]},{"1375742911":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375742976, 1375742877, 1375742942, 1375742983, 1375742845, 1375742911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.5111608505249 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:14:02.297592
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/05/image_13062025_04_05_55_9968.jpg', 2), ('/mnt/data/13062025/04/04/image_13062025_04_04_44_8877.jpg', 2), ('/mnt/data/13062025/04/04/image_13062025_04_04_35_10240.jpg', 2), ('/mnt/data/13062025/04/04/image_13062025_04_04_25_10127.jpg', 2), ('/mnt/data/13062025/04/04/image_13062025_04_04_14_10155.jpg', 2), ('/mnt/data/13062025/04/03/image_13062025_04_04_04_10192.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/05/image_13062025_04_05_55_9968.jpg', '/mnt/data/13062025/04/04/image_13062025_04_04_44_8877.jpg', '/mnt/data/13062025/04/04/image_13062025_04_04_35_10240.jpg', '/mnt/data/13062025/04/04/image_13062025_04_04_25_10127.jpg', '/mnt/data/13062025/04/04/image_13062025_04_04_14_10155.jpg', '/mnt/data/13062025/04/03/image_13062025_04_04_04_10192.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/05/image_13062025_04_05_55_9968.jpg', '/mnt/data/13062025/04/04/image_13062025_04_04_44_8877.jpg', '/mnt/data/13062025/04/04/image_13062025_04_04_35_10240.jpg', '/mnt/data/13062025/04/04/image_13062025_04_04_25_10127.jpg', '/mnt/data/13062025/04/04/image_13062025_04_04_14_10155.jpg', '/mnt/data/13062025/04/03/image_13062025_04_04_04_10192.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/05/image_13062025_04_05_55_9968.jpg
/mnt/data/13062025/04/04/image_13062025_04_04_44_8877.jpg
/mnt/data/13062025/04/04/image_13062025_04_04_35_10240.jpg
/mnt/data/13062025/04/04/image_13062025_04_04_25_10127.jpg
/mnt/data/13062025/04/04/image_13062025_04_04_14_10155.jpg
/mnt/data/13062025/04/03/image_13062025_04_04_04_10192.jpg
uploaded 0 photos
time to upload: 30.434191703796387 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:15:02.493544
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/05/image_13062025_04_05_55_9968.jpg', 2), ('/mnt/data/13062025/04/04/image_13062025_04_04_44_8877.jpg', 2), ('/mnt/data/13062025/04/04/image_13062025_04_04_35_10240.jpg', 2), ('/mnt/data/13062025/04/04/image_13062025_04_04_25_10127.jpg', 2), ('/mnt/data/13062025/04/04/image_13062025_04_04_14_10155.jpg', 2), ('/mnt/data/13062025/04/03/image_13062025_04_04_04_10192.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/05/image_13062025_04_05_55_9968.jpg', '/mnt/data/13062025/04/04/image_13062025_04_04_44_8877.jpg', '/mnt/data/13062025/04/04/image_13062025_04_04_35_10240.jpg', '/mnt/data/13062025/04/04/image_13062025_04_04_25_10127.jpg', '/mnt/data/13062025/04/04/image_13062025_04_04_14_10155.jpg', '/mnt/data/13062025/04/03/image_13062025_04_04_04_10192.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/05/image_13062025_04_05_55_9968.jpg', '/mnt/data/13062025/04/04/image_13062025_04_04_44_8877.jpg', '/mnt/data/13062025/04/04/image_13062025_04_04_35_10240.jpg', '/mnt/data/13062025/04/04/image_13062025_04_04_25_10127.jpg', '/mnt/data/13062025/04/04/image_13062025_04_04_14_10155.jpg', '/mnt/data/13062025/04/03/image_13062025_04_04_04_10192.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/05/image_13062025_04_05_55_9968.jpg
/mnt/data/13062025/04/04/image_13062025_04_04_44_8877.jpg
/mnt/data/13062025/04/04/image_13062025_04_04_35_10240.jpg
/mnt/data/13062025/04/04/image_13062025_04_04_25_10127.jpg
/mnt/data/13062025/04/04/image_13062025_04_04_14_10155.jpg
/mnt/data/13062025/04/03/image_13062025_04_04_04_10192.jpg
uploaded 0 photos
time to upload: 30.406859397888184 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:16:03.222975
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/05/image_13062025_04_05_55_9968.jpg', 2), ('/mnt/data/13062025/04/04/image_13062025_04_04_44_8877.jpg', 2), ('/mnt/data/13062025/04/04/image_13062025_04_04_35_10240.jpg', 2), ('/mnt/data/13062025/04/04/image_13062025_04_04_25_10127.jpg', 2), ('/mnt/data/13062025/04/04/image_13062025_04_04_14_10155.jpg', 2), ('/mnt/data/13062025/04/03/image_13062025_04_04_04_10192.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/05/image_13062025_04_05_55_9968.jpg', '/mnt/data/13062025/04/04/image_13062025_04_04_44_8877.jpg', '/mnt/data/13062025/04/04/image_13062025_04_04_35_10240.jpg', '/mnt/data/13062025/04/04/image_13062025_04_04_25_10127.jpg', '/mnt/data/13062025/04/04/image_13062025_04_04_14_10155.jpg', '/mnt/data/13062025/04/03/image_13062025_04_04_04_10192.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/05/image_13062025_04_05_55_9968.jpg', '/mnt/data/13062025/04/04/image_13062025_04_04_44_8877.jpg', '/mnt/data/13062025/04/04/image_13062025_04_04_35_10240.jpg', '/mnt/data/13062025/04/04/image_13062025_04_04_25_10127.jpg', '/mnt/data/13062025/04/04/image_13062025_04_04_14_10155.jpg', '/mnt/data/13062025/04/03/image_13062025_04_04_04_10192.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/05/image_13062025_04_05_55_9968.jpg
/mnt/data/13062025/04/04/image_13062025_04_04_44_8877.jpg
/mnt/data/13062025/04/04/image_13062025_04_04_35_10240.jpg
/mnt/data/13062025/04/04/image_13062025_04_04_25_10127.jpg
/mnt/data/13062025/04/04/image_13062025_04_04_14_10155.jpg
/mnt/data/13062025/04/03/image_13062025_04_04_04_10192.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":["1375743584","1375743617","1375743685","1375743565","1375743718","1375743651"],"photo_ids_order":["1375743565","1375743584","1375743617","1375743651","1375743685","1375743718"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/516ea99757428e5cb4aebcfc96cdecfc.jpg","text":"TemporaryFile(/tmp/multipartBody1772989444384807277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597846609,"filename":"image_13062025_04_04_44_8877.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/cb18102036bf036594cf5323488eb914.jpg","text":"TemporaryFile(/tmp/multipartBody6208131820269306904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597846609,"filename":"image_13062025_04_04_35_10240.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/77028befd9a301e8dad49d6cbf05ddb6.jpg","text":"TemporaryFile(/tmp/multipartBody9049320272182865520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597846609,"filename":"image_13062025_04_04_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/7/c78d7db907e3a76e4517077154a7d543.jpg","text":"TemporaryFile(/tmp/multipartBody833612418000325515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597846609,"filename":"image_13062025_04_05_55_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/7/2ec983c6ef20ee93c6ee4aaec9910e2c.jpg","text":"TemporaryFile(/tmp/multipartBody1627771875857533903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597846609,"filename":"image_13062025_04_04_04_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/7/68709f44a37bff47a9b2fbc9610834b5.jpg","text":"TemporaryFile(/tmp/multipartBody2981977726762278511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597846609,"filename":"image_13062025_04_04_25_10127.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375743617","file1":"1375743584","file0":"1375743565","file4":"1375743685","file5":"1375743718","file3":"1375743651"},"map_files_photo_id_array":[{"photo_id":"1375743718","filename":"file5"},{"photo_id":"1375743617","filename":"file2"},{"photo_id":"1375743685","filename":"file4"},{"photo_id":"1375743584","filename":"file1"},{"photo_id":"1375743565","filename":"file0"},{"photo_id":"1375743651","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375743584":["hashtag1","hashtag2"]},{"1375743617":["hashtag1","hashtag2"]},{"1375743685":["hashtag1","hashtag2"]},{"1375743565":["hashtag1","hashtag2"]},{"1375743718":["hashtag1","hashtag2"]},{"1375743651":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375743584, 1375743617, 1375743685, 1375743565, 1375743718, 1375743651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.238452434539795 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:18:03.396172
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/03/image_13062025_04_03_54_10249.jpg', 2), ('/mnt/data/13062025/04/03/image_13062025_04_03_44_9000.jpg', 2), ('/mnt/data/13062025/04/03/image_13062025_04_03_35_10203.jpg', 2), ('/mnt/data/13062025/04/03/image_13062025_04_03_25_10266.jpg', 2), ('/mnt/data/13062025/04/03/image_13062025_04_03_14_10287.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_03_04_10152.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/03/image_13062025_04_03_54_10249.jpg', '/mnt/data/13062025/04/03/image_13062025_04_03_44_9000.jpg', '/mnt/data/13062025/04/03/image_13062025_04_03_35_10203.jpg', '/mnt/data/13062025/04/03/image_13062025_04_03_25_10266.jpg', '/mnt/data/13062025/04/03/image_13062025_04_03_14_10287.jpg', '/mnt/data/13062025/04/02/image_13062025_04_03_04_10152.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/03/image_13062025_04_03_54_10249.jpg', '/mnt/data/13062025/04/03/image_13062025_04_03_44_9000.jpg', '/mnt/data/13062025/04/03/image_13062025_04_03_35_10203.jpg', '/mnt/data/13062025/04/03/image_13062025_04_03_25_10266.jpg', '/mnt/data/13062025/04/03/image_13062025_04_03_14_10287.jpg', '/mnt/data/13062025/04/02/image_13062025_04_03_04_10152.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/03/image_13062025_04_03_54_10249.jpg
/mnt/data/13062025/04/03/image_13062025_04_03_44_9000.jpg
/mnt/data/13062025/04/03/image_13062025_04_03_35_10203.jpg
/mnt/data/13062025/04/03/image_13062025_04_03_25_10266.jpg
/mnt/data/13062025/04/03/image_13062025_04_03_14_10287.jpg
/mnt/data/13062025/04/02/image_13062025_04_03_04_10152.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":["1375743869","1375743872","1375743866","1375743868","1375743862","1375743870"],"photo_ids_order":["1375743862","1375743866","1375743868","1375743869","1375743870","1375743872"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/0105b50674e578cd5ab6dbeb7b73692c.jpg","text":"TemporaryFile(/tmp/multipartBody5599988436381970631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597969015,"filename":"image_13062025_04_03_25_10266.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/9b6630f1b18de5d93be99c3857fc92b0.jpg","text":"TemporaryFile(/tmp/multipartBody8779503652443522387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597969015,"filename":"image_13062025_04_03_04_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/7/afb48d04bf3d49f8865e47b5a60739e7.jpg","text":"TemporaryFile(/tmp/multipartBody2701559351090578943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597969015,"filename":"image_13062025_04_03_44_9000.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d78774fc6e0146c23f36be0066fdea5a.jpg","text":"TemporaryFile(/tmp/multipartBody8306868227876332164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597969015,"filename":"image_13062025_04_03_35_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/7/b670d67fc0545e03de4837b97116eddb.jpg","text":"TemporaryFile(/tmp/multipartBody4803050244565031590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597969015,"filename":"image_13062025_04_03_54_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/7/a80e1842d8dc88f3a6fc1fbb67e87281.jpg","text":"TemporaryFile(/tmp/multipartBody8035621687224179143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754597969015,"filename":"image_13062025_04_03_14_10287.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375743868","file1":"1375743866","file0":"1375743862","file4":"1375743870","file5":"1375743872","file3":"1375743869"},"map_files_photo_id_array":[{"photo_id":"1375743872","filename":"file5"},{"photo_id":"1375743868","filename":"file2"},{"photo_id":"1375743870","filename":"file4"},{"photo_id":"1375743866","filename":"file1"},{"photo_id":"1375743862","filename":"file0"},{"photo_id":"1375743869","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375743869":["hashtag1","hashtag2"]},{"1375743872":["hashtag1","hashtag2"]},{"1375743866":["hashtag1","hashtag2"]},{"1375743868":["hashtag1","hashtag2"]},{"1375743862":["hashtag1","hashtag2"]},{"1375743870":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375743869, 1375743872, 1375743866, 1375743868, 1375743862, 1375743870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.28521418571472 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:20:02.869722
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', 2), ('/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg
/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg
uploaded 0 photos
time to upload: 30.423807859420776 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:21:02.390470
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', 2), ('/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg
/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg
uploaded 0 photos
time to upload: 30.43925452232361 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:22:02.981769
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', 2), ('/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg
/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg
uploaded 0 photos
time to upload: 30.374808073043823 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:23:03.374587
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', 2), ('/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg
/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg
uploaded 0 photos
time to upload: 19.7457435131073 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-07 22:24:03.219526
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', 2), ('/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg
/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 142.91838908195496 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-07 22:27:03.251462
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', 2), ('/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg
/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg
uploaded 0 photos
time to upload: 13.452672719955444 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-07 22:28:02.903907
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', 2), ('/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg
/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg
uploaded 0 photos
time to upload: 30.36353063583374 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:29:02.970509
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', 2), ('/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg
/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg
uploaded 0 photos
time to upload: 30.386438131332397 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:30:02.285485
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', 2), ('/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg
/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg
uploaded 0 photos
time to upload: 30.39123821258545 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:31:02.398214
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', 2), ('/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg
/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg
uploaded 0 photos
time to upload: 30.402172803878784 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:32:03.182689
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', 2), ('/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg
/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 20.824382543563843 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-07 22:33:03.291447
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', 2), ('/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg
/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg
uploaded 0 photos
time to upload: 30.388123989105225 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:34:03.316233
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', 2), ('/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', 2), ('/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg', '/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg', '/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/02/image_13062025_04_02_54_10213.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_44_8896.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_35_10217.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_25_10377.jpg
/mnt/data/13062025/04/02/image_13062025_04_02_14_10159.jpg
/mnt/data/13062025/04/01/image_13062025_04_02_04_10205.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375747819","1375747880","1375747745","1375747712","1375748005","1375747942"],"photo_ids_order":["1375747712","1375747745","1375747819","1375747880","1375747942","1375748005"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/883ec843842605b722e9eece4097a899.jpg","text":"TemporaryFile(/tmp/multipartBody8241162605163298788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754598919637,"filename":"image_13062025_04_02_35_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/7/6d49eca7f6c3a44f82a85279a3e02fb4.jpg","text":"TemporaryFile(/tmp/multipartBody7392468611094920650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754598919637,"filename":"image_13062025_04_02_25_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/7/19b057a1a3a385948309f5f8dd35ae7b.jpg","text":"TemporaryFile(/tmp/multipartBody3493633763350796483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754598919637,"filename":"image_13062025_04_02_44_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/7/c0aa0a06ff2994da6caeb749d6d88797.jpg","text":"TemporaryFile(/tmp/multipartBody5433171631720107570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754598919637,"filename":"image_13062025_04_02_54_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/7/72fe305e7cb37b1af77efe86374c6b01.jpg","text":"TemporaryFile(/tmp/multipartBody8655422987594074167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754598919637,"filename":"image_13062025_04_02_04_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/7/d46bee5ebd2bb3b1ebdf33ccf72092da.jpg","text":"TemporaryFile(/tmp/multipartBody7317713785771915110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754598919637,"filename":"image_13062025_04_02_14_10159.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375747819","file1":"1375747745","file0":"1375747712","file4":"1375747942","file5":"1375748005","file3":"1375747880"},"map_files_photo_id_array":[{"photo_id":"1375748005","filename":"file5"},{"photo_id":"1375747819","filename":"file2"},{"photo_id":"1375747942","filename":"file4"},{"photo_id":"1375747745","filename":"file1"},{"photo_id":"1375747712","filename":"file0"},{"photo_id":"1375747880","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375747819":["hashtag1","hashtag2"]},{"1375747880":["hashtag1","hashtag2"]},{"1375747745":["hashtag1","hashtag2"]},{"1375747712":["hashtag1","hashtag2"]},{"1375748005":["hashtag1","hashtag2"]},{"1375747942":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375747819, 1375747880, 1375747745, 1375747712, 1375748005, 1375747942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.86702275276184 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:35:03.430475
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/01/image_13062025_04_01_54_10168.jpg', 2), ('/mnt/data/13062025/04/01/image_13062025_04_01_44_8931.jpg', 2), ('/mnt/data/13062025/04/01/image_13062025_04_01_35_9990.jpg', 2), ('/mnt/data/13062025/04/01/image_13062025_04_01_25_10009.jpg', 2), ('/mnt/data/13062025/04/01/image_13062025_04_01_15_10038.jpg', 2), ('/mnt/data/13062025/04/00/image_13062025_04_01_05_10079.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/01/image_13062025_04_01_54_10168.jpg', '/mnt/data/13062025/04/01/image_13062025_04_01_44_8931.jpg', '/mnt/data/13062025/04/01/image_13062025_04_01_35_9990.jpg', '/mnt/data/13062025/04/01/image_13062025_04_01_25_10009.jpg', '/mnt/data/13062025/04/01/image_13062025_04_01_15_10038.jpg', '/mnt/data/13062025/04/00/image_13062025_04_01_05_10079.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/01/image_13062025_04_01_54_10168.jpg', '/mnt/data/13062025/04/01/image_13062025_04_01_44_8931.jpg', '/mnt/data/13062025/04/01/image_13062025_04_01_35_9990.jpg', '/mnt/data/13062025/04/01/image_13062025_04_01_25_10009.jpg', '/mnt/data/13062025/04/01/image_13062025_04_01_15_10038.jpg', '/mnt/data/13062025/04/00/image_13062025_04_01_05_10079.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/01/image_13062025_04_01_54_10168.jpg
/mnt/data/13062025/04/01/image_13062025_04_01_44_8931.jpg
/mnt/data/13062025/04/01/image_13062025_04_01_35_9990.jpg
/mnt/data/13062025/04/01/image_13062025_04_01_25_10009.jpg
/mnt/data/13062025/04/01/image_13062025_04_01_15_10038.jpg
/mnt/data/13062025/04/00/image_13062025_04_01_05_10079.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":["1375748409","1375748447","1375748464","1375748467","1375748469","1375748376"],"photo_ids_order":["1375748376","1375748409","1375748447","1375748464","1375748467","1375748469"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/94f7dae2101bfe9a0272e296b76d82da.jpg","text":"TemporaryFile(/tmp/multipartBody3248553125124190669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754598984464,"filename":"image_13062025_04_01_44_8931.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/17cf1b26f7f47207e133a8bfa5fe6141.jpg","text":"TemporaryFile(/tmp/multipartBody7308790622914303011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754598984464,"filename":"image_13062025_04_01_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/7/fe31e0687936a04593bc19b8dcf1972a.jpg","text":"TemporaryFile(/tmp/multipartBody3835331356718618684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754598984464,"filename":"image_13062025_04_01_25_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/7/22239624d9b588c5a7dd0260f69e7daa.jpg","text":"TemporaryFile(/tmp/multipartBody7989524431208167527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754598984464,"filename":"image_13062025_04_01_15_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/7/21bbb92f8cd2f129c1a71b22bb199ea2.jpg","text":"TemporaryFile(/tmp/multipartBody268048326401118309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754598984464,"filename":"image_13062025_04_01_05_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/7/f6db9690e9d93c4d7db768b687482c92.jpg","text":"TemporaryFile(/tmp/multipartBody9013417085985483961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754598984464,"filename":"image_13062025_04_01_54_10168.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375748447","file1":"1375748409","file0":"1375748376","file4":"1375748467","file5":"1375748469","file3":"1375748464"},"map_files_photo_id_array":[{"photo_id":"1375748469","filename":"file5"},{"photo_id":"1375748447","filename":"file2"},{"photo_id":"1375748467","filename":"file4"},{"photo_id":"1375748409","filename":"file1"},{"photo_id":"1375748376","filename":"file0"},{"photo_id":"1375748464","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375748409":["hashtag1","hashtag2"]},{"1375748447":["hashtag1","hashtag2"]},{"1375748464":["hashtag1","hashtag2"]},{"1375748467":["hashtag1","hashtag2"]},{"1375748469":["hashtag1","hashtag2"]},{"1375748376":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375748409, 1375748447, 1375748464, 1375748467, 1375748469, 1375748376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.74293756484985 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:37:02.827238
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/04/00/image_13062025_04_00_55_9951.jpg', 2), ('/mnt/data/13062025/03/59/image_13062025_03_59_45_9948.jpg', 2), ('/mnt/data/13062025/03/59/image_13062025_03_59_35_9947.jpg', 2), ('/mnt/data/13062025/03/59/image_13062025_03_59_25_11128.jpg', 2), ('/mnt/data/13062025/03/59/image_13062025_03_59_14_9943.jpg', 2), ('/mnt/data/13062025/03/58/image_13062025_03_59_04_9956.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/04/00/image_13062025_04_00_55_9951.jpg', '/mnt/data/13062025/03/59/image_13062025_03_59_45_9948.jpg', '/mnt/data/13062025/03/59/image_13062025_03_59_35_9947.jpg', '/mnt/data/13062025/03/59/image_13062025_03_59_25_11128.jpg', '/mnt/data/13062025/03/59/image_13062025_03_59_14_9943.jpg', '/mnt/data/13062025/03/58/image_13062025_03_59_04_9956.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/04/00/image_13062025_04_00_55_9951.jpg', '/mnt/data/13062025/03/59/image_13062025_03_59_45_9948.jpg', '/mnt/data/13062025/03/59/image_13062025_03_59_35_9947.jpg', '/mnt/data/13062025/03/59/image_13062025_03_59_25_11128.jpg', '/mnt/data/13062025/03/59/image_13062025_03_59_14_9943.jpg', '/mnt/data/13062025/03/58/image_13062025_03_59_04_9956.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/04/00/image_13062025_04_00_55_9951.jpg
/mnt/data/13062025/03/59/image_13062025_03_59_45_9948.jpg
/mnt/data/13062025/03/59/image_13062025_03_59_35_9947.jpg
/mnt/data/13062025/03/59/image_13062025_03_59_25_11128.jpg
/mnt/data/13062025/03/59/image_13062025_03_59_14_9943.jpg
/mnt/data/13062025/03/58/image_13062025_03_59_04_9956.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375748808","1375748857","1375748812","1375748821","1375748800","1375748803"],"photo_ids_order":["1375748800","1375748803","1375748808","1375748812","1375748821","1375748857"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/5fc197f39be64624d3c9e32c674c39df.jpg","text":"TemporaryFile(/tmp/multipartBody1494692726626906823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754599094022,"filename":"image_13062025_03_59_35_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/7/e01844fe3f143e45c0e74f7760c4bd70.jpg","text":"TemporaryFile(/tmp/multipartBody361623518388035255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754599094022,"filename":"image_13062025_03_59_04_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/7/ebefe46b89ec67769ab1d5202f8b92ed.jpg","text":"TemporaryFile(/tmp/multipartBody5416963266593386636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754599094022,"filename":"image_13062025_03_59_25_11128.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/c0d67ed18e9c6837c3f6cda1d113d823.jpg","text":"TemporaryFile(/tmp/multipartBody6355252504824609771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754599094022,"filename":"image_13062025_03_59_14_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/7/e8ef3b987dc3096038c8c41039efbbf7.jpg","text":"TemporaryFile(/tmp/multipartBody843648752376033859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754599094022,"filename":"image_13062025_04_00_55_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/7/167a5879a07aa439d4ace9359dead5d8.jpg","text":"TemporaryFile(/tmp/multipartBody5713224399940713343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754599094022,"filename":"image_13062025_03_59_45_9948.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375748808","file1":"1375748803","file0":"1375748800","file4":"1375748821","file5":"1375748857","file3":"1375748812"},"map_files_photo_id_array":[{"photo_id":"1375748857","filename":"file5"},{"photo_id":"1375748808","filename":"file2"},{"photo_id":"1375748821","filename":"file4"},{"photo_id":"1375748803","filename":"file1"},{"photo_id":"1375748800","filename":"file0"},{"photo_id":"1375748812","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375748808":["hashtag1","hashtag2"]},{"1375748857":["hashtag1","hashtag2"]},{"1375748812":["hashtag1","hashtag2"]},{"1375748821":["hashtag1","hashtag2"]},{"1375748800":["hashtag1","hashtag2"]},{"1375748803":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375748808, 1375748857, 1375748812, 1375748821, 1375748800, 1375748803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.81349301338196 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:38:03.011462
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/58/image_13062025_03_58_54_8960.jpg', 2), ('/mnt/data/13062025/03/58/image_13062025_03_58_45_10220.jpg', 2), ('/mnt/data/13062025/03/58/image_13062025_03_58_35_10180.jpg', 2), ('/mnt/data/13062025/03/58/image_13062025_03_58_24_9975.jpg', 2), ('/mnt/data/13062025/03/58/image_13062025_03_58_14_10278.jpg', 2), ('/mnt/data/13062025/03/57/image_13062025_03_58_04_10214.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/58/image_13062025_03_58_54_8960.jpg', '/mnt/data/13062025/03/58/image_13062025_03_58_45_10220.jpg', '/mnt/data/13062025/03/58/image_13062025_03_58_35_10180.jpg', '/mnt/data/13062025/03/58/image_13062025_03_58_24_9975.jpg', '/mnt/data/13062025/03/58/image_13062025_03_58_14_10278.jpg', '/mnt/data/13062025/03/57/image_13062025_03_58_04_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/58/image_13062025_03_58_54_8960.jpg', '/mnt/data/13062025/03/58/image_13062025_03_58_45_10220.jpg', '/mnt/data/13062025/03/58/image_13062025_03_58_35_10180.jpg', '/mnt/data/13062025/03/58/image_13062025_03_58_24_9975.jpg', '/mnt/data/13062025/03/58/image_13062025_03_58_14_10278.jpg', '/mnt/data/13062025/03/57/image_13062025_03_58_04_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/58/image_13062025_03_58_54_8960.jpg
/mnt/data/13062025/03/58/image_13062025_03_58_45_10220.jpg
/mnt/data/13062025/03/58/image_13062025_03_58_35_10180.jpg
/mnt/data/13062025/03/58/image_13062025_03_58_24_9975.jpg
/mnt/data/13062025/03/58/image_13062025_03_58_14_10278.jpg
/mnt/data/13062025/03/57/image_13062025_03_58_04_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":["1375749315","1375749284","1375749245","1375749146","1375749113","1375749076"],"photo_ids_order":["1375749076","1375749113","1375749146","1375749245","1375749284","1375749315"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/03fa1efac30bf9727ba1a908518f99af.jpg","text":"TemporaryFile(/tmp/multipartBody5613848626693208292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754599169446,"filename":"image_13062025_03_58_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/7/9c8c779f7a7a35df8bd3912c000929bc.jpg","text":"TemporaryFile(/tmp/multipartBody666594400681803966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754599169446,"filename":"image_13062025_03_58_14_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/7/515515b61e7ed44824ca09c3f79871cf.jpg","text":"TemporaryFile(/tmp/multipartBody3867377357852791689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754599169446,"filename":"image_13062025_03_58_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/7/9dc7d0a01857771647ce210eaceaa955.jpg","text":"TemporaryFile(/tmp/multipartBody3369552851419649309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754599169446,"filename":"image_13062025_03_58_35_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/7/6010356281a96248b3b96fed24a19546.jpg","text":"TemporaryFile(/tmp/multipartBody5339705589475500577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754599169446,"filename":"image_13062025_03_58_45_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/7/539c29ce725237518df31d5cc1a514a5.jpg","text":"TemporaryFile(/tmp/multipartBody8235585139778733807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754599169446,"filename":"image_13062025_03_58_54_8960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375749146","file1":"1375749113","file0":"1375749076","file4":"1375749284","file5":"1375749315","file3":"1375749245"},"map_files_photo_id_array":[{"photo_id":"1375749315","filename":"file5"},{"photo_id":"1375749146","filename":"file2"},{"photo_id":"1375749284","filename":"file4"},{"photo_id":"1375749113","filename":"file1"},{"photo_id":"1375749076","filename":"file0"},{"photo_id":"1375749245","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375749315":["hashtag1","hashtag2"]},{"1375749284":["hashtag1","hashtag2"]},{"1375749245":["hashtag1","hashtag2"]},{"1375749146":["hashtag1","hashtag2"]},{"1375749113":["hashtag1","hashtag2"]},{"1375749076":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375749315, 1375749284, 1375749245, 1375749146, 1375749113, 1375749076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.82067155838013 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:40:03.106544
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/57/image_13062025_03_57_54_10124.jpg', 2), ('/mnt/data/13062025/03/57/image_13062025_03_57_44_9085.jpg', 2), ('/mnt/data/13062025/03/57/image_13062025_03_57_35_10214.jpg', 2), ('/mnt/data/13062025/03/57/image_13062025_03_57_25_10239.jpg', 2), ('/mnt/data/13062025/03/57/image_13062025_03_57_14_10220.jpg', 2), ('/mnt/data/13062025/03/56/image_13062025_03_57_04_10256.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/57/image_13062025_03_57_54_10124.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_44_9085.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_35_10214.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_25_10239.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_14_10220.jpg', '/mnt/data/13062025/03/56/image_13062025_03_57_04_10256.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/57/image_13062025_03_57_54_10124.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_44_9085.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_35_10214.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_25_10239.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_14_10220.jpg', '/mnt/data/13062025/03/56/image_13062025_03_57_04_10256.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/57/image_13062025_03_57_54_10124.jpg
/mnt/data/13062025/03/57/image_13062025_03_57_44_9085.jpg
/mnt/data/13062025/03/57/image_13062025_03_57_35_10214.jpg
/mnt/data/13062025/03/57/image_13062025_03_57_25_10239.jpg
/mnt/data/13062025/03/57/image_13062025_03_57_14_10220.jpg
/mnt/data/13062025/03/56/image_13062025_03_57_04_10256.jpg
uploaded 0 photos
time to upload: 30.463608503341675 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:41:03.234733
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/57/image_13062025_03_57_54_10124.jpg', 2), ('/mnt/data/13062025/03/57/image_13062025_03_57_44_9085.jpg', 2), ('/mnt/data/13062025/03/57/image_13062025_03_57_35_10214.jpg', 2), ('/mnt/data/13062025/03/57/image_13062025_03_57_25_10239.jpg', 2), ('/mnt/data/13062025/03/57/image_13062025_03_57_14_10220.jpg', 2), ('/mnt/data/13062025/03/56/image_13062025_03_57_04_10256.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/57/image_13062025_03_57_54_10124.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_44_9085.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_35_10214.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_25_10239.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_14_10220.jpg', '/mnt/data/13062025/03/56/image_13062025_03_57_04_10256.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/57/image_13062025_03_57_54_10124.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_44_9085.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_35_10214.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_25_10239.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_14_10220.jpg', '/mnt/data/13062025/03/56/image_13062025_03_57_04_10256.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/57/image_13062025_03_57_54_10124.jpg
/mnt/data/13062025/03/57/image_13062025_03_57_44_9085.jpg
/mnt/data/13062025/03/57/image_13062025_03_57_35_10214.jpg
/mnt/data/13062025/03/57/image_13062025_03_57_25_10239.jpg
/mnt/data/13062025/03/57/image_13062025_03_57_14_10220.jpg
/mnt/data/13062025/03/56/image_13062025_03_57_04_10256.jpg
uploaded 0 photos
time to upload: 30.374038696289062 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:42:02.803275
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/57/image_13062025_03_57_54_10124.jpg', 2), ('/mnt/data/13062025/03/57/image_13062025_03_57_44_9085.jpg', 2), ('/mnt/data/13062025/03/57/image_13062025_03_57_35_10214.jpg', 2), ('/mnt/data/13062025/03/57/image_13062025_03_57_25_10239.jpg', 2), ('/mnt/data/13062025/03/57/image_13062025_03_57_14_10220.jpg', 2), ('/mnt/data/13062025/03/56/image_13062025_03_57_04_10256.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/57/image_13062025_03_57_54_10124.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_44_9085.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_35_10214.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_25_10239.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_14_10220.jpg', '/mnt/data/13062025/03/56/image_13062025_03_57_04_10256.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/57/image_13062025_03_57_54_10124.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_44_9085.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_35_10214.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_25_10239.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_14_10220.jpg', '/mnt/data/13062025/03/56/image_13062025_03_57_04_10256.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/57/image_13062025_03_57_54_10124.jpg
/mnt/data/13062025/03/57/image_13062025_03_57_44_9085.jpg
/mnt/data/13062025/03/57/image_13062025_03_57_35_10214.jpg
/mnt/data/13062025/03/57/image_13062025_03_57_25_10239.jpg
/mnt/data/13062025/03/57/image_13062025_03_57_14_10220.jpg
/mnt/data/13062025/03/56/image_13062025_03_57_04_10256.jpg
uploaded 0 photos
time to upload: 30.362804651260376 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:43:03.213197
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/57/image_13062025_03_57_54_10124.jpg', 2), ('/mnt/data/13062025/03/57/image_13062025_03_57_44_9085.jpg', 2), ('/mnt/data/13062025/03/57/image_13062025_03_57_35_10214.jpg', 2), ('/mnt/data/13062025/03/57/image_13062025_03_57_25_10239.jpg', 2), ('/mnt/data/13062025/03/57/image_13062025_03_57_14_10220.jpg', 2), ('/mnt/data/13062025/03/56/image_13062025_03_57_04_10256.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/57/image_13062025_03_57_54_10124.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_44_9085.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_35_10214.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_25_10239.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_14_10220.jpg', '/mnt/data/13062025/03/56/image_13062025_03_57_04_10256.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/57/image_13062025_03_57_54_10124.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_44_9085.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_35_10214.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_25_10239.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_14_10220.jpg', '/mnt/data/13062025/03/56/image_13062025_03_57_04_10256.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/57/image_13062025_03_57_54_10124.jpg
/mnt/data/13062025/03/57/image_13062025_03_57_44_9085.jpg
/mnt/data/13062025/03/57/image_13062025_03_57_35_10214.jpg
/mnt/data/13062025/03/57/image_13062025_03_57_25_10239.jpg
/mnt/data/13062025/03/57/image_13062025_03_57_14_10220.jpg
/mnt/data/13062025/03/56/image_13062025_03_57_04_10256.jpg
uploaded 0 photos
time to upload: 19.90761375427246 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-07 22:44:02.840776
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/57/image_13062025_03_57_54_10124.jpg', 2), ('/mnt/data/13062025/03/57/image_13062025_03_57_44_9085.jpg', 2), ('/mnt/data/13062025/03/57/image_13062025_03_57_35_10214.jpg', 2), ('/mnt/data/13062025/03/57/image_13062025_03_57_25_10239.jpg', 2), ('/mnt/data/13062025/03/57/image_13062025_03_57_14_10220.jpg', 2), ('/mnt/data/13062025/03/56/image_13062025_03_57_04_10256.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/57/image_13062025_03_57_54_10124.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_44_9085.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_35_10214.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_25_10239.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_14_10220.jpg', '/mnt/data/13062025/03/56/image_13062025_03_57_04_10256.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/57/image_13062025_03_57_54_10124.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_44_9085.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_35_10214.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_25_10239.jpg', '/mnt/data/13062025/03/57/image_13062025_03_57_14_10220.jpg', '/mnt/data/13062025/03/56/image_13062025_03_57_04_10256.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/57/image_13062025_03_57_54_10124.jpg
/mnt/data/13062025/03/57/image_13062025_03_57_44_9085.jpg
/mnt/data/13062025/03/57/image_13062025_03_57_35_10214.jpg
/mnt/data/13062025/03/57/image_13062025_03_57_25_10239.jpg
/mnt/data/13062025/03/57/image_13062025_03_57_14_10220.jpg
/mnt/data/13062025/03/56/image_13062025_03_57_04_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":["1375750688","1375750589","1375750555","1375750522","1375750624","1375750656"],"photo_ids_order":["1375750522","1375750555","1375750589","1375750624","1375750656","1375750688"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/a6898ae11f37db84e4158660314591c6.jpg","text":"TemporaryFile(/tmp/multipartBody8931990015196609560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754599529513,"filename":"image_13062025_03_57_04_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/7/3d0d35bcc69dae985cb1f685b056f862.jpg","text":"TemporaryFile(/tmp/multipartBody3045393066037529424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754599529513,"filename":"image_13062025_03_57_35_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/7/fd90acc9d1c455ff73ff646d84c35b5a.jpg","text":"TemporaryFile(/tmp/multipartBody3625214499771058077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754599529513,"filename":"image_13062025_03_57_44_9085.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d4e09014cd2030400264e93fa2216cf4.jpg","text":"TemporaryFile(/tmp/multipartBody1745547062356452997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754599529513,"filename":"image_13062025_03_57_54_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/7/ccb4fe0f22dc124132f4b5258afd27b9.jpg","text":"TemporaryFile(/tmp/multipartBody4862932589979045541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754599529513,"filename":"image_13062025_03_57_25_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/7/d799e3a634bcfae9d31c7de9775977e2.jpg","text":"TemporaryFile(/tmp/multipartBody1223540114520248684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754599529513,"filename":"image_13062025_03_57_14_10220.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375750589","file1":"1375750555","file0":"1375750522","file4":"1375750656","file5":"1375750688","file3":"1375750624"},"map_files_photo_id_array":[{"photo_id":"1375750688","filename":"file5"},{"photo_id":"1375750589","filename":"file2"},{"photo_id":"1375750656","filename":"file4"},{"photo_id":"1375750555","filename":"file1"},{"photo_id":"1375750522","filename":"file0"},{"photo_id":"1375750624","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375750688":["hashtag1","hashtag2"]},{"1375750589":["hashtag1","hashtag2"]},{"1375750555":["hashtag1","hashtag2"]},{"1375750522":["hashtag1","hashtag2"]},{"1375750624":["hashtag1","hashtag2"]},{"1375750656":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375750688, 1375750589, 1375750555, 1375750522, 1375750624, 1375750656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.40115928649902 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:46:03.256391
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/56/image_13062025_03_56_54_9008.jpg', 2), ('/mnt/data/13062025/03/56/image_13062025_03_56_45_10177.jpg', 2), ('/mnt/data/13062025/03/56/image_13062025_03_56_35_10111.jpg', 2), ('/mnt/data/13062025/03/56/image_13062025_03_56_25_10233.jpg', 2), ('/mnt/data/13062025/03/56/image_13062025_03_56_14_10132.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_56_04_10228.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/56/image_13062025_03_56_54_9008.jpg', '/mnt/data/13062025/03/56/image_13062025_03_56_45_10177.jpg', '/mnt/data/13062025/03/56/image_13062025_03_56_35_10111.jpg', '/mnt/data/13062025/03/56/image_13062025_03_56_25_10233.jpg', '/mnt/data/13062025/03/56/image_13062025_03_56_14_10132.jpg', '/mnt/data/13062025/03/55/image_13062025_03_56_04_10228.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/56/image_13062025_03_56_54_9008.jpg', '/mnt/data/13062025/03/56/image_13062025_03_56_45_10177.jpg', '/mnt/data/13062025/03/56/image_13062025_03_56_35_10111.jpg', '/mnt/data/13062025/03/56/image_13062025_03_56_25_10233.jpg', '/mnt/data/13062025/03/56/image_13062025_03_56_14_10132.jpg', '/mnt/data/13062025/03/55/image_13062025_03_56_04_10228.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/56/image_13062025_03_56_54_9008.jpg
/mnt/data/13062025/03/56/image_13062025_03_56_45_10177.jpg
/mnt/data/13062025/03/56/image_13062025_03_56_35_10111.jpg
/mnt/data/13062025/03/56/image_13062025_03_56_25_10233.jpg
/mnt/data/13062025/03/56/image_13062025_03_56_14_10132.jpg
/mnt/data/13062025/03/55/image_13062025_03_56_04_10228.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 23.59825372695923 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-07 22:47:03.547227
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/56/image_13062025_03_56_54_9008.jpg', 2), ('/mnt/data/13062025/03/56/image_13062025_03_56_45_10177.jpg', 2), ('/mnt/data/13062025/03/56/image_13062025_03_56_35_10111.jpg', 2), ('/mnt/data/13062025/03/56/image_13062025_03_56_25_10233.jpg', 2), ('/mnt/data/13062025/03/56/image_13062025_03_56_14_10132.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_56_04_10228.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/56/image_13062025_03_56_54_9008.jpg', '/mnt/data/13062025/03/56/image_13062025_03_56_45_10177.jpg', '/mnt/data/13062025/03/56/image_13062025_03_56_35_10111.jpg', '/mnt/data/13062025/03/56/image_13062025_03_56_25_10233.jpg', '/mnt/data/13062025/03/56/image_13062025_03_56_14_10132.jpg', '/mnt/data/13062025/03/55/image_13062025_03_56_04_10228.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/56/image_13062025_03_56_54_9008.jpg', '/mnt/data/13062025/03/56/image_13062025_03_56_45_10177.jpg', '/mnt/data/13062025/03/56/image_13062025_03_56_35_10111.jpg', '/mnt/data/13062025/03/56/image_13062025_03_56_25_10233.jpg', '/mnt/data/13062025/03/56/image_13062025_03_56_14_10132.jpg', '/mnt/data/13062025/03/55/image_13062025_03_56_04_10228.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/56/image_13062025_03_56_54_9008.jpg
/mnt/data/13062025/03/56/image_13062025_03_56_45_10177.jpg
/mnt/data/13062025/03/56/image_13062025_03_56_35_10111.jpg
/mnt/data/13062025/03/56/image_13062025_03_56_25_10233.jpg
/mnt/data/13062025/03/56/image_13062025_03_56_14_10132.jpg
/mnt/data/13062025/03/55/image_13062025_03_56_04_10228.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":["1375751591","1375751525","1375751656","1375751781","1375751721","1375751844"],"photo_ids_order":["1375751525","1375751591","1375751656","1375751721","1375751781","1375751844"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/20341d55c95d25ff8611f90bbcf301b9.jpg","text":"TemporaryFile(/tmp/multipartBody1284584724677403683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754599704151,"filename":"image_13062025_03_56_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/7/6eeb56cc3c50e3a3f34dd9cb4fceef36.jpg","text":"TemporaryFile(/tmp/multipartBody8942742677640362397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754599704151,"filename":"image_13062025_03_56_54_9008.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/5000f92f148367a734dbdf374d4e92b7.jpg","text":"TemporaryFile(/tmp/multipartBody369260180264276369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754599704151,"filename":"image_13062025_03_56_35_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/7/f45a062fc236fa060c753c5500770643.jpg","text":"TemporaryFile(/tmp/multipartBody3158022858959853936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754599704151,"filename":"image_13062025_03_56_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/7/a15585917cfec3efe36aee4d22034578.jpg","text":"TemporaryFile(/tmp/multipartBody1814583898341169067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754599704151,"filename":"image_13062025_03_56_25_10233.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/e4715eb2009a72e00c8b795cf9f58b4f.jpg","text":"TemporaryFile(/tmp/multipartBody6421795136899278720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754599704151,"filename":"image_13062025_03_56_04_10228.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375751656","file1":"1375751591","file0":"1375751525","file4":"1375751781","file5":"1375751844","file3":"1375751721"},"map_files_photo_id_array":[{"photo_id":"1375751844","filename":"file5"},{"photo_id":"1375751656","filename":"file2"},{"photo_id":"1375751781","filename":"file4"},{"photo_id":"1375751591","filename":"file1"},{"photo_id":"1375751525","filename":"file0"},{"photo_id":"1375751721","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375751591":["hashtag1","hashtag2"]},{"1375751525":["hashtag1","hashtag2"]},{"1375751656":["hashtag1","hashtag2"]},{"1375751781":["hashtag1","hashtag2"]},{"1375751721":["hashtag1","hashtag2"]},{"1375751844":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375751591, 1375751525, 1375751656, 1375751781, 1375751721, 1375751844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.60825252532959 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:49:03.111857
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg', 2), ('/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg', '/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg', '/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg
/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg
uploaded 0 photos
time to upload: 30.440326690673828 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:50:03.041092
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg', 2), ('/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg', '/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg', '/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg
/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg
uploaded 0 photos
time to upload: 30.372174501419067 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:51:02.614077
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg', 2), ('/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg', '/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg', '/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg
/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg
uploaded 0 photos
time to upload: 30.44241690635681 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:52:02.367237
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg', 2), ('/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg', '/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg', '/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg
/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg
uploaded 0 photos
time to upload: 30.377201080322266 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:53:03.356794
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg', 2), ('/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg', '/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg', '/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg
/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg
uploaded 0 photos
time to upload: 19.62063694000244 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-07 22:54:02.968831
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg', 2), ('/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg', '/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg', '/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg
/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg
uploaded 0 photos
time to upload: 31.41554546356201 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:55:03.050187
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg', 2), ('/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg', '/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg', '/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg
/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg
uploaded 0 photos
time to upload: 30.381881713867188 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:56:02.699580
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg', 2), ('/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg', 2), ('/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg', '/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg', '/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg', '/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/55/image_13062025_03_55_54_9046.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_45_10131.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_35_10053.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_25_10173.jpg
/mnt/data/13062025/03/55/image_13062025_03_55_15_10115.jpg
/mnt/data/13062025/03/54/image_13062025_03_55_04_10065.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":["1375755366","1375755363","1375755365","1375755335","1375755361","1375755343"],"photo_ids_order":["1375755335","1375755343","1375755361","1375755363","1375755365","1375755366"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/4c1cc190f5fb0cc3bcb1fcf2560eefcb.jpg","text":"TemporaryFile(/tmp/multipartBody5870525584362298949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600252594,"filename":"image_13062025_03_55_04_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/7/a1ef9c5e43f0aaa6801563075f4681c9.jpg","text":"TemporaryFile(/tmp/multipartBody5148200544126845658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600252594,"filename":"image_13062025_03_55_25_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/7/84a9201d9de9c5274ad0243cee3a7663.jpg","text":"TemporaryFile(/tmp/multipartBody4508996431895253515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600252594,"filename":"image_13062025_03_55_15_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/7/7cea8992ae4c971007e8174b675d151d.jpg","text":"TemporaryFile(/tmp/multipartBody7316408543737493748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600252594,"filename":"image_13062025_03_55_54_9046.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/48203b9e019c0cbbbe21e9095a374db1.jpg","text":"TemporaryFile(/tmp/multipartBody2535257231367981383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600252594,"filename":"image_13062025_03_55_35_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/7/ef7485e8207acaf30c63588a7708b018.jpg","text":"TemporaryFile(/tmp/multipartBody3603442748261216498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600252594,"filename":"image_13062025_03_55_45_10131.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375755361","file1":"1375755343","file0":"1375755335","file4":"1375755365","file5":"1375755366","file3":"1375755363"},"map_files_photo_id_array":[{"photo_id":"1375755366","filename":"file5"},{"photo_id":"1375755361","filename":"file2"},{"photo_id":"1375755365","filename":"file4"},{"photo_id":"1375755343","filename":"file1"},{"photo_id":"1375755335","filename":"file0"},{"photo_id":"1375755363","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375755366":["hashtag1","hashtag2"]},{"1375755363":["hashtag1","hashtag2"]},{"1375755365":["hashtag1","hashtag2"]},{"1375755335":["hashtag1","hashtag2"]},{"1375755361":["hashtag1","hashtag2"]},{"1375755343":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375755366, 1375755363, 1375755365, 1375755335, 1375755361, 1375755343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.9596049785614 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 22:59:02.577433
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/54/image_13062025_03_54_54_10157.jpg', 2), ('/mnt/data/13062025/03/54/image_13062025_03_54_44_10192.jpg', 2), ('/mnt/data/13062025/03/54/image_13062025_03_54_34_10097.jpg', 2), ('/mnt/data/13062025/03/54/image_13062025_03_54_24_9009.jpg', 2), ('/mnt/data/13062025/03/54/image_13062025_03_54_15_10225.jpg', 2), ('/mnt/data/13062025/03/53/image_13062025_03_54_05_10109.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/54/image_13062025_03_54_54_10157.jpg', '/mnt/data/13062025/03/54/image_13062025_03_54_44_10192.jpg', '/mnt/data/13062025/03/54/image_13062025_03_54_34_10097.jpg', '/mnt/data/13062025/03/54/image_13062025_03_54_24_9009.jpg', '/mnt/data/13062025/03/54/image_13062025_03_54_15_10225.jpg', '/mnt/data/13062025/03/53/image_13062025_03_54_05_10109.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/54/image_13062025_03_54_54_10157.jpg', '/mnt/data/13062025/03/54/image_13062025_03_54_44_10192.jpg', '/mnt/data/13062025/03/54/image_13062025_03_54_34_10097.jpg', '/mnt/data/13062025/03/54/image_13062025_03_54_24_9009.jpg', '/mnt/data/13062025/03/54/image_13062025_03_54_15_10225.jpg', '/mnt/data/13062025/03/53/image_13062025_03_54_05_10109.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/54/image_13062025_03_54_54_10157.jpg
/mnt/data/13062025/03/54/image_13062025_03_54_44_10192.jpg
/mnt/data/13062025/03/54/image_13062025_03_54_34_10097.jpg
/mnt/data/13062025/03/54/image_13062025_03_54_24_9009.jpg
/mnt/data/13062025/03/54/image_13062025_03_54_15_10225.jpg
/mnt/data/13062025/03/53/image_13062025_03_54_05_10109.jpg
uploaded 0 photos
time to upload: 30.487224578857422 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:00:02.334931
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/54/image_13062025_03_54_54_10157.jpg', 2), ('/mnt/data/13062025/03/54/image_13062025_03_54_44_10192.jpg', 2), ('/mnt/data/13062025/03/54/image_13062025_03_54_34_10097.jpg', 2), ('/mnt/data/13062025/03/54/image_13062025_03_54_24_9009.jpg', 2), ('/mnt/data/13062025/03/54/image_13062025_03_54_15_10225.jpg', 2), ('/mnt/data/13062025/03/53/image_13062025_03_54_05_10109.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/54/image_13062025_03_54_54_10157.jpg', '/mnt/data/13062025/03/54/image_13062025_03_54_44_10192.jpg', '/mnt/data/13062025/03/54/image_13062025_03_54_34_10097.jpg', '/mnt/data/13062025/03/54/image_13062025_03_54_24_9009.jpg', '/mnt/data/13062025/03/54/image_13062025_03_54_15_10225.jpg', '/mnt/data/13062025/03/53/image_13062025_03_54_05_10109.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/54/image_13062025_03_54_54_10157.jpg', '/mnt/data/13062025/03/54/image_13062025_03_54_44_10192.jpg', '/mnt/data/13062025/03/54/image_13062025_03_54_34_10097.jpg', '/mnt/data/13062025/03/54/image_13062025_03_54_24_9009.jpg', '/mnt/data/13062025/03/54/image_13062025_03_54_15_10225.jpg', '/mnt/data/13062025/03/53/image_13062025_03_54_05_10109.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/54/image_13062025_03_54_54_10157.jpg
/mnt/data/13062025/03/54/image_13062025_03_54_44_10192.jpg
/mnt/data/13062025/03/54/image_13062025_03_54_34_10097.jpg
/mnt/data/13062025/03/54/image_13062025_03_54_24_9009.jpg
/mnt/data/13062025/03/54/image_13062025_03_54_15_10225.jpg
/mnt/data/13062025/03/53/image_13062025_03_54_05_10109.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375757357","1375757563","1375757530","1375757323","1375757410","1375757475"],"photo_ids_order":["1375757323","1375757357","1375757410","1375757475","1375757530","1375757563"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/a6f1b057b5e3e6fe626fdea4bb7b671e.jpg","text":"TemporaryFile(/tmp/multipartBody1262157628135661902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600477599,"filename":"image_13062025_03_54_44_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/7/b7877a6365318bbd2e7d085c280119a3.jpg","text":"TemporaryFile(/tmp/multipartBody606963874910344969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600477599,"filename":"image_13062025_03_54_05_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/7/51bb1ac95ff1a5820289ba5460805801.jpg","text":"TemporaryFile(/tmp/multipartBody958958379998055586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600477599,"filename":"image_13062025_03_54_15_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/7/7d97379ec501dd9811824aff622986f6.jpg","text":"TemporaryFile(/tmp/multipartBody2133924848389757406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600477599,"filename":"image_13062025_03_54_54_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/7/48563f6caff462c06487cfb62a300b43.jpg","text":"TemporaryFile(/tmp/multipartBody8391534867767405566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600477599,"filename":"image_13062025_03_54_34_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/7/bd63be7a7e32f9d1ade8a8a73a2d22a0.jpg","text":"TemporaryFile(/tmp/multipartBody254980763541722911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600477599,"filename":"image_13062025_03_54_24_9009.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375757410","file1":"1375757357","file0":"1375757323","file4":"1375757530","file5":"1375757563","file3":"1375757475"},"map_files_photo_id_array":[{"photo_id":"1375757563","filename":"file5"},{"photo_id":"1375757410","filename":"file2"},{"photo_id":"1375757530","filename":"file4"},{"photo_id":"1375757357","filename":"file1"},{"photo_id":"1375757323","filename":"file0"},{"photo_id":"1375757475","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375757357":["hashtag1","hashtag2"]},{"1375757563":["hashtag1","hashtag2"]},{"1375757530":["hashtag1","hashtag2"]},{"1375757323":["hashtag1","hashtag2"]},{"1375757410":["hashtag1","hashtag2"]},{"1375757475":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375757357, 1375757563, 1375757530, 1375757323, 1375757410, 1375757475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.4568932056427 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:01:03.129153
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/53/image_13062025_03_53_55_10069.jpg', 2), ('/mnt/data/13062025/03/53/image_13062025_03_53_44_10171.jpg', 2), ('/mnt/data/13062025/03/53/image_13062025_03_53_34_10128.jpg', 2), ('/mnt/data/13062025/03/53/image_13062025_03_53_24_10053.jpg', 2), ('/mnt/data/13062025/03/53/image_13062025_03_53_14_10108.jpg', 2), ('/mnt/data/13062025/03/52/image_13062025_03_53_04_10115.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/53/image_13062025_03_53_55_10069.jpg', '/mnt/data/13062025/03/53/image_13062025_03_53_44_10171.jpg', '/mnt/data/13062025/03/53/image_13062025_03_53_34_10128.jpg', '/mnt/data/13062025/03/53/image_13062025_03_53_24_10053.jpg', '/mnt/data/13062025/03/53/image_13062025_03_53_14_10108.jpg', '/mnt/data/13062025/03/52/image_13062025_03_53_04_10115.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/53/image_13062025_03_53_55_10069.jpg', '/mnt/data/13062025/03/53/image_13062025_03_53_44_10171.jpg', '/mnt/data/13062025/03/53/image_13062025_03_53_34_10128.jpg', '/mnt/data/13062025/03/53/image_13062025_03_53_24_10053.jpg', '/mnt/data/13062025/03/53/image_13062025_03_53_14_10108.jpg', '/mnt/data/13062025/03/52/image_13062025_03_53_04_10115.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/53/image_13062025_03_53_55_10069.jpg
/mnt/data/13062025/03/53/image_13062025_03_53_44_10171.jpg
/mnt/data/13062025/03/53/image_13062025_03_53_34_10128.jpg
/mnt/data/13062025/03/53/image_13062025_03_53_24_10053.jpg
/mnt/data/13062025/03/53/image_13062025_03_53_14_10108.jpg
/mnt/data/13062025/03/52/image_13062025_03_53_04_10115.jpg
uploaded 0 photos
time to upload: 30.41883611679077 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:02:02.808114
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/53/image_13062025_03_53_55_10069.jpg', 2), ('/mnt/data/13062025/03/53/image_13062025_03_53_44_10171.jpg', 2), ('/mnt/data/13062025/03/53/image_13062025_03_53_34_10128.jpg', 2), ('/mnt/data/13062025/03/53/image_13062025_03_53_24_10053.jpg', 2), ('/mnt/data/13062025/03/53/image_13062025_03_53_14_10108.jpg', 2), ('/mnt/data/13062025/03/52/image_13062025_03_53_04_10115.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/53/image_13062025_03_53_55_10069.jpg', '/mnt/data/13062025/03/53/image_13062025_03_53_44_10171.jpg', '/mnt/data/13062025/03/53/image_13062025_03_53_34_10128.jpg', '/mnt/data/13062025/03/53/image_13062025_03_53_24_10053.jpg', '/mnt/data/13062025/03/53/image_13062025_03_53_14_10108.jpg', '/mnt/data/13062025/03/52/image_13062025_03_53_04_10115.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/53/image_13062025_03_53_55_10069.jpg', '/mnt/data/13062025/03/53/image_13062025_03_53_44_10171.jpg', '/mnt/data/13062025/03/53/image_13062025_03_53_34_10128.jpg', '/mnt/data/13062025/03/53/image_13062025_03_53_24_10053.jpg', '/mnt/data/13062025/03/53/image_13062025_03_53_14_10108.jpg', '/mnt/data/13062025/03/52/image_13062025_03_53_04_10115.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/53/image_13062025_03_53_55_10069.jpg
/mnt/data/13062025/03/53/image_13062025_03_53_44_10171.jpg
/mnt/data/13062025/03/53/image_13062025_03_53_34_10128.jpg
/mnt/data/13062025/03/53/image_13062025_03_53_24_10053.jpg
/mnt/data/13062025/03/53/image_13062025_03_53_14_10108.jpg
/mnt/data/13062025/03/52/image_13062025_03_53_04_10115.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":["1375758425","1375758373","1375758424","1375758427","1375758396","1375758400"],"photo_ids_order":["1375758373","1375758396","1375758400","1375758424","1375758425","1375758427"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/c013b656e1eb10847b3901371505cd33.jpg","text":"TemporaryFile(/tmp/multipartBody3739172154785994506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600610118,"filename":"image_13062025_03_53_14_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/7/49a19de3cf2c293dcd7ba8ed5f66d16e.jpg","text":"TemporaryFile(/tmp/multipartBody6621468553256178246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600610118,"filename":"image_13062025_03_53_55_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/7/2f8cf741b3c18c5778c55cd3d458b2dc.jpg","text":"TemporaryFile(/tmp/multipartBody2526347938845025003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600610118,"filename":"image_13062025_03_53_24_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/7/e419df67c321b464f00051652c4815dd.jpg","text":"TemporaryFile(/tmp/multipartBody8699785183051323279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600610118,"filename":"image_13062025_03_53_04_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/7/c2ed5c266a95e7a8f82e8c63e78d9201.jpg","text":"TemporaryFile(/tmp/multipartBody897780516201826665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600610118,"filename":"image_13062025_03_53_44_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/7/95b3fc80dc5de701be51c708ca5ea76e.jpg","text":"TemporaryFile(/tmp/multipartBody4312598871247744746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600610118,"filename":"image_13062025_03_53_34_10128.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375758400","file1":"1375758396","file0":"1375758373","file4":"1375758425","file5":"1375758427","file3":"1375758424"},"map_files_photo_id_array":[{"photo_id":"1375758427","filename":"file5"},{"photo_id":"1375758400","filename":"file2"},{"photo_id":"1375758425","filename":"file4"},{"photo_id":"1375758396","filename":"file1"},{"photo_id":"1375758373","filename":"file0"},{"photo_id":"1375758424","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375758425":["hashtag1","hashtag2"]},{"1375758373":["hashtag1","hashtag2"]},{"1375758424":["hashtag1","hashtag2"]},{"1375758427":["hashtag1","hashtag2"]},{"1375758396":["hashtag1","hashtag2"]},{"1375758400":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375758425, 1375758373, 1375758424, 1375758427, 1375758396, 1375758400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.26786589622498 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:04:02.814685
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/52/image_13062025_03_52_54_10001.jpg', 2), ('/mnt/data/13062025/03/52/image_13062025_03_52_44_10040.jpg', 2), ('/mnt/data/13062025/03/52/image_13062025_03_52_34_10105.jpg', 2), ('/mnt/data/13062025/03/51/image_13062025_03_51_34_10065.jpg', 2), ('/mnt/data/13062025/03/50/image_13062025_03_50_24_9961.jpg', 2), ('/mnt/data/13062025/03/50/image_13062025_03_50_14_9953.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/52/image_13062025_03_52_54_10001.jpg', '/mnt/data/13062025/03/52/image_13062025_03_52_44_10040.jpg', '/mnt/data/13062025/03/52/image_13062025_03_52_34_10105.jpg', '/mnt/data/13062025/03/51/image_13062025_03_51_34_10065.jpg', '/mnt/data/13062025/03/50/image_13062025_03_50_24_9961.jpg', '/mnt/data/13062025/03/50/image_13062025_03_50_14_9953.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/52/image_13062025_03_52_54_10001.jpg', '/mnt/data/13062025/03/52/image_13062025_03_52_44_10040.jpg', '/mnt/data/13062025/03/52/image_13062025_03_52_34_10105.jpg', '/mnt/data/13062025/03/51/image_13062025_03_51_34_10065.jpg', '/mnt/data/13062025/03/50/image_13062025_03_50_24_9961.jpg', '/mnt/data/13062025/03/50/image_13062025_03_50_14_9953.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/52/image_13062025_03_52_54_10001.jpg
/mnt/data/13062025/03/52/image_13062025_03_52_44_10040.jpg
/mnt/data/13062025/03/52/image_13062025_03_52_34_10105.jpg
/mnt/data/13062025/03/51/image_13062025_03_51_34_10065.jpg
/mnt/data/13062025/03/50/image_13062025_03_50_24_9961.jpg
/mnt/data/13062025/03/50/image_13062025_03_50_14_9953.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":["1375758467","1375758475","1375758478","1375758463","1375758471","1375758482"],"photo_ids_order":["1375758463","1375758467","1375758471","1375758475","1375758478","1375758482"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/9636c75208b0994aaaba321c85d8f552.jpg","text":"TemporaryFile(/tmp/multipartBody1075575358340139790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600719720,"filename":"image_13062025_03_52_44_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/7/9500b20aaeb15dc4a5e075dd9b6de49e.jpg","text":"TemporaryFile(/tmp/multipartBody8204043231668229984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600719720,"filename":"image_13062025_03_51_34_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/7/a8f613be80170bb445df3c255d1d817d.jpg","text":"TemporaryFile(/tmp/multipartBody13987912300918333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600719720,"filename":"image_13062025_03_50_24_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/7/d2fa6e43a5b0a3e32ba0c37af0616ac5.jpg","text":"TemporaryFile(/tmp/multipartBody7680983535327836785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600719720,"filename":"image_13062025_03_52_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/7/baeab6317cfddd2d47f5300af68cdbd9.jpg","text":"TemporaryFile(/tmp/multipartBody4971603219243539969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600719720,"filename":"image_13062025_03_52_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/7/c9f014a7be3ce2638ddd2f85518a66fc.jpg","text":"TemporaryFile(/tmp/multipartBody8727990354449074770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600719720,"filename":"image_13062025_03_50_14_9953.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375758471","file1":"1375758467","file0":"1375758463","file4":"1375758478","file5":"1375758482","file3":"1375758475"},"map_files_photo_id_array":[{"photo_id":"1375758482","filename":"file5"},{"photo_id":"1375758471","filename":"file2"},{"photo_id":"1375758478","filename":"file4"},{"photo_id":"1375758467","filename":"file1"},{"photo_id":"1375758463","filename":"file0"},{"photo_id":"1375758475","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375758467":["hashtag1","hashtag2"]},{"1375758475":["hashtag1","hashtag2"]},{"1375758478":["hashtag1","hashtag2"]},{"1375758463":["hashtag1","hashtag2"]},{"1375758471":["hashtag1","hashtag2"]},{"1375758482":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375758467, 1375758475, 1375758478, 1375758463, 1375758471, 1375758482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.3092725276947 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:06:02.374494
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/49/image_13062025_03_50_04_10073.jpg', 2), ('/mnt/data/13062025/03/49/image_13062025_03_49_54_10063.jpg', 2), ('/mnt/data/13062025/03/49/image_13062025_03_49_44_9050.jpg', 2), ('/mnt/data/13062025/03/49/image_13062025_03_49_35_10113.jpg', 2), ('/mnt/data/13062025/03/49/image_13062025_03_49_25_10124.jpg', 2), ('/mnt/data/13062025/03/49/image_13062025_03_49_14_10038.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/49/image_13062025_03_50_04_10073.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_54_10063.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_44_9050.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_35_10113.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_25_10124.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_14_10038.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/49/image_13062025_03_50_04_10073.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_54_10063.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_44_9050.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_35_10113.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_25_10124.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_14_10038.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/49/image_13062025_03_50_04_10073.jpg
/mnt/data/13062025/03/49/image_13062025_03_49_54_10063.jpg
/mnt/data/13062025/03/49/image_13062025_03_49_44_9050.jpg
/mnt/data/13062025/03/49/image_13062025_03_49_35_10113.jpg
/mnt/data/13062025/03/49/image_13062025_03_49_25_10124.jpg
/mnt/data/13062025/03/49/image_13062025_03_49_14_10038.jpg
uploaded 0 photos
time to upload: 30.437886476516724 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:07:02.860064
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/49/image_13062025_03_50_04_10073.jpg', 2), ('/mnt/data/13062025/03/49/image_13062025_03_49_54_10063.jpg', 2), ('/mnt/data/13062025/03/49/image_13062025_03_49_44_9050.jpg', 2), ('/mnt/data/13062025/03/49/image_13062025_03_49_35_10113.jpg', 2), ('/mnt/data/13062025/03/49/image_13062025_03_49_25_10124.jpg', 2), ('/mnt/data/13062025/03/49/image_13062025_03_49_14_10038.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/49/image_13062025_03_50_04_10073.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_54_10063.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_44_9050.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_35_10113.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_25_10124.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_14_10038.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/49/image_13062025_03_50_04_10073.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_54_10063.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_44_9050.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_35_10113.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_25_10124.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_14_10038.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/49/image_13062025_03_50_04_10073.jpg
/mnt/data/13062025/03/49/image_13062025_03_49_54_10063.jpg
/mnt/data/13062025/03/49/image_13062025_03_49_44_9050.jpg
/mnt/data/13062025/03/49/image_13062025_03_49_35_10113.jpg
/mnt/data/13062025/03/49/image_13062025_03_49_25_10124.jpg
/mnt/data/13062025/03/49/image_13062025_03_49_14_10038.jpg
uploaded 0 photos
time to upload: 30.356642961502075 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:08:03.029034
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/49/image_13062025_03_50_04_10073.jpg', 2), ('/mnt/data/13062025/03/49/image_13062025_03_49_54_10063.jpg', 2), ('/mnt/data/13062025/03/49/image_13062025_03_49_44_9050.jpg', 2), ('/mnt/data/13062025/03/49/image_13062025_03_49_35_10113.jpg', 2), ('/mnt/data/13062025/03/49/image_13062025_03_49_25_10124.jpg', 2), ('/mnt/data/13062025/03/49/image_13062025_03_49_14_10038.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/49/image_13062025_03_50_04_10073.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_54_10063.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_44_9050.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_35_10113.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_25_10124.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_14_10038.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/49/image_13062025_03_50_04_10073.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_54_10063.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_44_9050.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_35_10113.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_25_10124.jpg', '/mnt/data/13062025/03/49/image_13062025_03_49_14_10038.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/49/image_13062025_03_50_04_10073.jpg
/mnt/data/13062025/03/49/image_13062025_03_49_54_10063.jpg
/mnt/data/13062025/03/49/image_13062025_03_49_44_9050.jpg
/mnt/data/13062025/03/49/image_13062025_03_49_35_10113.jpg
/mnt/data/13062025/03/49/image_13062025_03_49_25_10124.jpg
/mnt/data/13062025/03/49/image_13062025_03_49_14_10038.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":["1375758941","1375758944","1375758942","1375758936","1375758939","1375758932"],"photo_ids_order":["1375758932","1375758936","1375758939","1375758941","1375758942","1375758944"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/591c048076cc0734c391777beac9d028.jpg","text":"TemporaryFile(/tmp/multipartBody8621937245306456402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600967704,"filename":"image_13062025_03_49_35_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/7/c0d141327e4c5e827c19b12e752260b4.jpg","text":"TemporaryFile(/tmp/multipartBody5892996185858212867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600967704,"filename":"image_13062025_03_49_14_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/7/c0f61bf9c2c139dd6bfaa54453a3a384.jpg","text":"TemporaryFile(/tmp/multipartBody2423751672023265451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600967704,"filename":"image_13062025_03_49_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/7/5fb17bb5d087c3529ba4ba1ab516f366.jpg","text":"TemporaryFile(/tmp/multipartBody1320722396371498893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600967704,"filename":"image_13062025_03_49_54_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/7/cc46d0dc83eb10a7b4ad10613f7afcb1.jpg","text":"TemporaryFile(/tmp/multipartBody2058416108303592468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600967704,"filename":"image_13062025_03_49_44_9050.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/dbbd54fa0cbf1b02b071cad161025006.jpg","text":"TemporaryFile(/tmp/multipartBody3267680684894488393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754600967704,"filename":"image_13062025_03_50_04_10073.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375758939","file1":"1375758936","file0":"1375758932","file4":"1375758942","file5":"1375758944","file3":"1375758941"},"map_files_photo_id_array":[{"photo_id":"1375758944","filename":"file5"},{"photo_id":"1375758939","filename":"file2"},{"photo_id":"1375758942","filename":"file4"},{"photo_id":"1375758936","filename":"file1"},{"photo_id":"1375758932","filename":"file0"},{"photo_id":"1375758941","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375758941":["hashtag1","hashtag2"]},{"1375758944":["hashtag1","hashtag2"]},{"1375758942":["hashtag1","hashtag2"]},{"1375758936":["hashtag1","hashtag2"]},{"1375758939":["hashtag1","hashtag2"]},{"1375758932":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375758941, 1375758944, 1375758942, 1375758936, 1375758939, 1375758932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.64456510543823 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:10:02.248328
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/48/image_13062025_03_49_04_10347.jpg', 2), ('/mnt/data/13062025/03/48/image_13062025_03_48_54_10165.jpg', 2), ('/mnt/data/13062025/03/48/image_13062025_03_48_44_10124.jpg', 2), ('/mnt/data/13062025/03/48/image_13062025_03_48_34_8911.jpg', 2), ('/mnt/data/13062025/03/48/image_13062025_03_48_25_10219.jpg', 2), ('/mnt/data/13062025/03/48/image_13062025_03_48_15_10301.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/48/image_13062025_03_49_04_10347.jpg', '/mnt/data/13062025/03/48/image_13062025_03_48_54_10165.jpg', '/mnt/data/13062025/03/48/image_13062025_03_48_44_10124.jpg', '/mnt/data/13062025/03/48/image_13062025_03_48_34_8911.jpg', '/mnt/data/13062025/03/48/image_13062025_03_48_25_10219.jpg', '/mnt/data/13062025/03/48/image_13062025_03_48_15_10301.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/48/image_13062025_03_49_04_10347.jpg', '/mnt/data/13062025/03/48/image_13062025_03_48_54_10165.jpg', '/mnt/data/13062025/03/48/image_13062025_03_48_44_10124.jpg', '/mnt/data/13062025/03/48/image_13062025_03_48_34_8911.jpg', '/mnt/data/13062025/03/48/image_13062025_03_48_25_10219.jpg', '/mnt/data/13062025/03/48/image_13062025_03_48_15_10301.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/48/image_13062025_03_49_04_10347.jpg
/mnt/data/13062025/03/48/image_13062025_03_48_54_10165.jpg
/mnt/data/13062025/03/48/image_13062025_03_48_44_10124.jpg
/mnt/data/13062025/03/48/image_13062025_03_48_34_8911.jpg
/mnt/data/13062025/03/48/image_13062025_03_48_25_10219.jpg
/mnt/data/13062025/03/48/image_13062025_03_48_15_10301.jpg
uploaded 0 photos
time to upload: 30.424935340881348 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:11:02.976077
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/48/image_13062025_03_49_04_10347.jpg', 2), ('/mnt/data/13062025/03/48/image_13062025_03_48_54_10165.jpg', 2), ('/mnt/data/13062025/03/48/image_13062025_03_48_44_10124.jpg', 2), ('/mnt/data/13062025/03/48/image_13062025_03_48_34_8911.jpg', 2), ('/mnt/data/13062025/03/48/image_13062025_03_48_25_10219.jpg', 2), ('/mnt/data/13062025/03/48/image_13062025_03_48_15_10301.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/48/image_13062025_03_49_04_10347.jpg', '/mnt/data/13062025/03/48/image_13062025_03_48_54_10165.jpg', '/mnt/data/13062025/03/48/image_13062025_03_48_44_10124.jpg', '/mnt/data/13062025/03/48/image_13062025_03_48_34_8911.jpg', '/mnt/data/13062025/03/48/image_13062025_03_48_25_10219.jpg', '/mnt/data/13062025/03/48/image_13062025_03_48_15_10301.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/48/image_13062025_03_49_04_10347.jpg', '/mnt/data/13062025/03/48/image_13062025_03_48_54_10165.jpg', '/mnt/data/13062025/03/48/image_13062025_03_48_44_10124.jpg', '/mnt/data/13062025/03/48/image_13062025_03_48_34_8911.jpg', '/mnt/data/13062025/03/48/image_13062025_03_48_25_10219.jpg', '/mnt/data/13062025/03/48/image_13062025_03_48_15_10301.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/48/image_13062025_03_49_04_10347.jpg
/mnt/data/13062025/03/48/image_13062025_03_48_54_10165.jpg
/mnt/data/13062025/03/48/image_13062025_03_48_44_10124.jpg
/mnt/data/13062025/03/48/image_13062025_03_48_34_8911.jpg
/mnt/data/13062025/03/48/image_13062025_03_48_25_10219.jpg
/mnt/data/13062025/03/48/image_13062025_03_48_15_10301.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375759018","1375759015","1375759128","1375759088","1375759052","1375759013"],"photo_ids_order":["1375759013","1375759015","1375759018","1375759052","1375759088","1375759128"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/064a2f8fd9f9a2862db129c09dad90eb.jpg","text":"TemporaryFile(/tmp/multipartBody5498019089419074551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601134209,"filename":"image_13062025_03_48_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/7/4c7c9719bbe352793847711922cf7dbc.jpg","text":"TemporaryFile(/tmp/multipartBody1812661487403684267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601134209,"filename":"image_13062025_03_48_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/7/553fa6c73a97fc835926197a48c43c52.jpg","text":"TemporaryFile(/tmp/multipartBody4621048043187917650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601134209,"filename":"image_13062025_03_48_15_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/7/e665dde32227f81f469e1c1de2867d80.jpg","text":"TemporaryFile(/tmp/multipartBody5188188171823013012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601134209,"filename":"image_13062025_03_48_25_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/7/d15c2bf85feb069cc6f64e5a5ed82310.jpg","text":"TemporaryFile(/tmp/multipartBody7237111887496984053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601134209,"filename":"image_13062025_03_48_34_8911.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/ad250f956c6661db53a7ee4373162376.jpg","text":"TemporaryFile(/tmp/multipartBody5528947138939851374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601134209,"filename":"image_13062025_03_49_04_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375759018","file1":"1375759015","file0":"1375759013","file4":"1375759088","file5":"1375759128","file3":"1375759052"},"map_files_photo_id_array":[{"photo_id":"1375759128","filename":"file5"},{"photo_id":"1375759018","filename":"file2"},{"photo_id":"1375759088","filename":"file4"},{"photo_id":"1375759015","filename":"file1"},{"photo_id":"1375759013","filename":"file0"},{"photo_id":"1375759052","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375759018":["hashtag1","hashtag2"]},{"1375759015":["hashtag1","hashtag2"]},{"1375759128":["hashtag1","hashtag2"]},{"1375759088":["hashtag1","hashtag2"]},{"1375759052":["hashtag1","hashtag2"]},{"1375759013":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375759018, 1375759015, 1375759128, 1375759088, 1375759052, 1375759013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.2971076965332 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:12:02.203529
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/47/image_13062025_03_48_04_10341.jpg', 2), ('/mnt/data/13062025/03/47/image_13062025_03_47_54_10147.jpg', 2), ('/mnt/data/13062025/03/47/image_13062025_03_47_44_10117.jpg', 2), ('/mnt/data/13062025/03/47/image_13062025_03_47_34_8921.jpg', 2), ('/mnt/data/13062025/03/47/image_13062025_03_47_25_10185.jpg', 2), ('/mnt/data/13062025/03/47/image_13062025_03_47_15_10225.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/47/image_13062025_03_48_04_10341.jpg', '/mnt/data/13062025/03/47/image_13062025_03_47_54_10147.jpg', '/mnt/data/13062025/03/47/image_13062025_03_47_44_10117.jpg', '/mnt/data/13062025/03/47/image_13062025_03_47_34_8921.jpg', '/mnt/data/13062025/03/47/image_13062025_03_47_25_10185.jpg', '/mnt/data/13062025/03/47/image_13062025_03_47_15_10225.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/47/image_13062025_03_48_04_10341.jpg', '/mnt/data/13062025/03/47/image_13062025_03_47_54_10147.jpg', '/mnt/data/13062025/03/47/image_13062025_03_47_44_10117.jpg', '/mnt/data/13062025/03/47/image_13062025_03_47_34_8921.jpg', '/mnt/data/13062025/03/47/image_13062025_03_47_25_10185.jpg', '/mnt/data/13062025/03/47/image_13062025_03_47_15_10225.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/47/image_13062025_03_48_04_10341.jpg
/mnt/data/13062025/03/47/image_13062025_03_47_54_10147.jpg
/mnt/data/13062025/03/47/image_13062025_03_47_44_10117.jpg
/mnt/data/13062025/03/47/image_13062025_03_47_34_8921.jpg
/mnt/data/13062025/03/47/image_13062025_03_47_25_10185.jpg
/mnt/data/13062025/03/47/image_13062025_03_47_15_10225.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":["1375760321","1375759867","1375759933","1375759801","1375759665","1375759736"],"photo_ids_order":["1375759665","1375759736","1375759801","1375759867","1375759933","1375760321"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/7e87a45831ca72769ccce51520c72975.jpg","text":"TemporaryFile(/tmp/multipartBody421377676950097963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601203833,"filename":"image_13062025_03_47_15_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/7/a0a0797842df1a7cda5df1a892566309.jpg","text":"TemporaryFile(/tmp/multipartBody630494920392478741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601203833,"filename":"image_13062025_03_47_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/7/c8027d781b4c13a7d660d06a37dddd66.jpg","text":"TemporaryFile(/tmp/multipartBody3217712508142727425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601203833,"filename":"image_13062025_03_47_25_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/7/72210db84a5011ad3fbd8ef9e04ab819.jpg","text":"TemporaryFile(/tmp/multipartBody6179232492081792930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601203833,"filename":"image_13062025_03_47_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/7/537ed473e8711eed9f9238cd4d84493d.jpg","text":"TemporaryFile(/tmp/multipartBody2102000530830192350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601203833,"filename":"image_13062025_03_48_04_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/7/6944ece7baf2d381094202cfbc3e6423.jpg","text":"TemporaryFile(/tmp/multipartBody7292323976099710411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601203833,"filename":"image_13062025_03_47_54_10147.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375759801","file1":"1375759736","file0":"1375759665","file4":"1375759933","file5":"1375760321","file3":"1375759867"},"map_files_photo_id_array":[{"photo_id":"1375760321","filename":"file5"},{"photo_id":"1375759801","filename":"file2"},{"photo_id":"1375759933","filename":"file4"},{"photo_id":"1375759736","filename":"file1"},{"photo_id":"1375759665","filename":"file0"},{"photo_id":"1375759867","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375760321":["hashtag1","hashtag2"]},{"1375759867":["hashtag1","hashtag2"]},{"1375759933":["hashtag1","hashtag2"]},{"1375759801":["hashtag1","hashtag2"]},{"1375759665":["hashtag1","hashtag2"]},{"1375759736":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375760321, 1375759867, 1375759933, 1375759801, 1375759665, 1375759736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.12467980384827 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:14:02.579964
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/46/image_13062025_03_47_04_10228.jpg', 2), ('/mnt/data/13062025/03/46/image_13062025_03_46_54_9991.jpg', 2), ('/mnt/data/13062025/03/44/image_13062025_03_44_44_8972.jpg', 2), ('/mnt/data/13062025/03/44/image_13062025_03_44_35_10157.jpg', 2), ('/mnt/data/13062025/03/44/image_13062025_03_44_25_10195.jpg', 2), ('/mnt/data/13062025/03/44/image_13062025_03_44_14_10205.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/46/image_13062025_03_47_04_10228.jpg', '/mnt/data/13062025/03/46/image_13062025_03_46_54_9991.jpg', '/mnt/data/13062025/03/44/image_13062025_03_44_44_8972.jpg', '/mnt/data/13062025/03/44/image_13062025_03_44_35_10157.jpg', '/mnt/data/13062025/03/44/image_13062025_03_44_25_10195.jpg', '/mnt/data/13062025/03/44/image_13062025_03_44_14_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/46/image_13062025_03_47_04_10228.jpg', '/mnt/data/13062025/03/46/image_13062025_03_46_54_9991.jpg', '/mnt/data/13062025/03/44/image_13062025_03_44_44_8972.jpg', '/mnt/data/13062025/03/44/image_13062025_03_44_35_10157.jpg', '/mnt/data/13062025/03/44/image_13062025_03_44_25_10195.jpg', '/mnt/data/13062025/03/44/image_13062025_03_44_14_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/46/image_13062025_03_47_04_10228.jpg
/mnt/data/13062025/03/46/image_13062025_03_46_54_9991.jpg
/mnt/data/13062025/03/44/image_13062025_03_44_44_8972.jpg
/mnt/data/13062025/03/44/image_13062025_03_44_35_10157.jpg
/mnt/data/13062025/03/44/image_13062025_03_44_25_10195.jpg
/mnt/data/13062025/03/44/image_13062025_03_44_14_10205.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 16.970632791519165 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-07 23:15:03.272625
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/46/image_13062025_03_47_04_10228.jpg', 2), ('/mnt/data/13062025/03/46/image_13062025_03_46_54_9991.jpg', 2), ('/mnt/data/13062025/03/44/image_13062025_03_44_44_8972.jpg', 2), ('/mnt/data/13062025/03/44/image_13062025_03_44_35_10157.jpg', 2), ('/mnt/data/13062025/03/44/image_13062025_03_44_25_10195.jpg', 2), ('/mnt/data/13062025/03/44/image_13062025_03_44_14_10205.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/46/image_13062025_03_47_04_10228.jpg', '/mnt/data/13062025/03/46/image_13062025_03_46_54_9991.jpg', '/mnt/data/13062025/03/44/image_13062025_03_44_44_8972.jpg', '/mnt/data/13062025/03/44/image_13062025_03_44_35_10157.jpg', '/mnt/data/13062025/03/44/image_13062025_03_44_25_10195.jpg', '/mnt/data/13062025/03/44/image_13062025_03_44_14_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/46/image_13062025_03_47_04_10228.jpg', '/mnt/data/13062025/03/46/image_13062025_03_46_54_9991.jpg', '/mnt/data/13062025/03/44/image_13062025_03_44_44_8972.jpg', '/mnt/data/13062025/03/44/image_13062025_03_44_35_10157.jpg', '/mnt/data/13062025/03/44/image_13062025_03_44_25_10195.jpg', '/mnt/data/13062025/03/44/image_13062025_03_44_14_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/46/image_13062025_03_47_04_10228.jpg
/mnt/data/13062025/03/46/image_13062025_03_46_54_9991.jpg
/mnt/data/13062025/03/44/image_13062025_03_44_44_8972.jpg
/mnt/data/13062025/03/44/image_13062025_03_44_35_10157.jpg
/mnt/data/13062025/03/44/image_13062025_03_44_25_10195.jpg
/mnt/data/13062025/03/44/image_13062025_03_44_14_10205.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 11.88196349143982 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-07 23:16:02.477192
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/46/image_13062025_03_47_04_10228.jpg', 2), ('/mnt/data/13062025/03/46/image_13062025_03_46_54_9991.jpg', 2), ('/mnt/data/13062025/03/44/image_13062025_03_44_44_8972.jpg', 2), ('/mnt/data/13062025/03/44/image_13062025_03_44_35_10157.jpg', 2), ('/mnt/data/13062025/03/44/image_13062025_03_44_25_10195.jpg', 2), ('/mnt/data/13062025/03/44/image_13062025_03_44_14_10205.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/46/image_13062025_03_47_04_10228.jpg', '/mnt/data/13062025/03/46/image_13062025_03_46_54_9991.jpg', '/mnt/data/13062025/03/44/image_13062025_03_44_44_8972.jpg', '/mnt/data/13062025/03/44/image_13062025_03_44_35_10157.jpg', '/mnt/data/13062025/03/44/image_13062025_03_44_25_10195.jpg', '/mnt/data/13062025/03/44/image_13062025_03_44_14_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/46/image_13062025_03_47_04_10228.jpg', '/mnt/data/13062025/03/46/image_13062025_03_46_54_9991.jpg', '/mnt/data/13062025/03/44/image_13062025_03_44_44_8972.jpg', '/mnt/data/13062025/03/44/image_13062025_03_44_35_10157.jpg', '/mnt/data/13062025/03/44/image_13062025_03_44_25_10195.jpg', '/mnt/data/13062025/03/44/image_13062025_03_44_14_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/46/image_13062025_03_47_04_10228.jpg
/mnt/data/13062025/03/46/image_13062025_03_46_54_9991.jpg
/mnt/data/13062025/03/44/image_13062025_03_44_44_8972.jpg
/mnt/data/13062025/03/44/image_13062025_03_44_35_10157.jpg
/mnt/data/13062025/03/44/image_13062025_03_44_25_10195.jpg
/mnt/data/13062025/03/44/image_13062025_03_44_14_10205.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":["1375766312","1375766191","1375765984","1375766532","1375766085","1375766418"],"photo_ids_order":["1375765984","1375766085","1375766191","1375766312","1375766418","1375766532"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/b322adf615398fd7a2799ac2678bfcc3.jpg","text":"TemporaryFile(/tmp/multipartBody7004839225719427145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601450590,"filename":"image_13062025_03_44_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/7/86266edafd8adc60def2cbe8e0bad342.jpg","text":"TemporaryFile(/tmp/multipartBody4016802053074027787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601450590,"filename":"image_13062025_03_44_44_8972.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/23ef2a43aaba8467ef6ccf7d497f4cc7.jpg","text":"TemporaryFile(/tmp/multipartBody8141283551633728581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601450590,"filename":"image_13062025_03_47_04_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/7/15c8c81a4b35528b3b6be44ffe0ef3dd.jpg","text":"TemporaryFile(/tmp/multipartBody7598792051708973248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601450590,"filename":"image_13062025_03_44_14_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/7/7f00b278980d23b4477d14e88980a1ec.jpg","text":"TemporaryFile(/tmp/multipartBody1820505671367838024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601450590,"filename":"image_13062025_03_46_54_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/7/0ed7009fb92198b1c973bb747d2642a4.jpg","text":"TemporaryFile(/tmp/multipartBody8942053921114973491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601450590,"filename":"image_13062025_03_44_25_10195.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375766191","file1":"1375766085","file0":"1375765984","file4":"1375766418","file5":"1375766532","file3":"1375766312"},"map_files_photo_id_array":[{"photo_id":"1375766532","filename":"file5"},{"photo_id":"1375766191","filename":"file2"},{"photo_id":"1375766418","filename":"file4"},{"photo_id":"1375766085","filename":"file1"},{"photo_id":"1375765984","filename":"file0"},{"photo_id":"1375766312","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375766312":["hashtag1","hashtag2"]},{"1375766191":["hashtag1","hashtag2"]},{"1375765984":["hashtag1","hashtag2"]},{"1375766532":["hashtag1","hashtag2"]},{"1375766085":["hashtag1","hashtag2"]},{"1375766418":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375766312, 1375766191, 1375765984, 1375766532, 1375766085, 1375766418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.03526091575623 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:18:02.429635
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/43/image_13062025_03_44_04_10341.jpg', 2), ('/mnt/data/13062025/03/43/image_13062025_03_43_45_10289.jpg', 2), ('/mnt/data/13062025/03/43/image_13062025_03_43_35_10184.jpg', 2), ('/mnt/data/13062025/03/43/image_13062025_03_43_24_10162.jpg', 2), ('/mnt/data/13062025/03/43/image_13062025_03_43_14_10123.jpg', 2), ('/mnt/data/13062025/03/42/image_13062025_03_43_04_10130.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/43/image_13062025_03_44_04_10341.jpg', '/mnt/data/13062025/03/43/image_13062025_03_43_45_10289.jpg', '/mnt/data/13062025/03/43/image_13062025_03_43_35_10184.jpg', '/mnt/data/13062025/03/43/image_13062025_03_43_24_10162.jpg', '/mnt/data/13062025/03/43/image_13062025_03_43_14_10123.jpg', '/mnt/data/13062025/03/42/image_13062025_03_43_04_10130.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/43/image_13062025_03_44_04_10341.jpg', '/mnt/data/13062025/03/43/image_13062025_03_43_45_10289.jpg', '/mnt/data/13062025/03/43/image_13062025_03_43_35_10184.jpg', '/mnt/data/13062025/03/43/image_13062025_03_43_24_10162.jpg', '/mnt/data/13062025/03/43/image_13062025_03_43_14_10123.jpg', '/mnt/data/13062025/03/42/image_13062025_03_43_04_10130.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/43/image_13062025_03_44_04_10341.jpg
/mnt/data/13062025/03/43/image_13062025_03_43_45_10289.jpg
/mnt/data/13062025/03/43/image_13062025_03_43_35_10184.jpg
/mnt/data/13062025/03/43/image_13062025_03_43_24_10162.jpg
/mnt/data/13062025/03/43/image_13062025_03_43_14_10123.jpg
/mnt/data/13062025/03/42/image_13062025_03_43_04_10130.jpg
uploaded 0 photos
time to upload: 30.42309021949768 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:19:03.196732
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/43/image_13062025_03_44_04_10341.jpg', 2), ('/mnt/data/13062025/03/43/image_13062025_03_43_45_10289.jpg', 2), ('/mnt/data/13062025/03/43/image_13062025_03_43_35_10184.jpg', 2), ('/mnt/data/13062025/03/43/image_13062025_03_43_24_10162.jpg', 2), ('/mnt/data/13062025/03/43/image_13062025_03_43_14_10123.jpg', 2), ('/mnt/data/13062025/03/42/image_13062025_03_43_04_10130.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/43/image_13062025_03_44_04_10341.jpg', '/mnt/data/13062025/03/43/image_13062025_03_43_45_10289.jpg', '/mnt/data/13062025/03/43/image_13062025_03_43_35_10184.jpg', '/mnt/data/13062025/03/43/image_13062025_03_43_24_10162.jpg', '/mnt/data/13062025/03/43/image_13062025_03_43_14_10123.jpg', '/mnt/data/13062025/03/42/image_13062025_03_43_04_10130.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/43/image_13062025_03_44_04_10341.jpg', '/mnt/data/13062025/03/43/image_13062025_03_43_45_10289.jpg', '/mnt/data/13062025/03/43/image_13062025_03_43_35_10184.jpg', '/mnt/data/13062025/03/43/image_13062025_03_43_24_10162.jpg', '/mnt/data/13062025/03/43/image_13062025_03_43_14_10123.jpg', '/mnt/data/13062025/03/42/image_13062025_03_43_04_10130.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/43/image_13062025_03_44_04_10341.jpg
/mnt/data/13062025/03/43/image_13062025_03_43_45_10289.jpg
/mnt/data/13062025/03/43/image_13062025_03_43_35_10184.jpg
/mnt/data/13062025/03/43/image_13062025_03_43_24_10162.jpg
/mnt/data/13062025/03/43/image_13062025_03_43_14_10123.jpg
/mnt/data/13062025/03/42/image_13062025_03_43_04_10130.jpg
uploaded 0 photos
time to upload: 30.355706930160522 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:20:02.339272
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/43/image_13062025_03_44_04_10341.jpg', 2), ('/mnt/data/13062025/03/43/image_13062025_03_43_45_10289.jpg', 2), ('/mnt/data/13062025/03/43/image_13062025_03_43_35_10184.jpg', 2), ('/mnt/data/13062025/03/43/image_13062025_03_43_24_10162.jpg', 2), ('/mnt/data/13062025/03/43/image_13062025_03_43_14_10123.jpg', 2), ('/mnt/data/13062025/03/42/image_13062025_03_43_04_10130.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/43/image_13062025_03_44_04_10341.jpg', '/mnt/data/13062025/03/43/image_13062025_03_43_45_10289.jpg', '/mnt/data/13062025/03/43/image_13062025_03_43_35_10184.jpg', '/mnt/data/13062025/03/43/image_13062025_03_43_24_10162.jpg', '/mnt/data/13062025/03/43/image_13062025_03_43_14_10123.jpg', '/mnt/data/13062025/03/42/image_13062025_03_43_04_10130.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/43/image_13062025_03_44_04_10341.jpg', '/mnt/data/13062025/03/43/image_13062025_03_43_45_10289.jpg', '/mnt/data/13062025/03/43/image_13062025_03_43_35_10184.jpg', '/mnt/data/13062025/03/43/image_13062025_03_43_24_10162.jpg', '/mnt/data/13062025/03/43/image_13062025_03_43_14_10123.jpg', '/mnt/data/13062025/03/42/image_13062025_03_43_04_10130.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/43/image_13062025_03_44_04_10341.jpg
/mnt/data/13062025/03/43/image_13062025_03_43_45_10289.jpg
/mnt/data/13062025/03/43/image_13062025_03_43_35_10184.jpg
/mnt/data/13062025/03/43/image_13062025_03_43_24_10162.jpg
/mnt/data/13062025/03/43/image_13062025_03_43_14_10123.jpg
/mnt/data/13062025/03/42/image_13062025_03_43_04_10130.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":["1375768188","1375768099","1375768153","1375768096","1375768255","1375768120"],"photo_ids_order":["1375768096","1375768099","1375768120","1375768153","1375768188","1375768255"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/e56b98a0898dd89034966e92f7317002.jpg","text":"TemporaryFile(/tmp/multipartBody4785962792286059776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601688332,"filename":"image_13062025_03_43_14_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/7/59993f6802b6a6fa45841cef6ff678ab.jpg","text":"TemporaryFile(/tmp/multipartBody3137217646158410492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601688332,"filename":"image_13062025_03_43_45_10289.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/4604bc4c789e52e39644d3ad7dfad3b7.jpg","text":"TemporaryFile(/tmp/multipartBody6031836291758522950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601688332,"filename":"image_13062025_03_43_24_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/7/c25505cfb8b42189e777b50dbcdf4745.jpg","text":"TemporaryFile(/tmp/multipartBody7844023215760524575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601688332,"filename":"image_13062025_03_44_04_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/7/8486fc8a10743cf62523ee4aba6855b9.jpg","text":"TemporaryFile(/tmp/multipartBody898187256079861459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601688332,"filename":"image_13062025_03_43_04_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/7/b43e8d1c9fb4729e9d51c6a9604dd1f9.jpg","text":"TemporaryFile(/tmp/multipartBody7586157489977841244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601688332,"filename":"image_13062025_03_43_35_10184.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375768120","file1":"1375768099","file0":"1375768096","file4":"1375768188","file5":"1375768255","file3":"1375768153"},"map_files_photo_id_array":[{"photo_id":"1375768255","filename":"file5"},{"photo_id":"1375768120","filename":"file2"},{"photo_id":"1375768188","filename":"file4"},{"photo_id":"1375768099","filename":"file1"},{"photo_id":"1375768096","filename":"file0"},{"photo_id":"1375768153","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375768188":["hashtag1","hashtag2"]},{"1375768099":["hashtag1","hashtag2"]},{"1375768153":["hashtag1","hashtag2"]},{"1375768096":["hashtag1","hashtag2"]},{"1375768255":["hashtag1","hashtag2"]},{"1375768120":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375768188, 1375768099, 1375768153, 1375768096, 1375768255, 1375768120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.66364312171936 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:22:02.261162
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/42/image_13062025_03_42_54_10093.jpg', 2), ('/mnt/data/13062025/03/42/image_13062025_03_42_44_10044.jpg', 2), ('/mnt/data/13062025/03/42/image_13062025_03_42_34_9959.jpg', 2), ('/mnt/data/13062025/03/42/image_13062025_03_42_24_9947.jpg', 2), ('/mnt/data/13062025/03/42/image_13062025_03_42_14_9956.jpg', 2), ('/mnt/data/13062025/03/41/image_13062025_03_42_04_10058.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/42/image_13062025_03_42_54_10093.jpg', '/mnt/data/13062025/03/42/image_13062025_03_42_44_10044.jpg', '/mnt/data/13062025/03/42/image_13062025_03_42_34_9959.jpg', '/mnt/data/13062025/03/42/image_13062025_03_42_24_9947.jpg', '/mnt/data/13062025/03/42/image_13062025_03_42_14_9956.jpg', '/mnt/data/13062025/03/41/image_13062025_03_42_04_10058.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/42/image_13062025_03_42_54_10093.jpg', '/mnt/data/13062025/03/42/image_13062025_03_42_44_10044.jpg', '/mnt/data/13062025/03/42/image_13062025_03_42_34_9959.jpg', '/mnt/data/13062025/03/42/image_13062025_03_42_24_9947.jpg', '/mnt/data/13062025/03/42/image_13062025_03_42_14_9956.jpg', '/mnt/data/13062025/03/41/image_13062025_03_42_04_10058.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/42/image_13062025_03_42_54_10093.jpg
/mnt/data/13062025/03/42/image_13062025_03_42_44_10044.jpg
/mnt/data/13062025/03/42/image_13062025_03_42_34_9959.jpg
/mnt/data/13062025/03/42/image_13062025_03_42_24_9947.jpg
/mnt/data/13062025/03/42/image_13062025_03_42_14_9956.jpg
/mnt/data/13062025/03/41/image_13062025_03_42_04_10058.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375769373","1375769196","1375769070","1375769124","1375769258","1375769488"],"photo_ids_order":["1375769070","1375769124","1375769196","1375769258","1375769373","1375769488"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/4d262895d2b6069db787748eda02078d.jpg","text":"TemporaryFile(/tmp/multipartBody5285472825860958128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601797690,"filename":"image_13062025_03_42_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/7/bdc6c57f284905aee59ceec4eafd0a3f.jpg","text":"TemporaryFile(/tmp/multipartBody6174954355134406486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601797690,"filename":"image_13062025_03_42_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/7/bec0b7625c711336cbfa4ec00345520c.jpg","text":"TemporaryFile(/tmp/multipartBody7598977536960443797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601797690,"filename":"image_13062025_03_42_54_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/7/be7d6626a9468e1533a2121dbe36419e.jpg","text":"TemporaryFile(/tmp/multipartBody4996723624268821808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601797690,"filename":"image_13062025_03_42_44_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/7/09a0126cfee3f593452f1039a24e1b2b.jpg","text":"TemporaryFile(/tmp/multipartBody471329266324893165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601797690,"filename":"image_13062025_03_42_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/7/3cac577951efca19199a72c3046d4b06.jpg","text":"TemporaryFile(/tmp/multipartBody3232129291181444333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754601797690,"filename":"image_13062025_03_42_04_10058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375769196","file1":"1375769124","file0":"1375769070","file4":"1375769373","file5":"1375769488","file3":"1375769258"},"map_files_photo_id_array":[{"photo_id":"1375769488","filename":"file5"},{"photo_id":"1375769196","filename":"file2"},{"photo_id":"1375769373","filename":"file4"},{"photo_id":"1375769124","filename":"file1"},{"photo_id":"1375769070","filename":"file0"},{"photo_id":"1375769258","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375769373":["hashtag1","hashtag2"]},{"1375769196":["hashtag1","hashtag2"]},{"1375769070":["hashtag1","hashtag2"]},{"1375769124":["hashtag1","hashtag2"]},{"1375769258":["hashtag1","hashtag2"]},{"1375769488":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375769373, 1375769196, 1375769070, 1375769124, 1375769258, 1375769488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.552040576934814 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:23:03.045856
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/41/image_13062025_03_41_54_9981.jpg', 2), ('/mnt/data/13062025/03/41/image_13062025_03_41_44_9970.jpg', 2), ('/mnt/data/13062025/03/41/image_13062025_03_41_34_10004.jpg', 2), ('/mnt/data/13062025/03/41/image_13062025_03_41_24_9986.jpg', 2), ('/mnt/data/13062025/03/41/image_13062025_03_41_14_9938.jpg', 2), ('/mnt/data/13062025/03/40/image_13062025_03_41_04_9956.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/41/image_13062025_03_41_54_9981.jpg', '/mnt/data/13062025/03/41/image_13062025_03_41_44_9970.jpg', '/mnt/data/13062025/03/41/image_13062025_03_41_34_10004.jpg', '/mnt/data/13062025/03/41/image_13062025_03_41_24_9986.jpg', '/mnt/data/13062025/03/41/image_13062025_03_41_14_9938.jpg', '/mnt/data/13062025/03/40/image_13062025_03_41_04_9956.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/41/image_13062025_03_41_54_9981.jpg', '/mnt/data/13062025/03/41/image_13062025_03_41_44_9970.jpg', '/mnt/data/13062025/03/41/image_13062025_03_41_34_10004.jpg', '/mnt/data/13062025/03/41/image_13062025_03_41_24_9986.jpg', '/mnt/data/13062025/03/41/image_13062025_03_41_14_9938.jpg', '/mnt/data/13062025/03/40/image_13062025_03_41_04_9956.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/41/image_13062025_03_41_54_9981.jpg
/mnt/data/13062025/03/41/image_13062025_03_41_44_9970.jpg
/mnt/data/13062025/03/41/image_13062025_03_41_34_10004.jpg
/mnt/data/13062025/03/41/image_13062025_03_41_24_9986.jpg
/mnt/data/13062025/03/41/image_13062025_03_41_14_9938.jpg
/mnt/data/13062025/03/40/image_13062025_03_41_04_9956.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 130.11828422546387 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-07 23:26:03.022323
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/41/image_13062025_03_41_54_9981.jpg', 2), ('/mnt/data/13062025/03/41/image_13062025_03_41_44_9970.jpg', 2), ('/mnt/data/13062025/03/41/image_13062025_03_41_34_10004.jpg', 2), ('/mnt/data/13062025/03/41/image_13062025_03_41_24_9986.jpg', 2), ('/mnt/data/13062025/03/41/image_13062025_03_41_14_9938.jpg', 2), ('/mnt/data/13062025/03/40/image_13062025_03_41_04_9956.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/41/image_13062025_03_41_54_9981.jpg', '/mnt/data/13062025/03/41/image_13062025_03_41_44_9970.jpg', '/mnt/data/13062025/03/41/image_13062025_03_41_34_10004.jpg', '/mnt/data/13062025/03/41/image_13062025_03_41_24_9986.jpg', '/mnt/data/13062025/03/41/image_13062025_03_41_14_9938.jpg', '/mnt/data/13062025/03/40/image_13062025_03_41_04_9956.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/41/image_13062025_03_41_54_9981.jpg', '/mnt/data/13062025/03/41/image_13062025_03_41_44_9970.jpg', '/mnt/data/13062025/03/41/image_13062025_03_41_34_10004.jpg', '/mnt/data/13062025/03/41/image_13062025_03_41_24_9986.jpg', '/mnt/data/13062025/03/41/image_13062025_03_41_14_9938.jpg', '/mnt/data/13062025/03/40/image_13062025_03_41_04_9956.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/41/image_13062025_03_41_54_9981.jpg
/mnt/data/13062025/03/41/image_13062025_03_41_44_9970.jpg
/mnt/data/13062025/03/41/image_13062025_03_41_34_10004.jpg
/mnt/data/13062025/03/41/image_13062025_03_41_24_9986.jpg
/mnt/data/13062025/03/41/image_13062025_03_41_14_9938.jpg
/mnt/data/13062025/03/40/image_13062025_03_41_04_9956.jpg
 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-07 23:28:02.886453
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/41/image_13062025_03_41_54_9981.jpg', 2), ('/mnt/data/13062025/03/41/image_13062025_03_41_44_9970.jpg', 2), ('/mnt/data/13062025/03/41/image_13062025_03_41_34_10004.jpg', 2), ('/mnt/data/13062025/03/41/image_13062025_03_41_24_9986.jpg', 2), ('/mnt/data/13062025/03/41/image_13062025_03_41_14_9938.jpg', 2), ('/mnt/data/13062025/03/40/image_13062025_03_41_04_9956.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/41/image_13062025_03_41_54_9981.jpg', '/mnt/data/13062025/03/41/image_13062025_03_41_44_9970.jpg', '/mnt/data/13062025/03/41/image_13062025_03_41_34_10004.jpg', '/mnt/data/13062025/03/41/image_13062025_03_41_24_9986.jpg', '/mnt/data/13062025/03/41/image_13062025_03_41_14_9938.jpg', '/mnt/data/13062025/03/40/image_13062025_03_41_04_9956.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/41/image_13062025_03_41_54_9981.jpg', '/mnt/data/13062025/03/41/image_13062025_03_41_44_9970.jpg', '/mnt/data/13062025/03/41/image_13062025_03_41_34_10004.jpg', '/mnt/data/13062025/03/41/image_13062025_03_41_24_9986.jpg', '/mnt/data/13062025/03/41/image_13062025_03_41_14_9938.jpg', '/mnt/data/13062025/03/40/image_13062025_03_41_04_9956.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/41/image_13062025_03_41_54_9981.jpg
/mnt/data/13062025/03/41/image_13062025_03_41_44_9970.jpg
/mnt/data/13062025/03/41/image_13062025_03_41_34_10004.jpg
/mnt/data/13062025/03/41/image_13062025_03_41_24_9986.jpg
/mnt/data/13062025/03/41/image_13062025_03_41_14_9938.jpg
/mnt/data/13062025/03/40/image_13062025_03_41_04_9956.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375771041","1375771029","1375771038","1375771031","1375771036","1375771033"],"photo_ids_order":["1375771029","1375771031","1375771033","1375771036","1375771038","1375771041"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/16d1568ff6ec0704de8fcd6981e4169e.jpg","text":"TemporaryFile(/tmp/multipartBody1773956523082585451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602156039,"filename":"image_13062025_03_41_04_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/7/ef23b5650d6ae906a24d2fa0571035c0.jpg","text":"TemporaryFile(/tmp/multipartBody232642375447973346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602156039,"filename":"image_13062025_03_41_54_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/7/ef7eb050f843a8ec415a09c4f206bda9.jpg","text":"TemporaryFile(/tmp/multipartBody1230284888528243496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602156039,"filename":"image_13062025_03_41_14_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/7/1eb1b980fba9194495f42fe174228aad.jpg","text":"TemporaryFile(/tmp/multipartBody3467181248739448412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602156039,"filename":"image_13062025_03_41_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/7/ee3a6cf91a8ba3a8fdfeadfce30053a2.jpg","text":"TemporaryFile(/tmp/multipartBody8537333421530395377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602156039,"filename":"image_13062025_03_41_24_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/7/20fe524f6cdd2745b30b248fa92613b7.jpg","text":"TemporaryFile(/tmp/multipartBody2628941334443387607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602156039,"filename":"image_13062025_03_41_34_10004.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375771033","file1":"1375771031","file0":"1375771029","file4":"1375771038","file5":"1375771041","file3":"1375771036"},"map_files_photo_id_array":[{"photo_id":"1375771041","filename":"file5"},{"photo_id":"1375771033","filename":"file2"},{"photo_id":"1375771038","filename":"file4"},{"photo_id":"1375771031","filename":"file1"},{"photo_id":"1375771029","filename":"file0"},{"photo_id":"1375771036","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375771041":["hashtag1","hashtag2"]},{"1375771029":["hashtag1","hashtag2"]},{"1375771038":["hashtag1","hashtag2"]},{"1375771031":["hashtag1","hashtag2"]},{"1375771036":["hashtag1","hashtag2"]},{"1375771033":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375771041, 1375771029, 1375771038, 1375771031, 1375771036, 1375771033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.397605895996094 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:29:03.159680
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/40/image_13062025_03_40_54_9977.jpg', 2), ('/mnt/data/13062025/03/36/image_13062025_03_36_24_10100.jpg', 2), ('/mnt/data/13062025/03/36/image_13062025_03_36_14_10003.jpg', 2), ('/mnt/data/13062025/03/35/image_13062025_03_36_04_10145.jpg', 2), ('/mnt/data/13062025/03/35/image_13062025_03_35_54_9979.jpg', 2), ('/mnt/data/13062025/03/35/image_13062025_03_35_44_9980.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/40/image_13062025_03_40_54_9977.jpg', '/mnt/data/13062025/03/36/image_13062025_03_36_24_10100.jpg', '/mnt/data/13062025/03/36/image_13062025_03_36_14_10003.jpg', '/mnt/data/13062025/03/35/image_13062025_03_36_04_10145.jpg', '/mnt/data/13062025/03/35/image_13062025_03_35_54_9979.jpg', '/mnt/data/13062025/03/35/image_13062025_03_35_44_9980.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/40/image_13062025_03_40_54_9977.jpg', '/mnt/data/13062025/03/36/image_13062025_03_36_24_10100.jpg', '/mnt/data/13062025/03/36/image_13062025_03_36_14_10003.jpg', '/mnt/data/13062025/03/35/image_13062025_03_36_04_10145.jpg', '/mnt/data/13062025/03/35/image_13062025_03_35_54_9979.jpg', '/mnt/data/13062025/03/35/image_13062025_03_35_44_9980.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/40/image_13062025_03_40_54_9977.jpg
/mnt/data/13062025/03/36/image_13062025_03_36_24_10100.jpg
/mnt/data/13062025/03/36/image_13062025_03_36_14_10003.jpg
/mnt/data/13062025/03/35/image_13062025_03_36_04_10145.jpg
/mnt/data/13062025/03/35/image_13062025_03_35_54_9979.jpg
/mnt/data/13062025/03/35/image_13062025_03_35_44_9980.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":["1375771061","1375771070","1375771064","1375771073","1375771067","1375771075"],"photo_ids_order":["1375771061","1375771064","1375771067","1375771070","1375771073","1375771075"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/0fcf51b8f28dfa8b00ca5abdb7f9525d.jpg","text":"TemporaryFile(/tmp/multipartBody2381693514779159743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602221628,"filename":"image_13062025_03_40_54_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/7/c86f2f3d58d7a235b0fa647984e60b8a.jpg","text":"TemporaryFile(/tmp/multipartBody4168421523956290497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602221628,"filename":"image_13062025_03_36_04_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/7/becf788afcb32c8bf50a0f57d984acbc.jpg","text":"TemporaryFile(/tmp/multipartBody40521924739227386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602221628,"filename":"image_13062025_03_36_24_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/7/0972fdafa1c4d5b82aa21be5209f38fa.jpg","text":"TemporaryFile(/tmp/multipartBody3638483834216619280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602221628,"filename":"image_13062025_03_35_54_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/7/d7ff1a905c0b054e8fe901f1fae0027b.jpg","text":"TemporaryFile(/tmp/multipartBody4079432472923168639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602221628,"filename":"image_13062025_03_36_14_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/7/1b08fe6ec578271b21ff448ac9f3b364.jpg","text":"TemporaryFile(/tmp/multipartBody4740955149311364200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602221628,"filename":"image_13062025_03_35_44_9980.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375771067","file1":"1375771064","file0":"1375771061","file4":"1375771073","file5":"1375771075","file3":"1375771070"},"map_files_photo_id_array":[{"photo_id":"1375771075","filename":"file5"},{"photo_id":"1375771067","filename":"file2"},{"photo_id":"1375771073","filename":"file4"},{"photo_id":"1375771064","filename":"file1"},{"photo_id":"1375771061","filename":"file0"},{"photo_id":"1375771070","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375771061":["hashtag1","hashtag2"]},{"1375771070":["hashtag1","hashtag2"]},{"1375771064":["hashtag1","hashtag2"]},{"1375771073":["hashtag1","hashtag2"]},{"1375771067":["hashtag1","hashtag2"]},{"1375771075":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375771061, 1375771070, 1375771064, 1375771073, 1375771067, 1375771075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.10183644294739 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:31:02.872332
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/35/image_13062025_03_35_34_9911.jpg', 2), ('/mnt/data/13062025/03/35/image_13062025_03_35_24_10127.jpg', 2), ('/mnt/data/13062025/03/35/image_13062025_03_35_14_10052.jpg', 2), ('/mnt/data/13062025/03/34/image_13062025_03_35_04_10137.jpg', 2), ('/mnt/data/13062025/03/34/image_13062025_03_34_54_10212.jpg', 2), ('/mnt/data/13062025/03/34/image_13062025_03_34_44_8900.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/35/image_13062025_03_35_34_9911.jpg', '/mnt/data/13062025/03/35/image_13062025_03_35_24_10127.jpg', '/mnt/data/13062025/03/35/image_13062025_03_35_14_10052.jpg', '/mnt/data/13062025/03/34/image_13062025_03_35_04_10137.jpg', '/mnt/data/13062025/03/34/image_13062025_03_34_54_10212.jpg', '/mnt/data/13062025/03/34/image_13062025_03_34_44_8900.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/35/image_13062025_03_35_34_9911.jpg', '/mnt/data/13062025/03/35/image_13062025_03_35_24_10127.jpg', '/mnt/data/13062025/03/35/image_13062025_03_35_14_10052.jpg', '/mnt/data/13062025/03/34/image_13062025_03_35_04_10137.jpg', '/mnt/data/13062025/03/34/image_13062025_03_34_54_10212.jpg', '/mnt/data/13062025/03/34/image_13062025_03_34_44_8900.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/35/image_13062025_03_35_34_9911.jpg
/mnt/data/13062025/03/35/image_13062025_03_35_24_10127.jpg
/mnt/data/13062025/03/35/image_13062025_03_35_14_10052.jpg
/mnt/data/13062025/03/34/image_13062025_03_35_04_10137.jpg
/mnt/data/13062025/03/34/image_13062025_03_34_54_10212.jpg
/mnt/data/13062025/03/34/image_13062025_03_34_44_8900.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375771152","1375771134","1375771186","1375771177","1375771162","1375771129"],"photo_ids_order":["1375771129","1375771134","1375771152","1375771162","1375771177","1375771186"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/9ded830adcd7f660c8fa77cbaf9e1b35.jpg","text":"TemporaryFile(/tmp/multipartBody7931597207073527326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602337321,"filename":"image_13062025_03_35_14_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/7/c4720625f113f3ef7cee26cb1565bbd9.jpg","text":"TemporaryFile(/tmp/multipartBody1283947195965651379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602337321,"filename":"image_13062025_03_35_24_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/7/97cbac05c2fe67ce17a8cb4f18acbf91.jpg","text":"TemporaryFile(/tmp/multipartBody1928486448541246517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602337321,"filename":"image_13062025_03_34_44_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/7/a61c1a8772179adf89685ad66481f4f9.jpg","text":"TemporaryFile(/tmp/multipartBody7605978017545282156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602337321,"filename":"image_13062025_03_34_54_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/7/c33e6fff53a9aedaf69e71d670460a1e.jpg","text":"TemporaryFile(/tmp/multipartBody3287851653180418208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602337321,"filename":"image_13062025_03_35_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/7/ecf8a1ce1ee9089fa278ff8e15c6cd94.jpg","text":"TemporaryFile(/tmp/multipartBody4563166600593543602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602337321,"filename":"image_13062025_03_35_34_9911.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375771152","file1":"1375771134","file0":"1375771129","file4":"1375771177","file5":"1375771186","file3":"1375771162"},"map_files_photo_id_array":[{"photo_id":"1375771186","filename":"file5"},{"photo_id":"1375771152","filename":"file2"},{"photo_id":"1375771177","filename":"file4"},{"photo_id":"1375771134","filename":"file1"},{"photo_id":"1375771129","filename":"file0"},{"photo_id":"1375771162","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375771152":["hashtag1","hashtag2"]},{"1375771134":["hashtag1","hashtag2"]},{"1375771186":["hashtag1","hashtag2"]},{"1375771177":["hashtag1","hashtag2"]},{"1375771162":["hashtag1","hashtag2"]},{"1375771129":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375771152, 1375771134, 1375771186, 1375771177, 1375771162, 1375771129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.711222410202026 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:32:02.944505
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/34/image_13062025_03_34_35_10066.jpg', 2), ('/mnt/data/13062025/03/34/image_13062025_03_34_25_10074.jpg', 2), ('/mnt/data/13062025/03/34/image_13062025_03_34_15_9964.jpg', 2), ('/mnt/data/13062025/03/33/image_13062025_03_34_04_10274.jpg', 2), ('/mnt/data/13062025/03/33/image_13062025_03_33_54_10093.jpg', 2), ('/mnt/data/13062025/03/33/image_13062025_03_33_44_10100.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/34/image_13062025_03_34_35_10066.jpg', '/mnt/data/13062025/03/34/image_13062025_03_34_25_10074.jpg', '/mnt/data/13062025/03/34/image_13062025_03_34_15_9964.jpg', '/mnt/data/13062025/03/33/image_13062025_03_34_04_10274.jpg', '/mnt/data/13062025/03/33/image_13062025_03_33_54_10093.jpg', '/mnt/data/13062025/03/33/image_13062025_03_33_44_10100.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/34/image_13062025_03_34_35_10066.jpg', '/mnt/data/13062025/03/34/image_13062025_03_34_25_10074.jpg', '/mnt/data/13062025/03/34/image_13062025_03_34_15_9964.jpg', '/mnt/data/13062025/03/33/image_13062025_03_34_04_10274.jpg', '/mnt/data/13062025/03/33/image_13062025_03_33_54_10093.jpg', '/mnt/data/13062025/03/33/image_13062025_03_33_44_10100.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/34/image_13062025_03_34_35_10066.jpg
/mnt/data/13062025/03/34/image_13062025_03_34_25_10074.jpg
/mnt/data/13062025/03/34/image_13062025_03_34_15_9964.jpg
/mnt/data/13062025/03/33/image_13062025_03_34_04_10274.jpg
/mnt/data/13062025/03/33/image_13062025_03_33_54_10093.jpg
/mnt/data/13062025/03/33/image_13062025_03_33_44_10100.jpg
uploaded 0 photos
time to upload: 30.41146969795227 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:33:02.766387
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/34/image_13062025_03_34_35_10066.jpg', 2), ('/mnt/data/13062025/03/34/image_13062025_03_34_25_10074.jpg', 2), ('/mnt/data/13062025/03/34/image_13062025_03_34_15_9964.jpg', 2), ('/mnt/data/13062025/03/33/image_13062025_03_34_04_10274.jpg', 2), ('/mnt/data/13062025/03/33/image_13062025_03_33_54_10093.jpg', 2), ('/mnt/data/13062025/03/33/image_13062025_03_33_44_10100.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/34/image_13062025_03_34_35_10066.jpg', '/mnt/data/13062025/03/34/image_13062025_03_34_25_10074.jpg', '/mnt/data/13062025/03/34/image_13062025_03_34_15_9964.jpg', '/mnt/data/13062025/03/33/image_13062025_03_34_04_10274.jpg', '/mnt/data/13062025/03/33/image_13062025_03_33_54_10093.jpg', '/mnt/data/13062025/03/33/image_13062025_03_33_44_10100.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/34/image_13062025_03_34_35_10066.jpg', '/mnt/data/13062025/03/34/image_13062025_03_34_25_10074.jpg', '/mnt/data/13062025/03/34/image_13062025_03_34_15_9964.jpg', '/mnt/data/13062025/03/33/image_13062025_03_34_04_10274.jpg', '/mnt/data/13062025/03/33/image_13062025_03_33_54_10093.jpg', '/mnt/data/13062025/03/33/image_13062025_03_33_44_10100.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/34/image_13062025_03_34_35_10066.jpg
/mnt/data/13062025/03/34/image_13062025_03_34_25_10074.jpg
/mnt/data/13062025/03/34/image_13062025_03_34_15_9964.jpg
/mnt/data/13062025/03/33/image_13062025_03_34_04_10274.jpg
/mnt/data/13062025/03/33/image_13062025_03_33_54_10093.jpg
/mnt/data/13062025/03/33/image_13062025_03_33_44_10100.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375771263","1375771251","1375771256","1375771259","1375771247","1375771261"],"photo_ids_order":["1375771247","1375771251","1375771256","1375771259","1375771261","1375771263"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/2d6027313217bb05226aee43b05c6538.jpg","text":"TemporaryFile(/tmp/multipartBody2150866717367952536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602461116,"filename":"image_13062025_03_33_44_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/7/c1c8d70db43e37dc4a840edc4c5b00db.jpg","text":"TemporaryFile(/tmp/multipartBody2009348393799367828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602461116,"filename":"image_13062025_03_34_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/7/0fa843060a88ddb2f704e940519d353c.jpg","text":"TemporaryFile(/tmp/multipartBody4186509170780471110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602461116,"filename":"image_13062025_03_34_15_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/7/f7d23daba668e1ed3b647c6c3f7470b4.jpg","text":"TemporaryFile(/tmp/multipartBody7803398710169587124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602461116,"filename":"image_13062025_03_34_04_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/7/1cd554c2f7ebb8cbdbbb21793df28eab.jpg","text":"TemporaryFile(/tmp/multipartBody6793162682234078530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602461116,"filename":"image_13062025_03_34_35_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/7/8718c3ca56d43d47c5af01a9d3e6ed38.jpg","text":"TemporaryFile(/tmp/multipartBody175011275274274169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602461116,"filename":"image_13062025_03_33_54_10093.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375771256","file1":"1375771251","file0":"1375771247","file4":"1375771261","file5":"1375771263","file3":"1375771259"},"map_files_photo_id_array":[{"photo_id":"1375771263","filename":"file5"},{"photo_id":"1375771256","filename":"file2"},{"photo_id":"1375771261","filename":"file4"},{"photo_id":"1375771251","filename":"file1"},{"photo_id":"1375771247","filename":"file0"},{"photo_id":"1375771259","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375771263":["hashtag1","hashtag2"]},{"1375771251":["hashtag1","hashtag2"]},{"1375771256":["hashtag1","hashtag2"]},{"1375771259":["hashtag1","hashtag2"]},{"1375771247":["hashtag1","hashtag2"]},{"1375771261":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375771263, 1375771251, 1375771256, 1375771259, 1375771247, 1375771261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.851346254348755 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:34:02.983203
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/33/image_13062025_03_33_34_10142.jpg', 2), ('/mnt/data/13062025/03/33/image_13062025_03_33_24_10116.jpg', 2), ('/mnt/data/13062025/03/33/image_13062025_03_33_14_10080.jpg', 2), ('/mnt/data/13062025/03/32/image_13062025_03_33_04_10139.jpg', 2), ('/mnt/data/13062025/03/32/image_13062025_03_32_54_8884.jpg', 2), ('/mnt/data/13062025/03/32/image_13062025_03_32_45_10064.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/33/image_13062025_03_33_34_10142.jpg', '/mnt/data/13062025/03/33/image_13062025_03_33_24_10116.jpg', '/mnt/data/13062025/03/33/image_13062025_03_33_14_10080.jpg', '/mnt/data/13062025/03/32/image_13062025_03_33_04_10139.jpg', '/mnt/data/13062025/03/32/image_13062025_03_32_54_8884.jpg', '/mnt/data/13062025/03/32/image_13062025_03_32_45_10064.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/33/image_13062025_03_33_34_10142.jpg', '/mnt/data/13062025/03/33/image_13062025_03_33_24_10116.jpg', '/mnt/data/13062025/03/33/image_13062025_03_33_14_10080.jpg', '/mnt/data/13062025/03/32/image_13062025_03_33_04_10139.jpg', '/mnt/data/13062025/03/32/image_13062025_03_32_54_8884.jpg', '/mnt/data/13062025/03/32/image_13062025_03_32_45_10064.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/33/image_13062025_03_33_34_10142.jpg
/mnt/data/13062025/03/33/image_13062025_03_33_24_10116.jpg
/mnt/data/13062025/03/33/image_13062025_03_33_14_10080.jpg
/mnt/data/13062025/03/32/image_13062025_03_33_04_10139.jpg
/mnt/data/13062025/03/32/image_13062025_03_32_54_8884.jpg
/mnt/data/13062025/03/32/image_13062025_03_32_45_10064.jpg
uploaded 0 photos
time to upload: 30.444552183151245 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:35:02.779627
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/33/image_13062025_03_33_34_10142.jpg', 2), ('/mnt/data/13062025/03/33/image_13062025_03_33_24_10116.jpg', 2), ('/mnt/data/13062025/03/33/image_13062025_03_33_14_10080.jpg', 2), ('/mnt/data/13062025/03/32/image_13062025_03_33_04_10139.jpg', 2), ('/mnt/data/13062025/03/32/image_13062025_03_32_54_8884.jpg', 2), ('/mnt/data/13062025/03/32/image_13062025_03_32_45_10064.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/33/image_13062025_03_33_34_10142.jpg', '/mnt/data/13062025/03/33/image_13062025_03_33_24_10116.jpg', '/mnt/data/13062025/03/33/image_13062025_03_33_14_10080.jpg', '/mnt/data/13062025/03/32/image_13062025_03_33_04_10139.jpg', '/mnt/data/13062025/03/32/image_13062025_03_32_54_8884.jpg', '/mnt/data/13062025/03/32/image_13062025_03_32_45_10064.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/33/image_13062025_03_33_34_10142.jpg', '/mnt/data/13062025/03/33/image_13062025_03_33_24_10116.jpg', '/mnt/data/13062025/03/33/image_13062025_03_33_14_10080.jpg', '/mnt/data/13062025/03/32/image_13062025_03_33_04_10139.jpg', '/mnt/data/13062025/03/32/image_13062025_03_32_54_8884.jpg', '/mnt/data/13062025/03/32/image_13062025_03_32_45_10064.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/33/image_13062025_03_33_34_10142.jpg
/mnt/data/13062025/03/33/image_13062025_03_33_24_10116.jpg
/mnt/data/13062025/03/33/image_13062025_03_33_14_10080.jpg
/mnt/data/13062025/03/32/image_13062025_03_33_04_10139.jpg
/mnt/data/13062025/03/32/image_13062025_03_32_54_8884.jpg
/mnt/data/13062025/03/32/image_13062025_03_32_45_10064.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":["1375771299","1375771329","1375771316","1375771342","1375771339","1375771306"],"photo_ids_order":["1375771299","1375771306","1375771316","1375771329","1375771339","1375771342"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/99405f4603312ec7fb94bd732361f4a3.jpg","text":"TemporaryFile(/tmp/multipartBody200521350155688514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602584500,"filename":"image_13062025_03_33_34_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/7/21e544367dfd13938769906c2994fd37.jpg","text":"TemporaryFile(/tmp/multipartBody4139760436268299554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602584500,"filename":"image_13062025_03_33_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/7/7089aab1cf0f5fd80101401b4c976931.jpg","text":"TemporaryFile(/tmp/multipartBody1758817761402285082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602584500,"filename":"image_13062025_03_33_14_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/7/994a094095ba83fff01450b42a17f01e.jpg","text":"TemporaryFile(/tmp/multipartBody2258406456972193944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602584500,"filename":"image_13062025_03_32_45_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/7/db24ad43147aecc482a9e53a0c5c880c.jpg","text":"TemporaryFile(/tmp/multipartBody2148541296239578972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602584500,"filename":"image_13062025_03_32_54_8884.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/6180d4f49ebb396e1c7fb0e44e6bee19.jpg","text":"TemporaryFile(/tmp/multipartBody1725370265829117458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602584500,"filename":"image_13062025_03_33_24_10116.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375771316","file1":"1375771306","file0":"1375771299","file4":"1375771339","file5":"1375771342","file3":"1375771329"},"map_files_photo_id_array":[{"photo_id":"1375771342","filename":"file5"},{"photo_id":"1375771316","filename":"file2"},{"photo_id":"1375771339","filename":"file4"},{"photo_id":"1375771306","filename":"file1"},{"photo_id":"1375771299","filename":"file0"},{"photo_id":"1375771329","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375771299":["hashtag1","hashtag2"]},{"1375771329":["hashtag1","hashtag2"]},{"1375771316":["hashtag1","hashtag2"]},{"1375771342":["hashtag1","hashtag2"]},{"1375771339":["hashtag1","hashtag2"]},{"1375771306":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375771299, 1375771329, 1375771316, 1375771342, 1375771339, 1375771306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.127198934555054 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:37:02.646096
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/32/image_13062025_03_32_35_10062.jpg', 2), ('/mnt/data/13062025/03/32/image_13062025_03_32_25_10017.jpg', 2), ('/mnt/data/13062025/03/32/image_13062025_03_32_15_10042.jpg', 2), ('/mnt/data/13062025/03/31/image_13062025_03_31_44_10123.jpg', 2), ('/mnt/data/13062025/03/30/image_13062025_03_30_34_9958.jpg', 2), ('/mnt/data/13062025/03/30/image_13062025_03_30_24_9983.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/32/image_13062025_03_32_35_10062.jpg', '/mnt/data/13062025/03/32/image_13062025_03_32_25_10017.jpg', '/mnt/data/13062025/03/32/image_13062025_03_32_15_10042.jpg', '/mnt/data/13062025/03/31/image_13062025_03_31_44_10123.jpg', '/mnt/data/13062025/03/30/image_13062025_03_30_34_9958.jpg', '/mnt/data/13062025/03/30/image_13062025_03_30_24_9983.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/32/image_13062025_03_32_35_10062.jpg', '/mnt/data/13062025/03/32/image_13062025_03_32_25_10017.jpg', '/mnt/data/13062025/03/32/image_13062025_03_32_15_10042.jpg', '/mnt/data/13062025/03/31/image_13062025_03_31_44_10123.jpg', '/mnt/data/13062025/03/30/image_13062025_03_30_34_9958.jpg', '/mnt/data/13062025/03/30/image_13062025_03_30_24_9983.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/32/image_13062025_03_32_35_10062.jpg
/mnt/data/13062025/03/32/image_13062025_03_32_25_10017.jpg
/mnt/data/13062025/03/32/image_13062025_03_32_15_10042.jpg
/mnt/data/13062025/03/31/image_13062025_03_31_44_10123.jpg
/mnt/data/13062025/03/30/image_13062025_03_30_34_9958.jpg
/mnt/data/13062025/03/30/image_13062025_03_30_24_9983.jpg
uploaded 0 photos
time to upload: 30.426980018615723 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:38:02.732089
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/32/image_13062025_03_32_35_10062.jpg', 2), ('/mnt/data/13062025/03/32/image_13062025_03_32_25_10017.jpg', 2), ('/mnt/data/13062025/03/32/image_13062025_03_32_15_10042.jpg', 2), ('/mnt/data/13062025/03/31/image_13062025_03_31_44_10123.jpg', 2), ('/mnt/data/13062025/03/30/image_13062025_03_30_34_9958.jpg', 2), ('/mnt/data/13062025/03/30/image_13062025_03_30_24_9983.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/32/image_13062025_03_32_35_10062.jpg', '/mnt/data/13062025/03/32/image_13062025_03_32_25_10017.jpg', '/mnt/data/13062025/03/32/image_13062025_03_32_15_10042.jpg', '/mnt/data/13062025/03/31/image_13062025_03_31_44_10123.jpg', '/mnt/data/13062025/03/30/image_13062025_03_30_34_9958.jpg', '/mnt/data/13062025/03/30/image_13062025_03_30_24_9983.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/32/image_13062025_03_32_35_10062.jpg', '/mnt/data/13062025/03/32/image_13062025_03_32_25_10017.jpg', '/mnt/data/13062025/03/32/image_13062025_03_32_15_10042.jpg', '/mnt/data/13062025/03/31/image_13062025_03_31_44_10123.jpg', '/mnt/data/13062025/03/30/image_13062025_03_30_34_9958.jpg', '/mnt/data/13062025/03/30/image_13062025_03_30_24_9983.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/32/image_13062025_03_32_35_10062.jpg
/mnt/data/13062025/03/32/image_13062025_03_32_25_10017.jpg
/mnt/data/13062025/03/32/image_13062025_03_32_15_10042.jpg
/mnt/data/13062025/03/31/image_13062025_03_31_44_10123.jpg
/mnt/data/13062025/03/30/image_13062025_03_30_34_9958.jpg
/mnt/data/13062025/03/30/image_13062025_03_30_24_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":["1375771493","1375771475","1375771480","1375771483","1375771486","1375771488"],"photo_ids_order":["1375771475","1375771480","1375771483","1375771486","1375771488","1375771493"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/569224e3801ba7ce2510cbd1ad881750.jpg","text":"TemporaryFile(/tmp/multipartBody8360313606818155437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602763349,"filename":"image_13062025_03_30_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/7/ae27b3ff85584866e25c29f0389b9411.jpg","text":"TemporaryFile(/tmp/multipartBody2125507648630366810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602763349,"filename":"image_13062025_03_32_35_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/7/364b08d4a4c5f2d6ecca224e7db6b73b.jpg","text":"TemporaryFile(/tmp/multipartBody3198246217101370528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602763349,"filename":"image_13062025_03_32_25_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/7/86a1db2be19cdf228325c51f49e6c68e.jpg","text":"TemporaryFile(/tmp/multipartBody1491917793166561734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602763349,"filename":"image_13062025_03_32_15_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/7/00c4689ff03f4bec4ce3224fb22f80fc.jpg","text":"TemporaryFile(/tmp/multipartBody3255168455585111186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602763349,"filename":"image_13062025_03_31_44_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/7/4139d5d7f7e81c877f2a8622acc21d22.jpg","text":"TemporaryFile(/tmp/multipartBody2565947707929110904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602763349,"filename":"image_13062025_03_30_34_9958.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375771483","file1":"1375771480","file0":"1375771475","file4":"1375771488","file5":"1375771493","file3":"1375771486"},"map_files_photo_id_array":[{"photo_id":"1375771493","filename":"file5"},{"photo_id":"1375771483","filename":"file2"},{"photo_id":"1375771488","filename":"file4"},{"photo_id":"1375771480","filename":"file1"},{"photo_id":"1375771475","filename":"file0"},{"photo_id":"1375771486","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375771493":["hashtag1","hashtag2"]},{"1375771475":["hashtag1","hashtag2"]},{"1375771480":["hashtag1","hashtag2"]},{"1375771483":["hashtag1","hashtag2"]},{"1375771486":["hashtag1","hashtag2"]},{"1375771488":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375771493, 1375771475, 1375771480, 1375771483, 1375771486, 1375771488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.44892883300781 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:40:02.685795
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/30/image_13062025_03_30_14_9979.jpg', 2), ('/mnt/data/13062025/03/29/image_13062025_03_30_04_10432.jpg', 2), ('/mnt/data/13062025/03/29/image_13062025_03_29_45_10191.jpg', 2), ('/mnt/data/13062025/03/28/image_13062025_03_28_34_8953.jpg', 2), ('/mnt/data/13062025/03/28/image_13062025_03_28_15_10168.jpg', 2), ('/mnt/data/13062025/03/27/image_13062025_03_28_04_10292.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/30/image_13062025_03_30_14_9979.jpg', '/mnt/data/13062025/03/29/image_13062025_03_30_04_10432.jpg', '/mnt/data/13062025/03/29/image_13062025_03_29_45_10191.jpg', '/mnt/data/13062025/03/28/image_13062025_03_28_34_8953.jpg', '/mnt/data/13062025/03/28/image_13062025_03_28_15_10168.jpg', '/mnt/data/13062025/03/27/image_13062025_03_28_04_10292.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/30/image_13062025_03_30_14_9979.jpg', '/mnt/data/13062025/03/29/image_13062025_03_30_04_10432.jpg', '/mnt/data/13062025/03/29/image_13062025_03_29_45_10191.jpg', '/mnt/data/13062025/03/28/image_13062025_03_28_34_8953.jpg', '/mnt/data/13062025/03/28/image_13062025_03_28_15_10168.jpg', '/mnt/data/13062025/03/27/image_13062025_03_28_04_10292.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/30/image_13062025_03_30_14_9979.jpg
/mnt/data/13062025/03/29/image_13062025_03_30_04_10432.jpg
/mnt/data/13062025/03/29/image_13062025_03_29_45_10191.jpg
/mnt/data/13062025/03/28/image_13062025_03_28_34_8953.jpg
/mnt/data/13062025/03/28/image_13062025_03_28_15_10168.jpg
/mnt/data/13062025/03/27/image_13062025_03_28_04_10292.jpg
uploaded 0 photos
time to upload: 30.434271812438965 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:41:02.348321
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/30/image_13062025_03_30_14_9979.jpg', 2), ('/mnt/data/13062025/03/29/image_13062025_03_30_04_10432.jpg', 2), ('/mnt/data/13062025/03/29/image_13062025_03_29_45_10191.jpg', 2), ('/mnt/data/13062025/03/28/image_13062025_03_28_34_8953.jpg', 2), ('/mnt/data/13062025/03/28/image_13062025_03_28_15_10168.jpg', 2), ('/mnt/data/13062025/03/27/image_13062025_03_28_04_10292.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/30/image_13062025_03_30_14_9979.jpg', '/mnt/data/13062025/03/29/image_13062025_03_30_04_10432.jpg', '/mnt/data/13062025/03/29/image_13062025_03_29_45_10191.jpg', '/mnt/data/13062025/03/28/image_13062025_03_28_34_8953.jpg', '/mnt/data/13062025/03/28/image_13062025_03_28_15_10168.jpg', '/mnt/data/13062025/03/27/image_13062025_03_28_04_10292.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/30/image_13062025_03_30_14_9979.jpg', '/mnt/data/13062025/03/29/image_13062025_03_30_04_10432.jpg', '/mnt/data/13062025/03/29/image_13062025_03_29_45_10191.jpg', '/mnt/data/13062025/03/28/image_13062025_03_28_34_8953.jpg', '/mnt/data/13062025/03/28/image_13062025_03_28_15_10168.jpg', '/mnt/data/13062025/03/27/image_13062025_03_28_04_10292.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/30/image_13062025_03_30_14_9979.jpg
/mnt/data/13062025/03/29/image_13062025_03_30_04_10432.jpg
/mnt/data/13062025/03/29/image_13062025_03_29_45_10191.jpg
/mnt/data/13062025/03/28/image_13062025_03_28_34_8953.jpg
/mnt/data/13062025/03/28/image_13062025_03_28_15_10168.jpg
/mnt/data/13062025/03/27/image_13062025_03_28_04_10292.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":["1375771626","1375771640","1375771622","1375771675","1375771666","1375771630"],"photo_ids_order":["1375771622","1375771626","1375771630","1375771640","1375771666","1375771675"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/5d932b9aa4bdac32b015b1e88b376281.jpg","text":"TemporaryFile(/tmp/multipartBody7305259439208806152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602941730,"filename":"image_13062025_03_30_04_10432.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/d0b3f3a64bfb499133f0db8885ea5187.jpg","text":"TemporaryFile(/tmp/multipartBody2097336565831415720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602941730,"filename":"image_13062025_03_28_34_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/7/3846c3d400ca786d0ca4927344456123.jpg","text":"TemporaryFile(/tmp/multipartBody6917202548880706206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602941730,"filename":"image_13062025_03_30_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/7/7d9ab3370ae184ce057ada95a4ce7b2c.jpg","text":"TemporaryFile(/tmp/multipartBody8541894477706874535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602941730,"filename":"image_13062025_03_28_04_10292.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/2d3a155e030e44519765a35b7d369c6a.jpg","text":"TemporaryFile(/tmp/multipartBody185635001668196348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602941730,"filename":"image_13062025_03_28_15_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/7/a8931d02f55aa4f70eed64508ff82c6a.jpg","text":"TemporaryFile(/tmp/multipartBody9082455688789813778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754602941730,"filename":"image_13062025_03_29_45_10191.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375771630","file1":"1375771626","file0":"1375771622","file4":"1375771666","file5":"1375771675","file3":"1375771640"},"map_files_photo_id_array":[{"photo_id":"1375771675","filename":"file5"},{"photo_id":"1375771630","filename":"file2"},{"photo_id":"1375771666","filename":"file4"},{"photo_id":"1375771626","filename":"file1"},{"photo_id":"1375771622","filename":"file0"},{"photo_id":"1375771640","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375771626":["hashtag1","hashtag2"]},{"1375771640":["hashtag1","hashtag2"]},{"1375771622":["hashtag1","hashtag2"]},{"1375771675":["hashtag1","hashtag2"]},{"1375771666":["hashtag1","hashtag2"]},{"1375771630":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375771626, 1375771640, 1375771622, 1375771675, 1375771666, 1375771630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.56413125991821 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:43:03.186395
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/27/image_13062025_03_27_54_10127.jpg', 2), ('/mnt/data/13062025/03/27/image_13062025_03_27_44_10232.jpg', 2), ('/mnt/data/13062025/03/27/image_13062025_03_27_34_8948.jpg', 2), ('/mnt/data/13062025/03/27/image_13062025_03_27_25_10120.jpg', 2), ('/mnt/data/13062025/03/27/image_13062025_03_27_15_10121.jpg', 2), ('/mnt/data/13062025/03/26/image_13062025_03_27_05_10172.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/27/image_13062025_03_27_54_10127.jpg', '/mnt/data/13062025/03/27/image_13062025_03_27_44_10232.jpg', '/mnt/data/13062025/03/27/image_13062025_03_27_34_8948.jpg', '/mnt/data/13062025/03/27/image_13062025_03_27_25_10120.jpg', '/mnt/data/13062025/03/27/image_13062025_03_27_15_10121.jpg', '/mnt/data/13062025/03/26/image_13062025_03_27_05_10172.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/27/image_13062025_03_27_54_10127.jpg', '/mnt/data/13062025/03/27/image_13062025_03_27_44_10232.jpg', '/mnt/data/13062025/03/27/image_13062025_03_27_34_8948.jpg', '/mnt/data/13062025/03/27/image_13062025_03_27_25_10120.jpg', '/mnt/data/13062025/03/27/image_13062025_03_27_15_10121.jpg', '/mnt/data/13062025/03/26/image_13062025_03_27_05_10172.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/27/image_13062025_03_27_54_10127.jpg
/mnt/data/13062025/03/27/image_13062025_03_27_44_10232.jpg
/mnt/data/13062025/03/27/image_13062025_03_27_34_8948.jpg
/mnt/data/13062025/03/27/image_13062025_03_27_25_10120.jpg
/mnt/data/13062025/03/27/image_13062025_03_27_15_10121.jpg
/mnt/data/13062025/03/26/image_13062025_03_27_05_10172.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":["1375771746","1375771742","1375771739","1375771748","1375771735","1375771744"],"photo_ids_order":["1375771735","1375771739","1375771742","1375771744","1375771746","1375771748"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/1c7eb6323e59c040bcdaa30dc8a686f8.jpg","text":"TemporaryFile(/tmp/multipartBody534052172350454447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603066914,"filename":"image_13062025_03_27_15_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/7/1bff693ad0fc49654017e540947a8ece.jpg","text":"TemporaryFile(/tmp/multipartBody2904321542202267776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603066914,"filename":"image_13062025_03_27_34_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/7/7b4c38b04ebf28816f8aed81320ef816.jpg","text":"TemporaryFile(/tmp/multipartBody4541398574875056596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603066914,"filename":"image_13062025_03_27_44_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/7/ce22d0b411d2d361d5681caf31d794eb.jpg","text":"TemporaryFile(/tmp/multipartBody113422065482319295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603066914,"filename":"image_13062025_03_27_05_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/7/4030e6fe2f5eb075730b7cdfc6eb9d08.jpg","text":"TemporaryFile(/tmp/multipartBody2210132391230865663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603066914,"filename":"image_13062025_03_27_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/7/c67c5290c644cb7bd11279006899d7d7.jpg","text":"TemporaryFile(/tmp/multipartBody2760222295939381790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603066914,"filename":"image_13062025_03_27_25_10120.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375771742","file1":"1375771739","file0":"1375771735","file4":"1375771746","file5":"1375771748","file3":"1375771744"},"map_files_photo_id_array":[{"photo_id":"1375771748","filename":"file5"},{"photo_id":"1375771742","filename":"file2"},{"photo_id":"1375771746","filename":"file4"},{"photo_id":"1375771739","filename":"file1"},{"photo_id":"1375771735","filename":"file0"},{"photo_id":"1375771744","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375771746":["hashtag1","hashtag2"]},{"1375771742":["hashtag1","hashtag2"]},{"1375771739":["hashtag1","hashtag2"]},{"1375771748":["hashtag1","hashtag2"]},{"1375771735":["hashtag1","hashtag2"]},{"1375771744":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375771746, 1375771742, 1375771739, 1375771748, 1375771735, 1375771744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.13014268875122 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:45:02.880223
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/26/image_13062025_03_26_54_10045.jpg', 2), ('/mnt/data/13062025/03/26/image_13062025_03_26_44_9976.jpg', 2), ('/mnt/data/13062025/03/26/image_13062025_03_26_34_10020.jpg', 2), ('/mnt/data/13062025/03/26/image_13062025_03_26_24_10019.jpg', 2), ('/mnt/data/13062025/03/26/image_13062025_03_26_14_9951.jpg', 2), ('/mnt/data/13062025/03/25/image_13062025_03_26_04_10024.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/26/image_13062025_03_26_54_10045.jpg', '/mnt/data/13062025/03/26/image_13062025_03_26_44_9976.jpg', '/mnt/data/13062025/03/26/image_13062025_03_26_34_10020.jpg', '/mnt/data/13062025/03/26/image_13062025_03_26_24_10019.jpg', '/mnt/data/13062025/03/26/image_13062025_03_26_14_9951.jpg', '/mnt/data/13062025/03/25/image_13062025_03_26_04_10024.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/26/image_13062025_03_26_54_10045.jpg', '/mnt/data/13062025/03/26/image_13062025_03_26_44_9976.jpg', '/mnt/data/13062025/03/26/image_13062025_03_26_34_10020.jpg', '/mnt/data/13062025/03/26/image_13062025_03_26_24_10019.jpg', '/mnt/data/13062025/03/26/image_13062025_03_26_14_9951.jpg', '/mnt/data/13062025/03/25/image_13062025_03_26_04_10024.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/26/image_13062025_03_26_54_10045.jpg
/mnt/data/13062025/03/26/image_13062025_03_26_44_9976.jpg
/mnt/data/13062025/03/26/image_13062025_03_26_34_10020.jpg
/mnt/data/13062025/03/26/image_13062025_03_26_24_10019.jpg
/mnt/data/13062025/03/26/image_13062025_03_26_14_9951.jpg
/mnt/data/13062025/03/25/image_13062025_03_26_04_10024.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1375771793","1375771781","1375771784","1375771789","1375771780","1375771782"],"photo_ids_order":["1375771780","1375771781","1375771782","1375771784","1375771789","1375771793"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/cb363c5b52b71902d846c7046dbfb81c.jpg","text":"TemporaryFile(/tmp/multipartBody2437974392522187920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603166314,"filename":"image_13062025_03_26_04_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/7/78e87d144a1c895d867329696d4471b5.jpg","text":"TemporaryFile(/tmp/multipartBody5576058039089825428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603166314,"filename":"image_13062025_03_26_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/7/3be2e15d7b81502400d88f2922232eac.jpg","text":"TemporaryFile(/tmp/multipartBody3639010900750750636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603166314,"filename":"image_13062025_03_26_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/7/b5d1fa8b632d6e21d593772fb36c28c0.jpg","text":"TemporaryFile(/tmp/multipartBody6619271500894581318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603166314,"filename":"image_13062025_03_26_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/7/941f4c43ddc32946fba89867989172a6.jpg","text":"TemporaryFile(/tmp/multipartBody7020968394905342521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603166314,"filename":"image_13062025_03_26_54_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/7/3f835f6f9f88b9362eb58f8487f02369.jpg","text":"TemporaryFile(/tmp/multipartBody7692529920008740469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603166314,"filename":"image_13062025_03_26_34_10020.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375771782","file1":"1375771781","file0":"1375771780","file4":"1375771789","file5":"1375771793","file3":"1375771784"},"map_files_photo_id_array":[{"photo_id":"1375771793","filename":"file5"},{"photo_id":"1375771782","filename":"file2"},{"photo_id":"1375771789","filename":"file4"},{"photo_id":"1375771781","filename":"file1"},{"photo_id":"1375771780","filename":"file0"},{"photo_id":"1375771784","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375771793":["hashtag1","hashtag2"]},{"1375771781":["hashtag1","hashtag2"]},{"1375771784":["hashtag1","hashtag2"]},{"1375771789":["hashtag1","hashtag2"]},{"1375771780":["hashtag1","hashtag2"]},{"1375771782":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375771793, 1375771781, 1375771784, 1375771789, 1375771780, 1375771782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.39914011955261 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:46:02.312067
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/25/image_13062025_03_25_54_9974.jpg', 2), ('/mnt/data/13062025/03/25/image_13062025_03_25_44_9973.jpg', 2), ('/mnt/data/13062025/03/25/image_13062025_03_25_34_9991.jpg', 2), ('/mnt/data/13062025/03/25/image_13062025_03_25_24_9961.jpg', 2), ('/mnt/data/13062025/03/25/image_13062025_03_25_14_9974.jpg', 2), ('/mnt/data/13062025/03/24/image_13062025_03_25_04_10092.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/25/image_13062025_03_25_54_9974.jpg', '/mnt/data/13062025/03/25/image_13062025_03_25_44_9973.jpg', '/mnt/data/13062025/03/25/image_13062025_03_25_34_9991.jpg', '/mnt/data/13062025/03/25/image_13062025_03_25_24_9961.jpg', '/mnt/data/13062025/03/25/image_13062025_03_25_14_9974.jpg', '/mnt/data/13062025/03/24/image_13062025_03_25_04_10092.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/25/image_13062025_03_25_54_9974.jpg', '/mnt/data/13062025/03/25/image_13062025_03_25_44_9973.jpg', '/mnt/data/13062025/03/25/image_13062025_03_25_34_9991.jpg', '/mnt/data/13062025/03/25/image_13062025_03_25_24_9961.jpg', '/mnt/data/13062025/03/25/image_13062025_03_25_14_9974.jpg', '/mnt/data/13062025/03/24/image_13062025_03_25_04_10092.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/25/image_13062025_03_25_54_9974.jpg
/mnt/data/13062025/03/25/image_13062025_03_25_44_9973.jpg
/mnt/data/13062025/03/25/image_13062025_03_25_34_9991.jpg
/mnt/data/13062025/03/25/image_13062025_03_25_24_9961.jpg
/mnt/data/13062025/03/25/image_13062025_03_25_14_9974.jpg
/mnt/data/13062025/03/24/image_13062025_03_25_04_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":["1375771872","1375771868","1375771897","1375771901","1375771891","1375771893"],"photo_ids_order":["1375771868","1375771872","1375771891","1375771893","1375771897","1375771901"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/c29cb50f1bbad7ba2b55dab977b9da24.jpg","text":"TemporaryFile(/tmp/multipartBody5755478170095840612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603247079,"filename":"image_13062025_03_25_44_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/7/c115cdeaa845da5910c61bd4c5bba451.jpg","text":"TemporaryFile(/tmp/multipartBody4517115835298010151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603247079,"filename":"image_13062025_03_25_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/7/6f59fa06425885671f80327e8b7522e9.jpg","text":"TemporaryFile(/tmp/multipartBody6477822198295245509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603247079,"filename":"image_13062025_03_25_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/7/40bdb64b768541df3e894e2ea5c70175.jpg","text":"TemporaryFile(/tmp/multipartBody290700595109661900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603247079,"filename":"image_13062025_03_25_04_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/7/a02e65f78270b66df6eae08d1407c484.jpg","text":"TemporaryFile(/tmp/multipartBody2973177808954086298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603247079,"filename":"image_13062025_03_25_34_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/7/d9d88a5d9d7ffc6c2b24844902328d6a.jpg","text":"TemporaryFile(/tmp/multipartBody6274020616457259507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603247079,"filename":"image_13062025_03_25_24_9961.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375771891","file1":"1375771872","file0":"1375771868","file4":"1375771897","file5":"1375771901","file3":"1375771893"},"map_files_photo_id_array":[{"photo_id":"1375771901","filename":"file5"},{"photo_id":"1375771891","filename":"file2"},{"photo_id":"1375771897","filename":"file4"},{"photo_id":"1375771872","filename":"file1"},{"photo_id":"1375771868","filename":"file0"},{"photo_id":"1375771893","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375771872":["hashtag1","hashtag2"]},{"1375771868":["hashtag1","hashtag2"]},{"1375771897":["hashtag1","hashtag2"]},{"1375771901":["hashtag1","hashtag2"]},{"1375771891":["hashtag1","hashtag2"]},{"1375771893":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375771872, 1375771868, 1375771897, 1375771901, 1375771891, 1375771893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.975802421569824 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:48:02.258454
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/24/image_13062025_03_24_54_9944.jpg', 2), ('/mnt/data/13062025/03/24/image_13062025_03_24_44_9988.jpg', 2), ('/mnt/data/13062025/03/24/image_13062025_03_24_34_9989.jpg', 2), ('/mnt/data/13062025/03/24/image_13062025_03_24_24_9996.jpg', 2), ('/mnt/data/13062025/03/24/image_13062025_03_24_14_10155.jpg', 2), ('/mnt/data/13062025/03/23/image_13062025_03_24_04_10497.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/24/image_13062025_03_24_54_9944.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_44_9988.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_34_9989.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_24_9996.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_14_10155.jpg', '/mnt/data/13062025/03/23/image_13062025_03_24_04_10497.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/24/image_13062025_03_24_54_9944.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_44_9988.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_34_9989.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_24_9996.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_14_10155.jpg', '/mnt/data/13062025/03/23/image_13062025_03_24_04_10497.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/24/image_13062025_03_24_54_9944.jpg
/mnt/data/13062025/03/24/image_13062025_03_24_44_9988.jpg
/mnt/data/13062025/03/24/image_13062025_03_24_34_9989.jpg
/mnt/data/13062025/03/24/image_13062025_03_24_24_9996.jpg
/mnt/data/13062025/03/24/image_13062025_03_24_14_10155.jpg
/mnt/data/13062025/03/23/image_13062025_03_24_04_10497.jpg
uploaded 0 photos
time to upload: 30.40199565887451 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:49:03.145609
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/24/image_13062025_03_24_54_9944.jpg', 2), ('/mnt/data/13062025/03/24/image_13062025_03_24_44_9988.jpg', 2), ('/mnt/data/13062025/03/24/image_13062025_03_24_34_9989.jpg', 2), ('/mnt/data/13062025/03/24/image_13062025_03_24_24_9996.jpg', 2), ('/mnt/data/13062025/03/24/image_13062025_03_24_14_10155.jpg', 2), ('/mnt/data/13062025/03/23/image_13062025_03_24_04_10497.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/24/image_13062025_03_24_54_9944.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_44_9988.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_34_9989.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_24_9996.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_14_10155.jpg', '/mnt/data/13062025/03/23/image_13062025_03_24_04_10497.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/24/image_13062025_03_24_54_9944.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_44_9988.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_34_9989.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_24_9996.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_14_10155.jpg', '/mnt/data/13062025/03/23/image_13062025_03_24_04_10497.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/24/image_13062025_03_24_54_9944.jpg
/mnt/data/13062025/03/24/image_13062025_03_24_44_9988.jpg
/mnt/data/13062025/03/24/image_13062025_03_24_34_9989.jpg
/mnt/data/13062025/03/24/image_13062025_03_24_24_9996.jpg
/mnt/data/13062025/03/24/image_13062025_03_24_14_10155.jpg
/mnt/data/13062025/03/23/image_13062025_03_24_04_10497.jpg
uploaded 0 photos
time to upload: 31.387359380722046 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:50:02.309938
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/24/image_13062025_03_24_54_9944.jpg', 2), ('/mnt/data/13062025/03/24/image_13062025_03_24_44_9988.jpg', 2), ('/mnt/data/13062025/03/24/image_13062025_03_24_34_9989.jpg', 2), ('/mnt/data/13062025/03/24/image_13062025_03_24_24_9996.jpg', 2), ('/mnt/data/13062025/03/24/image_13062025_03_24_14_10155.jpg', 2), ('/mnt/data/13062025/03/23/image_13062025_03_24_04_10497.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/24/image_13062025_03_24_54_9944.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_44_9988.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_34_9989.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_24_9996.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_14_10155.jpg', '/mnt/data/13062025/03/23/image_13062025_03_24_04_10497.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/24/image_13062025_03_24_54_9944.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_44_9988.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_34_9989.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_24_9996.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_14_10155.jpg', '/mnt/data/13062025/03/23/image_13062025_03_24_04_10497.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/24/image_13062025_03_24_54_9944.jpg
/mnt/data/13062025/03/24/image_13062025_03_24_44_9988.jpg
/mnt/data/13062025/03/24/image_13062025_03_24_34_9989.jpg
/mnt/data/13062025/03/24/image_13062025_03_24_24_9996.jpg
/mnt/data/13062025/03/24/image_13062025_03_24_14_10155.jpg
/mnt/data/13062025/03/23/image_13062025_03_24_04_10497.jpg
uploaded 0 photos
time to upload: 30.32324194908142 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-07 23:51:03.097201
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/24/image_13062025_03_24_54_9944.jpg', 2), ('/mnt/data/13062025/03/24/image_13062025_03_24_44_9988.jpg', 2), ('/mnt/data/13062025/03/24/image_13062025_03_24_34_9989.jpg', 2), ('/mnt/data/13062025/03/24/image_13062025_03_24_24_9996.jpg', 2), ('/mnt/data/13062025/03/24/image_13062025_03_24_14_10155.jpg', 2), ('/mnt/data/13062025/03/23/image_13062025_03_24_04_10497.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/24/image_13062025_03_24_54_9944.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_44_9988.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_34_9989.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_24_9996.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_14_10155.jpg', '/mnt/data/13062025/03/23/image_13062025_03_24_04_10497.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/24/image_13062025_03_24_54_9944.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_44_9988.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_34_9989.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_24_9996.jpg', '/mnt/data/13062025/03/24/image_13062025_03_24_14_10155.jpg', '/mnt/data/13062025/03/23/image_13062025_03_24_04_10497.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/24/image_13062025_03_24_54_9944.jpg
/mnt/data/13062025/03/24/image_13062025_03_24_44_9988.jpg
/mnt/data/13062025/03/24/image_13062025_03_24_34_9989.jpg
/mnt/data/13062025/03/24/image_13062025_03_24_24_9996.jpg
/mnt/data/13062025/03/24/image_13062025_03_24_14_10155.jpg
/mnt/data/13062025/03/23/image_13062025_03_24_04_10497.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":["1375772100","1375772096","1375772102","1375772091","1375772094","1375772097"],"photo_ids_order":["1375772091","1375772094","1375772096","1375772097","1375772100","1375772102"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/a60b4ff34bad503f83f7597156cd848a.jpg","text":"TemporaryFile(/tmp/multipartBody725035649048826395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603547093,"filename":"image_13062025_03_24_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/7/1f55daa2a4a005478679964e8ae56fa1.jpg","text":"TemporaryFile(/tmp/multipartBody5423357601864737662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603547093,"filename":"image_13062025_03_24_34_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/7/5efa0ce83d4bd6ae863221f7e0475151.jpg","text":"TemporaryFile(/tmp/multipartBody6210612628446073164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603547093,"filename":"image_13062025_03_24_04_10497.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/ca44e49bd4904cdccc0b0ba4e96604eb.jpg","text":"TemporaryFile(/tmp/multipartBody4179523846893171633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603547093,"filename":"image_13062025_03_24_54_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/7/1d094c42f76aa498dd05545e11143c61.jpg","text":"TemporaryFile(/tmp/multipartBody1015578084939418394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603547093,"filename":"image_13062025_03_24_44_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/7/0df4517c258d1d205ffd6ada7756b33f.jpg","text":"TemporaryFile(/tmp/multipartBody888437732074067179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603547093,"filename":"image_13062025_03_24_24_9996.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375772096","file1":"1375772094","file0":"1375772091","file4":"1375772100","file5":"1375772102","file3":"1375772097"},"map_files_photo_id_array":[{"photo_id":"1375772102","filename":"file5"},{"photo_id":"1375772096","filename":"file2"},{"photo_id":"1375772100","filename":"file4"},{"photo_id":"1375772094","filename":"file1"},{"photo_id":"1375772091","filename":"file0"},{"photo_id":"1375772097","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375772100":["hashtag1","hashtag2"]},{"1375772096":["hashtag1","hashtag2"]},{"1375772102":["hashtag1","hashtag2"]},{"1375772091":["hashtag1","hashtag2"]},{"1375772094":["hashtag1","hashtag2"]},{"1375772097":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375772100, 1375772096, 1375772102, 1375772091, 1375772094, 1375772097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.3743679523468 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:53:03.124056
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/23/image_13062025_03_23_54_9900.jpg', 2), ('/mnt/data/13062025/03/23/image_13062025_03_23_44_10110.jpg', 2), ('/mnt/data/13062025/03/23/image_13062025_03_23_34_8960.jpg', 2), ('/mnt/data/13062025/03/23/image_13062025_03_23_25_10329.jpg', 2), ('/mnt/data/13062025/03/23/image_13062025_03_23_14_10233.jpg', 2), ('/mnt/data/13062025/03/22/image_13062025_03_23_04_10294.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/23/image_13062025_03_23_54_9900.jpg', '/mnt/data/13062025/03/23/image_13062025_03_23_44_10110.jpg', '/mnt/data/13062025/03/23/image_13062025_03_23_34_8960.jpg', '/mnt/data/13062025/03/23/image_13062025_03_23_25_10329.jpg', '/mnt/data/13062025/03/23/image_13062025_03_23_14_10233.jpg', '/mnt/data/13062025/03/22/image_13062025_03_23_04_10294.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/23/image_13062025_03_23_54_9900.jpg', '/mnt/data/13062025/03/23/image_13062025_03_23_44_10110.jpg', '/mnt/data/13062025/03/23/image_13062025_03_23_34_8960.jpg', '/mnt/data/13062025/03/23/image_13062025_03_23_25_10329.jpg', '/mnt/data/13062025/03/23/image_13062025_03_23_14_10233.jpg', '/mnt/data/13062025/03/22/image_13062025_03_23_04_10294.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/23/image_13062025_03_23_54_9900.jpg
/mnt/data/13062025/03/23/image_13062025_03_23_44_10110.jpg
/mnt/data/13062025/03/23/image_13062025_03_23_34_8960.jpg
/mnt/data/13062025/03/23/image_13062025_03_23_25_10329.jpg
/mnt/data/13062025/03/23/image_13062025_03_23_14_10233.jpg
/mnt/data/13062025/03/22/image_13062025_03_23_04_10294.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":["1375772174","1375772177","1375772143","1375772169","1375772160","1375772178"],"photo_ids_order":["1375772143","1375772160","1375772169","1375772174","1375772177","1375772178"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/bd1173d1aa4acd3707f085eb4899922a.jpg","text":"TemporaryFile(/tmp/multipartBody8527098311467217056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603672658,"filename":"image_13062025_03_23_25_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/7/8e103a3c8dc45ec745301f95bea3f27d.jpg","text":"TemporaryFile(/tmp/multipartBody4062309883954616912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603672658,"filename":"image_13062025_03_23_14_10233.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/367d952e125d05ef9294e90a8bd1034f.jpg","text":"TemporaryFile(/tmp/multipartBody2232312258465243730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603672658,"filename":"image_13062025_03_23_54_9900.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/7/171860eec40a4a19d1a10ee94e55d96b.jpg","text":"TemporaryFile(/tmp/multipartBody6420831739886369976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603672658,"filename":"image_13062025_03_23_34_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/7/fe7de2a2dc51cd016d273d9db50f610f.jpg","text":"TemporaryFile(/tmp/multipartBody3639202916599106465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603672658,"filename":"image_13062025_03_23_44_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/7/a3999a6e11fd32e2d3521ab92fc811fb.jpg","text":"TemporaryFile(/tmp/multipartBody4771574251364630910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754603672658,"filename":"image_13062025_03_23_04_10294.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1375772169","file1":"1375772160","file0":"1375772143","file4":"1375772177","file5":"1375772178","file3":"1375772174"},"map_files_photo_id_array":[{"photo_id":"1375772178","filename":"file5"},{"photo_id":"1375772169","filename":"file2"},{"photo_id":"1375772177","filename":"file4"},{"photo_id":"1375772160","filename":"file1"},{"photo_id":"1375772143","filename":"file0"},{"photo_id":"1375772174","filename":"file3"}],"portfolio_id":23924413,"hashtag_by_photo_ids":[{"1375772174":["hashtag1","hashtag2"]},{"1375772177":["hashtag1","hashtag2"]},{"1375772143":["hashtag1","hashtag2"]},{"1375772169":["hashtag1","hashtag2"]},{"1375772160":["hashtag1","hashtag2"]},{"1375772178":["hashtag1","hashtag2"]}],"comms":"Portfolio 23924413 used, photo_id : ArrayBuffer(1375772174, 1375772177, 1375772143, 1375772169, 1375772160, 1375772178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.70933318138123 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:55:02.979251
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/22/image_13062025_03_22_54_10175.jpg', 2), ('/mnt/data/13062025/03/22/image_13062025_03_22_44_9947.jpg', 2), ('/mnt/data/13062025/03/22/image_13062025_03_22_34_9073.jpg', 2), ('/mnt/data/13062025/03/22/image_13062025_03_22_25_10248.jpg', 2), ('/mnt/data/13062025/03/22/image_13062025_03_22_15_10137.jpg', 2), ('/mnt/data/13062025/03/21/image_13062025_03_22_04_10205.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/22/image_13062025_03_22_54_10175.jpg', '/mnt/data/13062025/03/22/image_13062025_03_22_44_9947.jpg', '/mnt/data/13062025/03/22/image_13062025_03_22_34_9073.jpg', '/mnt/data/13062025/03/22/image_13062025_03_22_25_10248.jpg', '/mnt/data/13062025/03/22/image_13062025_03_22_15_10137.jpg', '/mnt/data/13062025/03/21/image_13062025_03_22_04_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/22/image_13062025_03_22_54_10175.jpg', '/mnt/data/13062025/03/22/image_13062025_03_22_44_9947.jpg', '/mnt/data/13062025/03/22/image_13062025_03_22_34_9073.jpg', '/mnt/data/13062025/03/22/image_13062025_03_22_25_10248.jpg', '/mnt/data/13062025/03/22/image_13062025_03_22_15_10137.jpg', '/mnt/data/13062025/03/21/image_13062025_03_22_04_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/22/image_13062025_03_22_54_10175.jpg
/mnt/data/13062025/03/22/image_13062025_03_22_44_9947.jpg
/mnt/data/13062025/03/22/image_13062025_03_22_34_9073.jpg
/mnt/data/13062025/03/22/image_13062025_03_22_25_10248.jpg
/mnt/data/13062025/03/22/image_13062025_03_22_15_10137.jpg
/mnt/data/13062025/03/21/image_13062025_03_22_04_10205.jpg
uploaded 0 photos
time to upload: 30.46534299850464 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:56:03.112145
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/22/image_13062025_03_22_54_10175.jpg', 2), ('/mnt/data/13062025/03/22/image_13062025_03_22_44_9947.jpg', 2), ('/mnt/data/13062025/03/22/image_13062025_03_22_34_9073.jpg', 2), ('/mnt/data/13062025/03/22/image_13062025_03_22_25_10248.jpg', 2), ('/mnt/data/13062025/03/22/image_13062025_03_22_15_10137.jpg', 2), ('/mnt/data/13062025/03/21/image_13062025_03_22_04_10205.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/22/image_13062025_03_22_54_10175.jpg', '/mnt/data/13062025/03/22/image_13062025_03_22_44_9947.jpg', '/mnt/data/13062025/03/22/image_13062025_03_22_34_9073.jpg', '/mnt/data/13062025/03/22/image_13062025_03_22_25_10248.jpg', '/mnt/data/13062025/03/22/image_13062025_03_22_15_10137.jpg', '/mnt/data/13062025/03/21/image_13062025_03_22_04_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/22/image_13062025_03_22_54_10175.jpg', '/mnt/data/13062025/03/22/image_13062025_03_22_44_9947.jpg', '/mnt/data/13062025/03/22/image_13062025_03_22_34_9073.jpg', '/mnt/data/13062025/03/22/image_13062025_03_22_25_10248.jpg', '/mnt/data/13062025/03/22/image_13062025_03_22_15_10137.jpg', '/mnt/data/13062025/03/21/image_13062025_03_22_04_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/22/image_13062025_03_22_54_10175.jpg
/mnt/data/13062025/03/22/image_13062025_03_22_44_9947.jpg
/mnt/data/13062025/03/22/image_13062025_03_22_34_9073.jpg
/mnt/data/13062025/03/22/image_13062025_03_22_25_10248.jpg
/mnt/data/13062025/03/22/image_13062025_03_22_15_10137.jpg
/mnt/data/13062025/03/21/image_13062025_03_22_04_10205.jpg
uploaded 0 photos
time to upload: 30.36745548248291 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-07 23:57:02.679707
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
  port_id : 23924413
  datou_current_id : 3096924
in upload_from_sqlite, uploading in 23924413
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/13062025/03/22/image_13062025_03_22_54_10175.jpg', 2), ('/mnt/data/13062025/03/22/image_13062025_03_22_44_9947.jpg', 2), ('/mnt/data/13062025/03/22/image_13062025_03_22_34_9073.jpg', 2), ('/mnt/data/13062025/03/22/image_13062025_03_22_25_10248.jpg', 2), ('/mnt/data/13062025/03/22/image_13062025_03_22_15_10137.jpg', 2), ('/mnt/data/13062025/03/21/image_13062025_03_22_04_10205.jpg', 2)]
port id,  23924413
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/13062025/03/22/image_13062025_03_22_54_10175.jpg', '/mnt/data/13062025/03/22/image_13062025_03_22_44_9947.jpg', '/mnt/data/13062025/03/22/image_13062025_03_22_34_9073.jpg', '/mnt/data/13062025/03/22/image_13062025_03_22_25_10248.jpg', '/mnt/data/13062025/03/22/image_13062025_03_22_15_10137.jpg', '/mnt/data/13062025/03/21/image_13062025_03_22_04_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/13062025/03/22/image_13062025_03_22_54_10175.jpg', '/mnt/data/13062025/03/22/image_13062025_03_22_44_9947.jpg', '/mnt/data/13062025/03/22/image_13062025_03_22_34_9073.jpg', '/mnt/data/13062025/03/22/image_13062025_03_22_25_10248.jpg', '/mnt/data/13062025/03/22/image_13062025_03_22_15_10137.jpg', '/mnt/data/13062025/03/21/image_13062025_03_22_04_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3096924&datou=0
/mnt/data/13062025/03/22/image_13062025_03_22_54_10175.jpg
/mnt/data/13062025/03/22/image_13062025_03_22_44_9947.jpg
/mnt/data/13062025/03/22/image_13062025_03_22_34_9073.jpg
/mnt/data/13062025/03/22/image_13062025_03_22_25_10248.jpg
/mnt/data/13062025/03/22/image_13062025_03_22_15_10137.jpg
/mnt/data/13062025/03/21/image_13062025_03_22_04_10205.jpg
uploaded 0 photos
time to upload: 30.385143756866455 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
